Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.edit.wizards
Class DSpecStandalonePage

java.lang.Object
  extended by AbstractSystemWizardPage
      extended by com.ibm.etools.iseries.edit.wizards.DSpecStandalonePage

public class DSpecStandalonePage
extends AbstractSystemWizardPage


Constructor Summary
DSpecStandalonePage(Wizard wizard, String pageID, String titleKey, String descriptionKey, String helpID)
          Creates the page for the dspec creation wizard.
 
Method Summary
protected  void applyMnemonics(Composite c)
           
 void clearErrorMessage()
           
 Control createContents(Composite parent)
          (non-Javadoc) Method declared on IDialogPage.
 boolean finish()
          Creates a new file resource as requested by the user.
protected  void generateDspec()
           
 RPGDSpecFieldTypeBasePane getFieldTypePane()
          for retrieve the data in the field type pane.
protected  Control getInitialFocusControl()
           
 IWizardPage getNextPage()
           
 Object getOutputObject()
           
 IWizardPage getPreviousPage()
           
 void handleEvent(Event e)
          (non-Javadoc) Method declared on WizardNewFileCreationPage.
 boolean isPageComplete()
          Check if page is complete, override superclass method
 boolean performFinish()
           
 void setInputObject(Object inputObject)
           
 void setPageComplete(boolean complete)
          set page to be "complete", override superclass method
 void widgetDefaultSelected(SelectionEvent e)
           
 void widgetSelected(SelectionEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DSpecStandalonePage

public DSpecStandalonePage(Wizard wizard,
                           String pageID,
                           String titleKey,
                           String descriptionKey,
                           String helpID)
Creates the page for the dspec creation wizard.

Parameters:
workbench - the workbench on which the page should be created
selection - the current selection
Method Detail

createContents

public Control createContents(Composite parent)
(non-Javadoc) Method declared on IDialogPage.


finish

public boolean finish()
Creates a new file resource as requested by the user. If everything is OK then answer true. If not, false will cause the dialog to stay open.

Returns:
whether creation was successful
See Also:
ReadmeCreationWizard#performFinish()

clearErrorMessage

public void clearErrorMessage()

handleEvent

public void handleEvent(Event e)
(non-Javadoc) Method declared on WizardNewFileCreationPage.


widgetDefaultSelected

public void widgetDefaultSelected(SelectionEvent e)

widgetSelected

public void widgetSelected(SelectionEvent e)

getInitialFocusControl

protected Control getInitialFocusControl()

performFinish

public boolean performFinish()

isPageComplete

public boolean isPageComplete()
Check if page is complete, override superclass method

See Also:
WizardPage

setPageComplete

public void setPageComplete(boolean complete)
set page to be "complete", override superclass method

See Also:
WizardPage

getOutputObject

public Object getOutputObject()

generateDspec

protected void generateDspec()

setInputObject

public void setInputObject(Object inputObject)

getPreviousPage

public IWizardPage getPreviousPage()

getNextPage

public IWizardPage getNextPage()

getFieldTypePane

public RPGDSpecFieldTypeBasePane getFieldTypePane()
for retrieve the data in the field type pane.

Returns:
the RPGDSpecFieldTypeBasePane

applyMnemonics

protected void applyMnemonics(Composite c)
See Also:
com.ibm.etools.systems.core.ui.wizards.AbstractSystemWizardPage#applyMnemonics(org.eclipse.swt.widgets.Composite)

Rational Developer for Power Systems Software
V7.6

Copyright 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.