Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.edit.ui.preferences
Class IFSIncludeDirectoryEditor

java.lang.Object
  extended by FieldEditor
      extended by com.ibm.etools.iseries.rse.ui.preferences.ListEditor
          extended by com.ibm.etools.iseries.edit.ui.preferences.IFSIncludeDirectoryEditor

public class IFSIncludeDirectoryEditor
extends ListEditor


Field Summary
static String copyright
           
 
Fields inherited from class com.ibm.etools.iseries.rse.ui.preferences.ListEditor
_bUpperCase, _iMaxItems, addButton, buttonBox, Copyright, downButton, list, removeButton, selectionListener, upButton
 
Constructor Summary
IFSIncludeDirectoryEditor(String strName, String strLabel, Composite compositeParent)
           
 
Method Summary
protected  String createList(String[] straArguments)
          Creates a comma separated string from an array of individual strings.
 int getMaximumNameLength()
          Return the max length for folder names: 5000
protected  String getNewInputObject()
          Create a input dialog when user click on "Add" to define a new condition.
 String isValid(String strInput)
          Declared in IInputValidator.
protected  String[] parseString(String str)
          Called to create the list from the string saved in the ini file.
 
Methods inherited from class com.ibm.etools.iseries.rse.ui.preferences.ListEditor
addPressed, adjustForNumColumns, createButtons, createPushButton, createSelectionListener, doFillIntoGrid, doLoad, doLoadDefault, doStore, downPressed, getButtonBoxControl, getListControl, getNumberOfControls, getSelectionListener, getShell, removePressed, selectionChanged, setFocus, setItemLimit, setUpperCase, swap, upPressed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static String copyright
Constructor Detail

IFSIncludeDirectoryEditor

public IFSIncludeDirectoryEditor(String strName,
                                 String strLabel,
                                 Composite compositeParent)
Method Detail

parseString

protected String[] parseString(String str)
Called to create the list from the string saved in the ini file.

Specified by:
parseString in class ListEditor
Parameters:
str - the string
Returns:
an array of String
See Also:
ListEditor.createList(java.lang.String[])

getNewInputObject

protected String getNewInputObject()
Create a input dialog when user click on "Add" to define a new condition.

Specified by:
getNewInputObject in class ListEditor
Returns:
a new item

createList

protected String createList(String[] straArguments)
Creates a comma separated string from an array of individual strings.

Specified by:
createList in class ListEditor
Parameters:
straArguments - the list of items
Returns:
the combined string
See Also:
ListEditor.parseString(java.lang.String)

isValid

public String isValid(String strInput)
Declared in IInputValidator. This is a callback function used by the InputDialog to determine whether the input string is valid. Check for duplicate or empty strings. Returns null if no error. Otherwise may return a message string. Here we return an empty message string to indicate an error.


getMaximumNameLength

public int getMaximumNameLength()
Return the max length for folder names: 5000


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.