org.eclipse.weaver.wizards
Class WeaverFirstWizardPage

java.lang.Object
  extended byWizardPage
      extended byorg.eclipse.weaver.wizards.WeaverFirstWizardPage

public class WeaverFirstWizardPage
extends WizardPage

First page of the wizard (metamodel extension, ...)

Since:
1.0
Author:
- Marcos Didonet Del Fabro (LINA Labs, INRIA team)
- Guillaume Gueltas (Sodifrance)
See Also:
Serialized Form

Field Summary
protected  WeaverWizard parentWizard
           
 
Constructor Summary
WeaverFirstWizardPage(WeaverWizard parent, java.lang.String pageName, ISelection selection)
          Creates a new first wizard page
WeaverFirstWizardPage(WeaverWizard parent, java.lang.String pageName, java.lang.String title, ImageDescriptor titleImage)
          Creates a new first wizard page
 
Method Summary
 void createControl(Composite parent)
           
 Table getLoadedMetamodelTable()
           
 Table getMetamodelTable()
           
 WeaverWizard getParentWizard()
           
 java.util.Collection getPluginMmExtensions()
          Returns the collection of metamodel extensions selected (from an plugin extension)
 java.util.Collection getWorkspaceMmExtensions()
          Returns the collection of metamodel extensions selected (from workspace files)
 void setLoadedMetamodelTable(Table loadedMetamodelTable)
           
 void setMetamodelTable(Table metamodelTable)
           
 void setParentWizard(WeaverWizard parentWizard)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parentWizard

protected WeaverWizard parentWizard
Constructor Detail

WeaverFirstWizardPage

public WeaverFirstWizardPage(WeaverWizard parent,
                             java.lang.String pageName,
                             ISelection selection)
Creates a new first wizard page

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

WeaverFirstWizardPage

public WeaverFirstWizardPage(WeaverWizard parent,
                             java.lang.String pageName,
                             java.lang.String title,
                             ImageDescriptor titleImage)
Creates a new first 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(Composite parent)

getPluginMmExtensions

public java.util.Collection getPluginMmExtensions()
Returns the collection of metamodel extensions selected (from an plugin extension)

Returns:
the java.util list of metamodel extensions selected

getWorkspaceMmExtensions

public java.util.Collection getWorkspaceMmExtensions()
Returns the collection of metamodel extensions selected (from workspace files)

Returns:
the java.util list of metamodel extensions selected

getLoadedMetamodelTable

public Table getLoadedMetamodelTable()
Returns:
Returns the loadedMetamodelTable.

setLoadedMetamodelTable

public void setLoadedMetamodelTable(Table loadedMetamodelTable)
Parameters:
loadedMetamodelTable - The loadedMetamodelTable to set.

getMetamodelTable

public Table getMetamodelTable()
Returns:
Returns the metamodelTable.

setMetamodelTable

public void setMetamodelTable(Table metamodelTable)
Parameters:
metamodelTable - The metamodelTable to set.

getParentWizard

public WeaverWizard getParentWizard()
Returns:
Returns the parentWizard.

setParentWizard

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