org.eclipse.gmt.weaver.wizards
Class WeaverSecondWizardPage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by org.eclipse.gmt.weaver.wizards.WeaverSecondWizardPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

public class WeaverSecondWizardPage
extends org.eclipse.jface.wizard.WizardPage

Second page of the wizard (weaving data)

Since:
1.0

Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
WeaverSecondWizardPage(WeaverWizard parent, java.lang.String pageName, org.eclipse.jface.viewers.ISelection selection)
          Creates a new second wizard page
WeaverSecondWizardPage(WeaverWizard parent, java.lang.String pageName, java.lang.String title, org.eclipse.jface.resource.ImageDescriptor titleImage)
          Creates a new second wizard page
 
Method Summary
 void createControl(org.eclipse.swt.widgets.Composite parent)
           
 java.lang.String getEditorExtensionSelected()
          Returns the panel Extension selected id
 java.lang.String getExistingModelFileName()
          Returns the full path of existing model file
 java.lang.String getNewModelFileName()
          Returns the relative path of new model file
 WeaverWizard getParentWizard()
           
 java.lang.String getProjectName()
          Returns the relative path of project
 java.lang.String getWmodelSelected()
          Returns the wmodel extension selected id
 boolean isNewWeavingModel()
          Returns true if we work with a new model
 void setParentWizard(WeaverWizard parentWizard)
           
 
Methods inherited from class org.eclipse.jface.wizard.WizardPage
canFlipToNextPage, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
 
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
dispose, getControl, getDescription, getErrorMessage, getMessage, getMessageType, getTitle, performHelp, setMessage, setVisible
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible
 

Constructor Detail

WeaverSecondWizardPage

public WeaverSecondWizardPage(WeaverWizard parent,
                              java.lang.String pageName,
                              org.eclipse.jface.viewers.ISelection selection)
Creates a new second wizard page

Parameters:
parent - the wizard parent of this page
pageName - the name of the page
selection - the current object selection

WeaverSecondWizardPage

public WeaverSecondWizardPage(WeaverWizard parent,
                              java.lang.String pageName,
                              java.lang.String title,
                              org.eclipse.jface.resource.ImageDescriptor titleImage)
Creates a new second wizard page

Parameters:
parent - the wizard parent of this page
pageName - the name of the page
title - the title for this wizard page, or null if none
titleImage - the image descriptor for the title of this wizard page, or null if none
Method Detail

createControl

public void createControl(org.eclipse.swt.widgets.Composite parent)

getProjectName

public java.lang.String getProjectName()
Returns the relative path of project

Returns:
weaving project

getNewModelFileName

public java.lang.String getNewModelFileName()
Returns the relative path of new model file

Returns:
weaving model file

getExistingModelFileName

public java.lang.String getExistingModelFileName()
Returns the full path of existing model file

Returns:
weaving model file

isNewWeavingModel

public boolean isNewWeavingModel()
Returns true if we work with a new model

Returns:
true or false

getEditorExtensionSelected

public java.lang.String getEditorExtensionSelected()
Returns the panel Extension selected id

Returns:
weaving panel id

getWmodelSelected

public java.lang.String getWmodelSelected()
Returns the wmodel extension selected id

Returns:
WModel id

getParentWizard

public WeaverWizard getParentWizard()
Returns:
Returns the parentWizard.

setParentWizard

public void setParentWizard(WeaverWizard parentWizard)
Parameters:
parentWizard - The parentWizard to set.