org.eclipse.emf.importer.ui.contribution.base
Class ModelImporterPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.eclipse.emf.importer.ui.contribution.base.ModelImporterPage
- All Implemented Interfaces:
- IDialogPage, IMessageProvider, IWizardPage, Listener
- Direct Known Subclasses:
- ModelDetailPage, ModelPackagePage
- public abstract class ModelImporterPage
- extends WizardPage
- implements Listener
- Since:
- 2.1.0
Method Summary |
protected ImporterUtil.DecodedAction |
decodeAction(IStatus status)
|
void |
dispose()
|
protected void |
doHandleEvent(Event event)
|
ModelImporter |
getModelImporter()
|
IWizardPage |
getNextPage()
|
IWizardPage |
getPreviousPage()
|
void |
handleEvent(Event event)
|
protected void |
handleNotOKStatus(IStatus status,
ImporterUtil.DecodedAction decodedAction,
String message,
String dialogTitle,
String dialogMessage)
|
protected void |
handleOKStatus(IStatus status,
String message,
String dialogTitle,
String dialogMessage)
|
protected void |
handleStatus(IStatus status)
|
protected void |
handleStatus(IStatus status,
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
modelImporter
protected ModelImporter modelImporter
neverVisible
protected boolean neverVisible
forwardDirection
protected boolean forwardDirection
handlingEvent
protected boolean handlingEvent
ModelImporterPage
public ModelImporterPage(ModelImporter modelImporter,
String pageName)
dispose
public void dispose()
- Specified by:
dispose
in interface IDialogPage
getModelImporter
public ModelImporter getModelImporter()
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)
handleStatus
protected void handleStatus(IStatus status)
handleStatus
protected void handleStatus(IStatus status,
String message,
String dialogTitle,
String dialogMessage)
decodeAction
protected ImporterUtil.DecodedAction decodeAction(IStatus status)
handleOKStatus
protected void handleOKStatus(IStatus status,
String message,
String dialogTitle,
String dialogMessage)
handleNotOKStatus
protected void handleNotOKStatus(IStatus status,
ImporterUtil.DecodedAction decodedAction,
String message,
String dialogTitle,
String dialogMessage)