org.eclipse.emf.converter.ui.contribution.base
Class ModelConverterPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.eclipse.emf.converter.ui.contribution.base.ModelConverterPage
- All Implemented Interfaces:
- IDialogPage, IMessageProvider, IWizardPage, Listener
- Direct Known Subclasses:
- ModelConverterPackagePage, ModelConverterURIPage, ModelExporterOptionsPage
- public abstract class ModelConverterPage
- extends WizardPage
- implements Listener
- Since:
- 2.2.0
|
Method Summary |
protected ConverterUtil.DecodedAction |
decodeAction(Diagnostic diagnostic)
|
void |
dispose()
|
protected void |
doHandleEvent(Event event)
|
protected ModelConverter |
getModelConverter()
|
IWizardPage |
getNextPage()
|
IWizardPage |
getPreviousPage()
|
protected void |
handleDiagnostic(Diagnostic diagnostic)
|
protected void |
handleDiagnostic(Diagnostic diagnostic,
String message,
String dialogTitle,
String dialogMessage)
|
void |
handleEvent(Event event)
|
protected void |
handleNotOKDiagnostic(Diagnostic diagnostic,
ConverterUtil.DecodedAction decodedAction,
String message,
String dialogTitle,
String dialogMessage)
|
protected void |
handleOKDiagnostic(Diagnostic diagnostic,
String message,
String dialogTitle,
String dialogMessage)
|
boolean |
isHandlingEvent()
|
boolean |
isPageComplete()
|
protected void |
pageActivated(boolean firstTime,
int cause)
|
protected void |
pageDeactivated(int cause)
|
void |
setHandlingEvent(boolean handlingEvent)
|
| Methods inherited from class org.eclipse.jface.wizard.WizardPage |
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getShell, getWizard, isCurrentPage, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString |
| Methods inherited from class org.eclipse.jface.dialogs.DialogPage |
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage, setVisible |
CAUSE_UNKNOWN
public static final int CAUSE_UNKNOWN
- See Also:
- Constant Field Values
CAUSE_BACK
public static final int CAUSE_BACK
- See Also:
- Constant Field Values
CAUSE_NEXT
public static final int CAUSE_NEXT
- See Also:
- Constant Field Values
CAUSE_FINISH
public static final int CAUSE_FINISH
- See Also:
- Constant Field Values
CAUSE_CANCEL
public static final int CAUSE_CANCEL
- See Also:
- Constant Field Values
modelConverter
protected ModelConverter modelConverter
neverVisible
protected boolean neverVisible
forwardDirection
protected boolean forwardDirection
handlingEvent
protected boolean handlingEvent
ModelConverterPage
protected ModelConverterPage(ModelConverter modelConverter,
String pageName)
dispose
public void dispose()
- Specified by:
dispose in interface IDialogPage
getModelConverter
protected ModelConverter getModelConverter()
pageActivated
protected void pageActivated(boolean firstTime,
int cause)
pageDeactivated
protected void pageDeactivated(int cause)
getNextPage
public IWizardPage getNextPage()
- Specified by:
getNextPage in interface IWizardPage
getPreviousPage
public IWizardPage getPreviousPage()
- Specified by:
getPreviousPage in interface IWizardPage
isPageComplete
public boolean isPageComplete()
- Specified by:
isPageComplete in interface IWizardPage
isHandlingEvent
public boolean isHandlingEvent()
setHandlingEvent
public void setHandlingEvent(boolean handlingEvent)
handleEvent
public void handleEvent(Event event)
- Specified by:
handleEvent in interface Listener
doHandleEvent
protected void doHandleEvent(Event event)
handleDiagnostic
protected void handleDiagnostic(Diagnostic diagnostic)
handleDiagnostic
protected void handleDiagnostic(Diagnostic diagnostic,
String message,
String dialogTitle,
String dialogMessage)
decodeAction
protected ConverterUtil.DecodedAction decodeAction(Diagnostic diagnostic)
handleOKDiagnostic
protected void handleOKDiagnostic(Diagnostic diagnostic,
String message,
String dialogTitle,
String dialogMessage)
handleNotOKDiagnostic
protected void handleNotOKDiagnostic(Diagnostic diagnostic,
ConverterUtil.DecodedAction decodedAction,
String message,
String dialogTitle,
String dialogMessage)