|
||||||||||
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.eclipse.jface.dialogs.TitleAreaDialog
vocleditor.dialog.ConditionPropertiesDialog
public class ConditionPropertiesDialog
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.TitleAreaDialog |
---|
DLG_IMG_TITLE_BANNER, DLG_IMG_TITLE_ERROR, INFO_MESSAGE, WARNING_MESSAGE |
Fields inherited from class org.eclipse.jface.dialogs.Dialog |
---|
blockedHandler, buttonBar, DLG_IMG_ERROR, 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 | |
---|---|
ConditionPropertiesDialog(org.eclipse.swt.widgets.Shell parentShell,
VOCLModel.Condition condition,
VOCLModel.Constraint constraint,
VOCLModel.NavExp navExp)
Constructs a new ConditionPropertiesDialog |
Method Summary | |
---|---|
VOCLModel.VariableDeclaration |
getLeft()
Returns the left variable. |
boolean |
getLeftPre()
Returns true if the left variable is pre. |
java.lang.String |
getOp()
Returns the operation. |
VOCLModel.VariableDeclaration |
getRight()
Returns the right variable. |
boolean |
getRightPre()
Return true if the right variable is pre. |
java.lang.String |
getValue()
Returns the value. |
void |
modifyText(org.eclipse.swt.events.ModifyEvent e)
implementation of ModifyListener.modifyText() used to show error messages and disable ok button on incomplete input |
void |
widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent event)
Widged default selected listener. |
void |
widgetSelected(org.eclipse.swt.events.SelectionEvent event)
Widged selected listener. |
Methods inherited from class org.eclipse.jface.dialogs.TitleAreaDialog |
---|
setErrorMessage, setMessage, setMessage, setTitle, setTitleAreaColor, setTitleImage |
Methods inherited from class org.eclipse.jface.dialogs.Dialog |
---|
applyDialogFont, close, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, create, getBlockedHandler, getImage, setBlockedHandler, shortenText |
Methods inherited from class org.eclipse.jface.window.Window |
---|
getDefaultImage, getDefaultImages, getDefaultOrientation, getReturnCode, getShell, getWindowManager, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setWindowManager |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConditionPropertiesDialog(org.eclipse.swt.widgets.Shell parentShell, VOCLModel.Condition condition, VOCLModel.Constraint constraint, VOCLModel.NavExp navExp)
parentShell
- parent shell (becomes blocked when this dialog is open)condition
- the Condition
to be editedMethod Detail |
---|
public void modifyText(org.eclipse.swt.events.ModifyEvent e)
modifyText
in interface org.eclipse.swt.events.ModifyListener
public java.lang.String getOp()
public java.lang.String getValue()
public VOCLModel.VariableDeclaration getLeft()
public boolean getLeftPre()
public boolean getRightPre()
public VOCLModel.VariableDeclaration getRight()
public void widgetSelected(org.eclipse.swt.events.SelectionEvent event)
widgetSelected
in interface org.eclipse.swt.events.SelectionListener
SelectionListener.widgetSelected(org.eclipse.swt.events.SelectionEvent)
public void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent event)
widgetDefaultSelected
in interface org.eclipse.swt.events.SelectionListener
SelectionListener.widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |