|
UML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
org.topcased.modeler.uml.sequencediagram.dialogs.LifelineEditDialog
public class LifelineEditDialog
Dialog which will be drawn for the edition of a lifeline.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window |
---|
org.eclipse.jface.window.Window.IExceptionHandler |
Field Summary |
---|
Fields inherited from class org.eclipse.jface.dialogs.Dialog |
---|
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 |
Fields inherited from class org.eclipse.jface.window.Window |
---|
CANCEL, OK |
Constructor Summary | |
---|---|
LifelineEditDialog(org.eclipse.uml2.uml.Lifeline life,
org.eclipse.gef.EditDomain domain,
org.eclipse.swt.widgets.Shell parentShell)
Deprecated. Consructor |
Method Summary | |
---|---|
protected void |
buttonPressed(int buttonId)
Deprecated. Handle the "Create classifer" button |
protected void |
cancelPressed()
Deprecated. Undo the |
protected void |
configureShell(org.eclipse.swt.widgets.Shell newShell)
Deprecated. |
protected void |
createClassifierGroup(org.eclipse.swt.widgets.Composite parent)
Deprecated. Create the view of the list of classifier |
protected org.eclipse.swt.widgets.Control |
createContents(org.eclipse.swt.widgets.Composite parent)
Deprecated. Add updates |
protected org.eclipse.swt.widgets.Control |
createDialogArea(org.eclipse.swt.widgets.Composite parent)
Deprecated. create the area |
protected void |
createNewClassifierGroup(org.eclipse.swt.widgets.Composite parent)
Deprecated. Create the view of the list of classifier |
protected java.util.ArrayList |
filterClassifiers(java.util.ArrayList list,
java.lang.Class clazz)
Deprecated. Filter a list of classifiers : only the instance of the specified class are kept. |
org.eclipse.gef.commands.Command |
getCommand()
Deprecated. Return the command to update the lifeline |
protected void |
okPressed()
Deprecated. Save the viewers datas before the dialogs disposing |
protected java.util.ArrayList |
sortClassifiers(java.util.ArrayList list)
Deprecated. Sort the list of classifiers by their types. |
protected int |
updateClassifierNames()
Deprecated. Update the list of classifier |
Methods inherited from class org.eclipse.jface.dialogs.Dialog |
---|
applyDialogFont, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createButtonBar, createButtonsForButtonBar, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText |
Methods inherited from class org.eclipse.jface.window.Window |
---|
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getLayout, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LifelineEditDialog(org.eclipse.uml2.uml.Lifeline life, org.eclipse.gef.EditDomain domain, org.eclipse.swt.widgets.Shell parentShell)
life
- the lifeline to editdomain
- the edit domainparentShell
- the owning parentMethod Detail |
---|
protected void configureShell(org.eclipse.swt.widgets.Shell newShell)
configureShell
in class org.eclipse.jface.window.Window
Window.configureShell(org.eclipse.swt.widgets.Shell)
protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
createContents
in class org.eclipse.jface.dialogs.Dialog
Window.createContents(org.eclipse.swt.widgets.Composite)
protected void createClassifierGroup(org.eclipse.swt.widgets.Composite parent)
parent
- the owning compositeprotected void createNewClassifierGroup(org.eclipse.swt.widgets.Composite parent)
parent
- the owning compositeprotected int updateClassifierNames()
protected java.util.ArrayList sortClassifiers(java.util.ArrayList list)
list
- the unsorted list of classifiers
protected java.util.ArrayList filterClassifiers(java.util.ArrayList list, java.lang.Class clazz)
list
- the list of classifiersclazz
- the class type to filter
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
createDialogArea
in class org.eclipse.jface.dialogs.Dialog
Dialog.createDialogArea(org.eclipse.swt.widgets.Composite)
protected void buttonPressed(int buttonId)
buttonPressed
in class org.eclipse.jface.dialogs.Dialog
Dialog.buttonPressed(int)
protected void okPressed()
okPressed
in class org.eclipse.jface.dialogs.Dialog
Dialog.okPressed()
protected void cancelPressed()
cancelPressed
in class org.eclipse.jface.dialogs.Dialog
Dialog.cancelPressed()
public org.eclipse.gef.commands.Command getCommand()
|
UML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.