org.eclipse.gmt.weaver.wizards
Class WeaverThirdWizardDialog
java.lang.Object
org.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
org.eclipse.gmt.weaver.wizards.WeaverThirdWizardDialog
- All Implemented Interfaces:
- org.eclipse.jface.window.IShellProvider
public class WeaverThirdWizardDialog
- extends org.eclipse.jface.dialogs.Dialog
Wizard dialog for the third page
- Since:
- 1.0
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window |
org.eclipse.jface.window.Window.IExceptionHandler |
Fields inherited from class org.eclipse.jface.dialogs.Dialog |
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, dialogArea, DLG_IMG_ERROR, DLG_IMG_HELP, 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 |
WeaverThirdWizardDialog(org.eclipse.swt.widgets.Shell parentShell,
org.eclipse.jface.wizard.WizardPage parent,
java.lang.String projectName,
java.util.List extensionsPanel,
java.lang.String[] wModelRefArray,
java.util.Map modelMap)
Creates a new wizard dialog for add model/metamodel |
Methods inherited from class org.eclipse.jface.dialogs.Dialog |
applyDialogFont, buttonPressed, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createButtonBar, createButtonsForButtonBar, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, isResizable, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText |
Methods inherited from class org.eclipse.jface.window.Window |
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getLayout, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WeaverThirdWizardDialog
public WeaverThirdWizardDialog(org.eclipse.swt.widgets.Shell parentShell,
org.eclipse.jface.wizard.WizardPage parent,
java.lang.String projectName,
java.util.List extensionsPanel,
java.lang.String[] wModelRefArray,
java.util.Map modelMap)
- Creates a new wizard dialog for add model/metamodel
- Parameters:
parentShell
- parent
- extensionsPanel
- the array of extensions woven panelwModelRefArray
- the array of wmodelref we find in metamodel extensions
initDialog
public void initDialog(int index,
WovenModelDescriptor modelDescriptor,
boolean fixedModel)
- Parameters:
index
- name
- panel
- wModelRef
- model
- metamodel
- fixedModel
- false if is a model added with wizard
configureShell
public void configureShell(org.eclipse.swt.widgets.Shell shell)
- Overrides:
configureShell
in class org.eclipse.jface.window.Window
createDialogArea
public org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
- Overrides:
createDialogArea
in class org.eclipse.jface.dialogs.Dialog
okPressed
public void okPressed()
- Overrides:
okPressed
in class org.eclipse.jface.dialogs.Dialog
getAllModelPanel
public java.util.List getAllModelPanel()
- Returns:
- Returns the allModelPanel.
setAllModelPanel
public void setAllModelPanel(java.util.List allModelPanel)
- Parameters:
allModelPanel
- The allModelPanel to set.
getAllWModelRef
public java.lang.String[] getAllWModelRef()
- Returns:
- Returns the allWModelRef.
setAllWModelRef
public void setAllWModelRef(java.lang.String[] allWModelRef)
- Parameters:
allWModelRef
- The allWModelRef to set.
getIndex
public int getIndex()
- Returns:
- Returns the index.
setIndex
public void setIndex(int index)
- Parameters:
index
- The index to set.
getPageParent
public WeaverThirdWizardPage getPageParent()
- Returns:
- Returns the pageParent.
setPageParent
public void setPageParent(WeaverThirdWizardPage pageParent)
- Parameters:
pageParent
- The pageParent to set.
getProjectName
public java.lang.String getProjectName()
- Returns:
- Returns the projectName.
setProjectName
public void setProjectName(java.lang.String projectName)
- Parameters:
projectName
- The projectName to set.
getResourceType
public java.lang.String getResourceType()
- Returns:
- Returns the resourceType.
setResourceType
public void setResourceType(java.lang.String resourceType)
- Parameters:
resourceType
- The resourceType to set.
getWModelRef
public java.lang.String getWModelRef()
- Returns:
- Returns the wModelRef.
setWModelRef
public void setWModelRef(java.lang.String modelRef)
- Parameters:
modelRef
- The wModelRef to set.
getInitModelDescriptor
public WovenModelDescriptor getInitModelDescriptor()
- Returns:
- Returns the initModelDescriptor.
setInitModelDescriptor
public void setInitModelDescriptor(WovenModelDescriptor initModelDescriptor)
- Parameters:
initModelDescriptor
- The initModelDescriptor to set.