public class EditJobDialog
extends org.eclipse.jface.dialogs.TrayDialog
It is the dialog duty to correctly initialise what is displayed based on the parameters passed at instantiation time.
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, dialogArea, DLG_IMG_ERROR, DLG_IMG_HELP, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING, ELLIPSIS| Constructor and Description |
|---|
EditJobDialog(org.eclipse.swt.widgets.Shell parentShell,
java.lang.String title,
ResourcesService resourcesService,
PeopleService peopleService,
SystemWorkbenchService systemWorkbenchService,
Node oldLink,
Node toUpdateNode,
boolean isBackward) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addFilterPanel(org.eclipse.swt.widgets.Composite parent) |
boolean |
close()
Overwrite to close session
|
protected void |
configureShell(org.eclipse.swt.widgets.Shell shell) |
void |
create() |
protected org.eclipse.swt.widgets.Control |
createDialogArea(org.eclipse.swt.widgets.Composite parent) |
protected org.eclipse.swt.widgets.Button |
createLC(org.eclipse.swt.widgets.Composite parent,
java.lang.String label)
Creates label and check box.
|
protected org.eclipse.jface.viewers.TableViewer |
createListPart(org.eclipse.swt.widgets.Composite tableComposite,
org.eclipse.jface.viewers.ILabelProvider labelProvider) |
protected org.eclipse.swt.widgets.Text |
createLT(org.eclipse.swt.widgets.Composite parent,
java.lang.String label)
Creates label and text.
|
protected org.eclipse.swt.graphics.Point |
getInitialSize() |
protected void |
okPressed() |
protected boolean |
performFinish()
Override to provide business specific addition behavior
|
protected NodeIterator |
query(java.lang.String nodeType) |
protected void |
refreshFilteredList(java.lang.String nodeType) |
closeTray, createButtonBar, createHelpControl, getLayout, getTray, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailableapplyDialogFont, buttonPressed, cancelPressed, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, createButton, createButtonsForButtonBar, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getOKButton, initializeBounds, initializeDialogUnits, isResizable, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenTextcanHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManagerpublic EditJobDialog(org.eclipse.swt.widgets.Shell parentShell,
java.lang.String title,
ResourcesService resourcesService,
PeopleService peopleService,
SystemWorkbenchService systemWorkbenchService,
Node oldLink,
Node toUpdateNode,
boolean isBackward)
parentShell - title - peopleService - referencingNode - referencedNode - toSearchNodeType - isBackward - tells if we must remove referenced (if true) or referencing (if
false) nodeprotected boolean performFinish()
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
createDialogArea in class org.eclipse.jface.dialogs.Dialogprotected void okPressed()
okPressed in class org.eclipse.jface.dialogs.Dialogprotected org.eclipse.swt.graphics.Point getInitialSize()
getInitialSize in class org.eclipse.jface.dialogs.Dialogprotected void configureShell(org.eclipse.swt.widgets.Shell shell)
configureShell in class org.eclipse.jface.window.Windowpublic void create()
create in class org.eclipse.jface.dialogs.Dialogpublic boolean close()
close in class org.eclipse.jface.dialogs.TrayDialogprotected org.eclipse.swt.widgets.Text createLT(org.eclipse.swt.widgets.Composite parent,
java.lang.String label)
protected org.eclipse.swt.widgets.Button createLC(org.eclipse.swt.widgets.Composite parent,
java.lang.String label)
protected void addFilterPanel(org.eclipse.swt.widgets.Composite parent)
protected org.eclipse.jface.viewers.TableViewer createListPart(org.eclipse.swt.widgets.Composite tableComposite,
org.eclipse.jface.viewers.ILabelProvider labelProvider)
protected void refreshFilteredList(java.lang.String nodeType)
protected NodeIterator query(java.lang.String nodeType)
Copyright © 2007–2020. All rights reserved.