EGF Engine
Release 0.1.0

org.eclipse.egf.pattern.ui.internal.editor.page.specification.wizard
Class ParameterTypeSelectionPage

java.lang.Object
  extended by WizardPage
      extended by org.eclipse.egf.common.ui.wizard.page.AbstractWizardPage
          extended by org.eclipse.egf.pattern.ui.internal.editor.page.wizard.AbstractPatternWizardPage
              extended by org.eclipse.egf.pattern.ui.internal.editor.page.specification.wizard.ParameterTypeSelectionPage

public class ParameterTypeSelectionPage
extends AbstractPatternWizardPage


Nested Class Summary
protected  class ParameterTypeSelectionPage.InitialInput
          Initial input element.
protected  class ParameterTypeSelectionPage.ParameterTypeContentProvider
          Parameter type content provider.
 
Field Summary
protected static String PAGE_ID
          Page unique id.
 
Constructor Summary
ParameterTypeSelectionPage()
          Constructor.
 
Method Summary
protected  ParameterTypeSelectionPage.InitialInput createContainer(EPackage inputPackage_p)
          Create initial input for given input package.
protected  StructuredViewer createViewer(Composite parent_p)
          Create and initialize the viewer.
protected  boolean delegateSelectionChanged(Object selectedElement_p)
          Delegate selection changed.
protected  void endPageAreaCreation(StructuredViewer viewer_p)
          Give the viewer creator back the opportunity to change the viewer representation after/if it has been adapted.
protected  String getHelpContextId()
          Return the Help context id if any.
protected  String getPageDescription()
          Get the page description.
protected  String getPageTitle()
          Get the page title.
protected  ParameterTypeSelectionPage.InitialInput getRootPackage(URI resourceUri_p)
          Get static root package initial input for identified model.
 ParameterWizard getWizard()
           
protected  ParameterTypeSelectionPage.InitialInput initializeContent(EClass initialClass_p)
          Initialize view content.
 
Methods inherited from class org.eclipse.egf.pattern.ui.internal.editor.page.wizard.AbstractPatternWizardPage
createPageArea, getCompleteStatus, getToolkit, isReadOnly, selectionChanged
 
Methods inherited from class org.eclipse.egf.common.ui.wizard.page.AbstractWizardPage
createControl, getContentNumColumn, handlePageLayout, initialize, isPageComplete, performHelp, updateButtons
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PAGE_ID

protected static final String PAGE_ID
Page unique id.

See Also:
Constant Field Values
Constructor Detail

ParameterTypeSelectionPage

public ParameterTypeSelectionPage()
Constructor.

Method Detail

getHelpContextId

protected String getHelpContextId()
Description copied from class: AbstractWizardPage
Return the Help context id if any.
Default implementation returns null.

Overrides:
getHelpContextId in class AbstractWizardPage
Returns:
null or an help context id.
See Also:
AbstractWizardPage.getHelpContextId()

getWizard

public ParameterWizard getWizard()
See Also:
org.eclipse.jface.wizard.WizardPage#getWizard()

createViewer

protected StructuredViewer createViewer(Composite parent_p)
Description copied from class: AbstractPatternWizardPage
Create and initialize the viewer.

Specified by:
createViewer in class AbstractPatternWizardPage
Returns:
A not null viewer reference.
See Also:
org.eclipse.egf.pattern.ui.internal.editor.page.wizard.AbstractPatternWizardPage#createViewer(org.eclipse.swt.widgets.Composite)

endPageAreaCreation

protected void endPageAreaCreation(StructuredViewer viewer_p)
Description copied from class: AbstractPatternWizardPage
Give the viewer creator back the opportunity to change the viewer representation after/if it has been adapted.

Overrides:
endPageAreaCreation in class AbstractPatternWizardPage
See Also:
org.eclipse.egf.pattern.ui.internal.editor.page.wizard.AbstractPatternWizardPage#endPageAreaCreation(org.eclipse.jface.viewers.StructuredViewer)

delegateSelectionChanged

protected boolean delegateSelectionChanged(Object selectedElement_p)
Description copied from class: AbstractPatternWizardPage
Delegate selection changed.
Given selected element might be null.

Specified by:
delegateSelectionChanged in class AbstractPatternWizardPage
Returns:
true if selection completes the page, false otherwise.
See Also:
AbstractPatternWizardPage.delegateSelectionChanged(java.lang.Object)

getPageDescription

protected String getPageDescription()
Description copied from class: AbstractWizardPage
Get the page description.

Specified by:
getPageDescription in class AbstractWizardPage
Returns:
See Also:
AbstractWizardPage.getPageDescription()

getPageTitle

protected String getPageTitle()
Description copied from class: AbstractWizardPage
Get the page title.

Specified by:
getPageTitle in class AbstractWizardPage
Returns:
See Also:
AbstractWizardPage.getPageTitle()

initializeContent

protected ParameterTypeSelectionPage.InitialInput initializeContent(EClass initialClass_p)
Initialize view content.

Parameters:
initialClass_p -
Returns:

getRootPackage

protected ParameterTypeSelectionPage.InitialInput getRootPackage(URI resourceUri_p)
Get static root package initial input for identified model.

Parameters:
resourceUri_p -
Returns:

createContainer

protected ParameterTypeSelectionPage.InitialInput createContainer(EPackage inputPackage_p)
Create initial input for given input package.

Parameters:
inputPackage_p -
Returns:

EGF Engine
Release 0.1.0

Copyright (c) Thales Corporate Services S.A.S, 2009.

This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.