EGF Engine
Release 0.1.0

org.eclipse.egf.core.ui.wizard.page
Class NewDomainWizardPage

java.lang.Object
  extended by WizardPage
      extended by org.eclipse.egf.common.ui.wizard.page.AbstractWizardPage
          extended by org.eclipse.egf.core.ui.wizard.page.AbstractModelElementWizardPage
              extended by org.eclipse.egf.core.ui.wizard.page.AbstractDomainWizardPage
                  extended by org.eclipse.egf.core.ui.wizard.page.NewDomainWizardPage

public class NewDomainWizardPage
extends AbstractDomainWizardPage

Implements the new domain wizard page.


Field Summary
 
Fields inherited from class org.eclipse.egf.core.ui.wizard.page.AbstractDomainWizardPage
DEFAULT_DOMAIN_FILE_NAME, DOMAIN_RELATIVE_FOLDER_PATH
 
Constructor Summary
NewDomainWizardPage(String pageName_p)
          Constructor.
NewDomainWizardPage(String pageName_p, String title_p, ImageDescriptor titleImage_p)
          Constructor.
 
Method Summary
protected  void createDomainFileFieldEditor(Composite parent_p)
          Create the field editor to enter the domain file name.
protected  void createPageArea(Composite parent_p)
          Create the page content.
protected  boolean getCompleteStatus()
          Check conditions to get the page completed
protected  String getPageTitle()
          Get the page title.
 String getRootPackage()
          Return the root package entered by the end-user.
protected  void handlePageLayout(Composite parent_p)
          Handle the layout of this page.
 
Methods inherited from class org.eclipse.egf.core.ui.wizard.page.AbstractDomainWizardPage
getDefaultDomainFilePath, getDomainFileNameFieldEditor, getHelpContextId, isDomainSelectedExist
 
Methods inherited from class org.eclipse.egf.core.ui.wizard.page.AbstractModelElementWizardPage
bindTextToAttribute, bindTextToAttribute, getAdapterFactory, getHostingBundle, getHostingPluginId, getHostingProject, getHostingProjectClassLoader, getModelElement, getModelElementWizard, getPageDescription, getParent, handleFieldEditorValidation, isReadOnly, showErrorMessage
 
Methods inherited from class org.eclipse.egf.common.ui.wizard.page.AbstractWizardPage
createControl, getContentNumColumn, initialize, isPageComplete, performHelp, updateButtons
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewDomainWizardPage

public NewDomainWizardPage(String pageName_p)
Constructor.

Parameters:
pageName_p -

NewDomainWizardPage

public NewDomainWizardPage(String pageName_p,
                           String title_p,
                           ImageDescriptor titleImage_p)
Constructor.

Parameters:
pageName_p -
title_p -
titleImage_p -
Method Detail

createPageArea

protected void createPageArea(Composite parent_p)
Description copied from class: AbstractWizardPage
Create the page content.

Specified by:
createPageArea in class AbstractWizardPage
See Also:
org.eclipse.egf.core.ui.wizard.page.AbstractModelElementWizardPage#createPageArea(org.eclipse.swt.widgets.Composite)

handlePageLayout

protected void handlePageLayout(Composite parent_p)
Description copied from class: AbstractWizardPage
Handle the layout of this page.

Overrides:
handlePageLayout in class AbstractWizardPage
See Also:
org.eclipse.egf.core.ui.wizard.page.AbstractModelElementWizardPage#handlePageLayout(org.eclipse.swt.widgets.Composite)

createDomainFileFieldEditor

protected void createDomainFileFieldEditor(Composite parent_p)
Description copied from class: AbstractDomainWizardPage
Create the field editor to enter the domain file name.

Overrides:
createDomainFileFieldEditor in class AbstractDomainWizardPage
See Also:
org.eclipse.egf.core.ui.wizard.page.AbstractDomainWizardPage#createDomainFileFieldEditor(org.eclipse.swt.widgets.Composite)

getCompleteStatus

protected boolean getCompleteStatus()
Description copied from class: AbstractWizardPage
Check conditions to get the page completed

Specified by:
getCompleteStatus in class AbstractWizardPage
Returns:
true the page is complete; false otherwise.
See Also:
AbstractWizardPage.getCompleteStatus()

getPageTitle

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

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

getRootPackage

public String getRootPackage()
Return the root package entered by the end-user.

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.