Rational Developer for Power Systems Software
V7.6

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

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

public class DSpecStandaloneKeywordPage
extends AbstractSystemWizardPage


Field Summary
static int ALT
           
static int ALTSEQ
           
protected  RPGDSpecArrayKeywordsPane arrayKeywordsPane
           
static int ASC
           
static int BASED
           
static int CTDATA
           
static int DESC
           
static int DTAARA
           
static int EXPORT
           
static int EXTFMT
           
static int FROMFILE
           
static int IMPORT
           
static int INZ
           
static int NOOPT
           
static int OTHER_TOTAL
           
protected  RPGDSpecOtherKeywordsPane otherKeywordsPane
           
static int PERRCD
           
static int STATIC
           
static int STATICALLTHREAD
           
static int TEMPLATE
           
static int TOFILE
           
 
Constructor Summary
DSpecStandaloneKeywordPage(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(RPGDSpecKeywordBasePane keywordPane)
          Clear the error message from the specified pane
 Control createContents(Composite parent)
          (non-Javadoc) Method declared on IDialogPage.
 boolean finish()
          Creates a new file resource as requested by the user.
 RPGDSpecArrayKeywordsPane getArrayKeywordsPane()
           
 SystemMessage getErrMessage()
           
 RPGFieldType getField()
           
protected  Control getInitialFocusControl()
           
 RPGDSpecKeywords getKwd()
           
 IWizardPage getNextPage()
           
 RPGDSpecOtherKeywordsPane getOtherKeywordsPane()
           
 Object getOutputObject()
           
 IWizardPage getPreviousPage()
           
 void handleEvent(Event arg0)
           
 boolean isArray()
           
 boolean isPageComplete()
          Check if page is complete, override superclass method
 boolean performFinish()
           
 void setCurrentProcedure(boolean isCurProc)
           
 void setErrorMessage(SystemMessage errorMessage)
          Set the error message to be specified errorMessage
 void setField(RPGFieldType type)
           
 void setInputObject(Object inputObject)
           
 void setKwd(RPGDSpecKeywords keywords)
           
 void update(RPGFieldType field)
          update the page according to the type that selected in Standalone page.
 void updateKeywords()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

otherKeywordsPane

protected RPGDSpecOtherKeywordsPane otherKeywordsPane

arrayKeywordsPane

protected RPGDSpecArrayKeywordsPane arrayKeywordsPane

ASC

public static final int ASC
See Also:
Constant Field Values

DESC

public static final int DESC
See Also:
Constant Field Values

CTDATA

public static final int CTDATA
See Also:
Constant Field Values

ALT

public static final int ALT
See Also:
Constant Field Values

FROMFILE

public static final int FROMFILE
See Also:
Constant Field Values

TOFILE

public static final int TOFILE
See Also:
Constant Field Values

EXTFMT

public static final int EXTFMT
See Also:
Constant Field Values

PERRCD

public static final int PERRCD
See Also:
Constant Field Values

ALTSEQ

public static final int ALTSEQ
See Also:
Constant Field Values

NOOPT

public static final int NOOPT
See Also:
Constant Field Values

STATIC

public static final int STATIC
See Also:
Constant Field Values

BASED

public static final int BASED
See Also:
Constant Field Values

EXPORT

public static final int EXPORT
See Also:
Constant Field Values

IMPORT

public static final int IMPORT
See Also:
Constant Field Values

INZ

public static final int INZ
See Also:
Constant Field Values

DTAARA

public static final int DTAARA
See Also:
Constant Field Values

STATICALLTHREAD

public static final int STATICALLTHREAD
See Also:
Constant Field Values

TEMPLATE

public static final int TEMPLATE
See Also:
Constant Field Values

OTHER_TOTAL

public static final int OTHER_TOTAL
See Also:
Constant Field Values
Constructor Detail

DSpecStandaloneKeywordPage

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

getInitialFocusControl

protected Control getInitialFocusControl()

performFinish

public boolean performFinish()

isPageComplete

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

See Also:
WizardPage

getOutputObject

public Object getOutputObject()

setInputObject

public void setInputObject(Object inputObject)

clearErrorMessage

public void clearErrorMessage(RPGDSpecKeywordBasePane keywordPane)
Clear the error message from the specified pane

Parameters:
keywordPane - the keyword pane that asks to clear error message

setErrorMessage

public void setErrorMessage(SystemMessage errorMessage)
Set the error message to be specified errorMessage

Parameters:
errorMessage - the error message to be set
See Also:
WizardPage

update

public void update(RPGFieldType field)
update the page according to the type that selected in Standalone page.

Parameters:
id -

getPreviousPage

public IWizardPage getPreviousPage()

getNextPage

public IWizardPage getNextPage()

isArray

public boolean isArray()
Returns:

getArrayKeywordsPane

public RPGDSpecArrayKeywordsPane getArrayKeywordsPane()
Returns:

getErrMessage

public SystemMessage getErrMessage()
Returns:

getField

public RPGFieldType getField()
Returns:

getKwd

public RPGDSpecKeywords getKwd()
Returns:

getOtherKeywordsPane

public RPGDSpecOtherKeywordsPane getOtherKeywordsPane()
Returns:

setField

public void setField(RPGFieldType type)
Parameters:
type -

setKwd

public void setKwd(RPGDSpecKeywords keywords)
Parameters:
keywords -

updateKeywords

public void updateKeywords()

setCurrentProcedure

public void setCurrentProcedure(boolean isCurProc)
Parameters:
isCurProc -

handleEvent

public void handleEvent(Event arg0)

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.