List of usage examples for org.eclipse.jface.resource ImageDescriptor createImage
public Image createImage()
From source file:com.astra.ses.spell.gui.dialogs.LongTextDialog.java
License:Open Source License
/*************************************************************************** * Constructor//from w ww .j ava2s .c om * * @param shell * The parent shell **************************************************************************/ public LongTextDialog(Shell shell, String title, String message, String text, boolean infoOnly) { super(shell); // Obtain the image for the dialog icon ImageDescriptor descr = Activator.getImageDescriptor("icons/dlg_exec.png"); m_image = descr.createImage(); m_title = title; m_text = text; m_infoOnly = infoOnly; m_message = message; choice = -1; }
From source file:com.astra.ses.spell.gui.dialogs.MasterShellDialog.java
License:Open Source License
/*************************************************************************** * Constructor//from www. j a va 2s .c o m * * @param shell * The parent shell **************************************************************************/ public MasterShellDialog(Shell shell) { super(shell); if (s_smgr == null) { s_smgr = (IShellManager) ServiceManager.get(IShellManager.class); } // Try to load the shell plugin if available if (s_smgr.haveShell()) { s_smgr.addShellListener(this); } // Obtain the image for the dialog icon ImageDescriptor descr = Activator.getImageDescriptor("icons/dlg_exec.png"); m_image = descr.createImage(); }
From source file:com.astra.ses.spell.gui.dialogs.PrintDialog.java
License:Open Source License
/*************************************************************************** * Constructor/*from www .ja va2 s . c o m*/ * * @param shell * The parent shell **************************************************************************/ public PrintDialog(Shell shell) { super(shell); // Obtain the image for the dialog icon ImageDescriptor descr = Activator.getImageDescriptor("icons/dlg_print.png"); m_image = descr.createImage(); // Obtain the manager handlers if (s_mgr == null) { s_mgr = (ProcedureManager) ServiceManager.get(ProcedureManager.ID); } }
From source file:com.astra.ses.spell.gui.dialogs.PromptDialog.java
License:Open Source License
/*************************************************************************** * Constructor/* www . j av a2 s .c o m*/ * * @param shell * The parent shell **************************************************************************/ public PromptDialog(Shell shell, String procId, String msg, int opt, String[] expected, Future future) { super(shell); // Obtain the image for the dialog icon ImageDescriptor descr = Activator.getImageDescriptor("icons/dlg_question.png"); m_image = descr.createImage(); m_procId = procId; m_msg = msg; m_type = opt; m_future = future; }
From source file:com.astra.ses.spell.gui.dialogs.PropertiesDialog.java
License:Open Source License
/*************************************************************************** * Constructor//from w w w . ja v a 2s . co m * * @param shell * The parent shell **************************************************************************/ public PropertiesDialog(Shell shell, Map<ProcProperties, String> properties) { super(shell); // Obtain the image for the dialog icon ImageDescriptor descr = Activator.getImageDescriptor("icons/dlg_exec.png"); m_image = descr.createImage(); m_properties = properties; }
From source file:com.astra.ses.spell.gui.dialogs.ReleaseInfoDialog.java
License:Open Source License
/*************************************************************************** * Constructor/*from w w w. j a v a 2s .c om*/ * * @param shell * The parent shell **************************************************************************/ public ReleaseInfoDialog(Shell shell, String releaseFilePath) { super(shell); // Obtain the image for the dialog icon ImageDescriptor descr = Activator.getImageDescriptor("icons/dlg_exec.png"); m_image = descr.createImage(); m_releaseFilePath = releaseFilePath; }
From source file:com.astra.ses.spell.gui.dialogs.ScriptDialog.java
License:Open Source License
/*************************************************************************** * Constructor/* w w w . ja v a2 s .co m*/ * * @param shell * The parent shell **************************************************************************/ public ScriptDialog(Shell shell, String procId) { super(shell); // Obtain the image for the dialog icon ImageDescriptor descr = Activator.getImageDescriptor("icons/dlg_question.png"); m_image = descr.createImage(); m_procId = procId; if (s_cfg == null) { s_cfg = (ConfigurationManager) ServiceManager.get(ConfigurationManager.ID); } m_historyIndex = s_history.size(); }
From source file:com.astra.ses.spell.gui.dialogs.ServerFileSaveDialog.java
License:Open Source License
/*************************************************************************** * Constructor//from w ww. j a v a2 s .c o m * * @param shell * The parent shell **************************************************************************/ public ServerFileSaveDialog(Shell shell, DirectoryTree directory) { super(shell); // Obtain the image for the dialog icon ImageDescriptor descr = Activator.getImageDescriptor("icons/dlg_exec.png"); m_image = descr.createImage(); m_tree = directory; m_path = null; }
From source file:com.astra.ses.spell.gui.dialogs.ServerFileSelectionDialog.java
License:Open Source License
/*************************************************************************** * Constructor// w ww .j a va 2s . c o m * * @param shell * The parent shell **************************************************************************/ public ServerFileSelectionDialog(Shell shell, DirectoryTree directory) { super(shell); // Obtain the image for the dialog icon ImageDescriptor descr = Activator.getImageDescriptor("icons/dlg_exec.png"); m_image = descr.createImage(); m_tree = directory; m_selected = null; }
From source file:com.astra.ses.spell.gui.dialogs.StartWithParametersDialog.java
License:Open Source License
/*************************************************************************** * Constructor// w w w . j a va 2s .c om * * @param shell * The parent shell **************************************************************************/ public StartWithParametersDialog(Shell shell) { super(shell); // Obtain the image for the dialog icon ImageDescriptor descr = Activator.getImageDescriptor("icons/dlg_exec.png"); m_image = descr.createImage(); m_argExpression = null; }