Rational Developer for Power Systems Software
V7.6

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

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

public class DSpecPSDSPage
extends AbstractSystemWizardPage


Field Summary
protected  PSDSpec dspec
           
protected  SystemMessage errorMessage
           
protected  boolean nameForced
           
protected  Button qualBtn
           
protected  RPGKeywordTextEntry txtPrefix
           
protected  ValidatorFieldType validator
           
protected  DSpecCreationWizard wizard
           
 
Constructor Summary
DSpecPSDSPage(DSpecCreationWizard wizard, String pageID, String titleKey, String descriptionKey, String helpID)
          Creates the page for the dspec creation wizard.
 
Method Summary
 Control createContents(Composite parent)
          (non-Javadoc) Method declared on IDialogPage.
 boolean finish()
          Creates a new file resource as requested by the user.
protected  Control getInitialFocusControl()
           
 boolean getNameForced()
           
 IWizardPage getNextPage()
           
 Object getOutputObject()
           
 void handleEvent(Event e)
          (non-Javadoc) Method declared on WizardNewFileCreationPage.
 void modifyText(ModifyEvent e)
           
 boolean performFinish()
           
 void setInputObject(Object inputObject)
           
 void setNameForced(boolean b)
           
 void validatePage(RPGKeywordEntry entry, boolean setFocus)
           
 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
 

Field Detail

wizard

protected DSpecCreationWizard wizard

txtPrefix

protected RPGKeywordTextEntry txtPrefix

qualBtn

protected Button qualBtn

dspec

protected PSDSpec dspec

nameForced

protected boolean nameForced

errorMessage

protected SystemMessage errorMessage

validator

protected ValidatorFieldType validator
Constructor Detail

DSpecPSDSPage

public DSpecPSDSPage(DSpecCreationWizard 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()

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()

getOutputObject

public Object getOutputObject()

setInputObject

public void setInputObject(Object inputObject)

getNextPage

public IWizardPage getNextPage()

setNameForced

public void setNameForced(boolean b)
Parameters:
b -

validatePage

public void validatePage(RPGKeywordEntry entry,
                         boolean setFocus)

modifyText

public void modifyText(ModifyEvent e)

getNameForced

public boolean getNameForced()
Returns:

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.