Package com.iizigo.project
Class NewWizardPage
- java.lang.Object
- org.eclipse.jface.dialogs.DialogPage
- org.eclipse.jface.wizard.WizardPage
- com.iizigo.project.NewWizardPage
- All Implemented Interfaces:
java.util.EventListener
,org.eclipse.jface.dialogs.IDialogPage
,org.eclipse.jface.dialogs.IMessageProvider
,org.eclipse.jface.viewers.ISelectionChangedListener
,org.eclipse.jface.wizard.IWizardPage
,org.eclipse.swt.events.ModifyListener
,org.eclipse.swt.internal.SWTEventListener
public class NewWizardPage extends org.eclipse.jface.wizard.WizardPage implements org.eclipse.swt.events.ModifyListener, org.eclipse.jface.viewers.ISelectionChangedListener
The page common page for the new IIZI file wizard.- Author:
- Christopher Mindus
Constructor Summary
Constructors Constructor Description NewWizardPage(NewWizard wizard, java.lang.String pageID, java.lang.String wizardTitle, java.lang.String description, java.lang.Object treeRoot, IPropDesigner root, boolean enableExtends)
Create the wizard.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createControl(org.eclipse.swt.widgets.Composite parent)
Create contents of the wizard.IPropDesigner
getItemContainer()
Gets the item container.java.lang.String
getItemNameAndExtension()
Gets the item name (with correct extension).java.lang.String
getReference()
Gets the current reference of the property to create.boolean
isPageComplete()
Checks if this page is complete.void
modifyText(org.eclipse.swt.events.ModifyEvent e)
Entry has changed.void
selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
Tree selections.void
setVisible(boolean visible)
Methods inherited from class org.eclipse.jface.wizard.WizardPage
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, 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, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage
Constructor Detail
NewWizardPage
public NewWizardPage(NewWizard wizard, java.lang.String pageID, java.lang.String wizardTitle, java.lang.String description, java.lang.Object treeRoot, IPropDesigner root, boolean enableExtends)
Create the wizard.
Method Detail
createControl
public void createControl(org.eclipse.swt.widgets.Composite parent)
Create contents of the wizard.- Specified by:
createControl
in interfaceorg.eclipse.jface.dialogs.IDialogPage
- Parameters:
parent
-
getReference
public java.lang.String getReference()
Gets the current reference of the property to create.
setVisible
public void setVisible(boolean visible)
- Specified by:
setVisible
in interfaceorg.eclipse.jface.dialogs.IDialogPage
- Overrides:
setVisible
in classorg.eclipse.jface.dialogs.DialogPage
modifyText
public void modifyText(org.eclipse.swt.events.ModifyEvent e)
Entry has changed.- Specified by:
modifyText
in interfaceorg.eclipse.swt.events.ModifyListener
getItemContainer
public IPropDesigner getItemContainer()
Gets the item container.
getItemNameAndExtension
public java.lang.String getItemNameAndExtension()
Gets the item name (with correct extension).
selectionChanged
public void selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
Tree selections.- Specified by:
selectionChanged
in interfaceorg.eclipse.jface.viewers.ISelectionChangedListener
- Parameters:
event
-
isPageComplete
public boolean isPageComplete()
Checks if this page is complete.- Specified by:
isPageComplete
in interfaceorg.eclipse.jface.wizard.IWizardPage
- Overrides:
isPageComplete
in classorg.eclipse.jface.wizard.WizardPage