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.ISelectionChangedListenerThe 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 voidcreateControl(org.eclipse.swt.widgets.Composite parent)Create contents of the wizard.IPropDesignergetItemContainer()Gets the item container.java.lang.StringgetItemNameAndExtension()Gets the item name (with correct extension).java.lang.StringgetReference()Gets the current reference of the property to create.booleanisPageComplete()Checks if this page is complete.voidmodifyText(org.eclipse.swt.events.ModifyEvent e)Entry has changed.voidselectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)Tree selections.voidsetVisible(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:
createControlin 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:
setVisiblein interfaceorg.eclipse.jface.dialogs.IDialogPage- Overrides:
setVisiblein classorg.eclipse.jface.dialogs.DialogPage
modifyText
public void modifyText(org.eclipse.swt.events.ModifyEvent e)
Entry has changed.- Specified by:
modifyTextin 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:
selectionChangedin interfaceorg.eclipse.jface.viewers.ISelectionChangedListener- Parameters:
event-
isPageComplete
public boolean isPageComplete()
Checks if this page is complete.- Specified by:
isPageCompletein interfaceorg.eclipse.jface.wizard.IWizardPage- Overrides:
isPageCompletein classorg.eclipse.jface.wizard.WizardPage