Rational Developer for Power Systems Software
V7.6

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

java.lang.Object
  extended by SystemPromptDialog
      extended by com.ibm.etools.iseries.edit.wizards.RPGDSpecKeywordEditDialog

public class RPGDSpecKeywordEditDialog
extends SystemPromptDialog


Field Summary
protected  RPGDSpecArrayKeywordsPane arrayKeywordsPane
           
protected  Object container
           
static String copyright
           
protected  SystemMessage errorMessage
           
protected  RPGDSpecKeywords keywords
           
protected  RPGDSpecDSOtherKeywordsPane otherKeywordsPane
           
protected  Vector selectedKeywords
           
protected  RPGDSpecSimpleSubfieldKeywordsPane subfieldKeywordsPane
           
 
Constructor Summary
RPGDSpecKeywordEditDialog(Shell shell, String title, Object inputObject, Object container, boolean isChange, String specialChars)
           
 
Method Summary
protected  void applyMnemonics(Mnemonics mnemonics, Composite c)
           
 void clearErrorMessage()
           
 void clearErrorMessage(RPGDSpecKeywordBasePane keywordPane)
          Clear the error message from the specified pane
protected  Control createInner(Composite parent)
           
 Object getContainer()
           
protected  Control getInitialFocusControl()
           
 Object getOutputObject()
           
 RPGDSpecArrayKeywordsPane getRPGDSpecArrayKeywordsPane()
          returns the array keywords pane
 RPGDSpecDSOtherKeywordsPane getRPGDSpecDSOtherKeywordsPane()
          returns the other keywords pane
 RPGDSpecSimpleSubfieldKeywordsPane getRPGDSpecSimpleSubfieldKeywordsPane()
          returns the array keywords pane
 Vector getSelectedKeywords()
           
 String getSpecialChars()
           
 boolean isBased()
           
 boolean isDads()
           
 boolean isPsds()
           
protected  boolean processOK()
           
 void setArray(boolean isArray)
           
 void setBased(boolean b)
           
 void setCurrentProcedure(boolean isCurProc)
           
 void setDads(boolean b)
           
 void setDsName(String dsName)
           
 void setErrorMessage(SystemMessage message)
           
 void setExternal(boolean b)
           
 void setField(RPGFieldType field)
           
 void setNames(Vector names)
           
 void setPsds(boolean b)
           
 void setSelectedKeywords(Vector vector)
           
 void setSpecial(boolean dads, boolean psds, boolean based, boolean isLikeDS)
           
 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

copyright

public static final String copyright
See Also:
Constant Field Values

otherKeywordsPane

protected RPGDSpecDSOtherKeywordsPane otherKeywordsPane

arrayKeywordsPane

protected RPGDSpecArrayKeywordsPane arrayKeywordsPane

subfieldKeywordsPane

protected RPGDSpecSimpleSubfieldKeywordsPane subfieldKeywordsPane

container

protected Object container

keywords

protected RPGDSpecKeywords keywords

selectedKeywords

protected Vector selectedKeywords

errorMessage

protected SystemMessage errorMessage
Constructor Detail

RPGDSpecKeywordEditDialog

public RPGDSpecKeywordEditDialog(Shell shell,
                                 String title,
                                 Object inputObject,
                                 Object container,
                                 boolean isChange,
                                 String specialChars)
Parameters:
shell -
title -
inputObject - a vector containing strings indicating the selected keywords
Method Detail

createInner

protected Control createInner(Composite parent)

getOutputObject

public Object getOutputObject()

processOK

protected boolean processOK()

setErrorMessage

public void setErrorMessage(SystemMessage message)

clearErrorMessage

public void clearErrorMessage()

getInitialFocusControl

protected Control getInitialFocusControl()

widgetSelected

public void widgetSelected(SelectionEvent e)

widgetDefaultSelected

public void widgetDefaultSelected(SelectionEvent e)

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

getSelectedKeywords

public Vector getSelectedKeywords()
Returns:

setSelectedKeywords

public void setSelectedKeywords(Vector vector)
Parameters:
vector -

setArray

public void setArray(boolean isArray)
Parameters:
isArray -

setField

public void setField(RPGFieldType field)
Parameters:
field -

setExternal

public void setExternal(boolean b)
Parameters:
b -

isBased

public boolean isBased()
Returns:

isDads

public boolean isDads()
Returns:

isPsds

public boolean isPsds()
Returns:

setBased

public void setBased(boolean b)
Parameters:
b -

setDads

public void setDads(boolean b)
Parameters:
b -

setPsds

public void setPsds(boolean b)
Parameters:
b -

setSpecial

public void setSpecial(boolean dads,
                       boolean psds,
                       boolean based,
                       boolean isLikeDS)
Parameters:
dads -
psds -
based -

setDsName

public void setDsName(String dsName)
Parameters:
dsName -

setNames

public void setNames(Vector names)
Parameters:
names -

setCurrentProcedure

public void setCurrentProcedure(boolean isCurProc)
Parameters:
isCurProc -

getSpecialChars

public String getSpecialChars()

getContainer

public Object getContainer()

getRPGDSpecDSOtherKeywordsPane

public RPGDSpecDSOtherKeywordsPane getRPGDSpecDSOtherKeywordsPane()
returns the other keywords pane

Returns:

getRPGDSpecArrayKeywordsPane

public RPGDSpecArrayKeywordsPane getRPGDSpecArrayKeywordsPane()
returns the array keywords pane

Returns:

getRPGDSpecSimpleSubfieldKeywordsPane

public RPGDSpecSimpleSubfieldKeywordsPane getRPGDSpecSimpleSubfieldKeywordsPane()
returns the array keywords pane

Returns:

applyMnemonics

protected void applyMnemonics(Mnemonics mnemonics,
                              Composite c)
See Also:
com.ibm.etools.systems.core.ui.dialogs.SystemPromptDialog#applyMnemonics(com.ibm.etools.systems.core.ui.Mnemonics, 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.