|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object FieldEditorPreferencePage com.ibm.etools.iseries.rse.ui.preferences.ISeriesTableViewPreferencePage
public class ISeriesTableViewPreferencePage
iSeries Preference page for options related to the Table view. Allow user to specify
whether to restore the table view in next session
the column order in the table view. The order is stored as a string 01234 which is translated into word array to be displayed in the list
Field Summary | |
---|---|
static String |
copyright
|
Constructor Summary | |
---|---|
ISeriesTableViewPreferencePage()
Constructor |
Method Summary | |
---|---|
protected Label |
addFillerLine(Composite parent,
int nbrColumns)
Add a spacer line |
protected Label |
addSeparatorLine(Composite parent,
int nbrColumns)
Add a separator line. |
protected void |
adjustGridLayout()
Adjust the layout of the field editors so that they are properly aligned. |
protected boolean |
canAdd()
Returns whether selection can be moved up. |
protected boolean |
canMoveDown()
Returns whether selection can be moved down. |
protected boolean |
canMoveUp()
Returns whether selection can be moved up. |
protected boolean |
canRemove()
Returns whether selection can be moved up. |
void |
createControl(Composite parent)
Configure the overrall composite. |
protected void |
createFieldEditors()
Create the individual editors for each preference. |
protected void |
doAdd()
Peform add function on list. |
protected void |
doMoveDown()
Peform move down function on list. |
protected void |
doMoveUp()
Perform move up function on list. |
protected void |
doRemove()
Peform move down function on list. |
static String |
getMemberCustomizedlOrderPreference()
Return member customized column order string preference |
static String |
getNumberColumnArray(String[] stringArray)
Convert the order list in word string array format to number string format |
static String |
getObjectCustomizedOrderPreference()
Return object customized column order string preference |
static String |
getOrderStatePreference()
Return the view type used last time in string preference |
static boolean |
getRestoreStatePreference()
Return the restore table view boolean preference |
static String[] |
getStringColumnArray(String numberArray)
Convert the order list in number string format to word string array format |
static boolean |
getUseCmdLinePreference()
Return the use command line boolean preference |
void |
init(IWorkbench workbench)
Required method from parent |
static void |
initDefaults()
Initialize our preference store with our defaults. |
protected void |
performDefaults()
Override of parent so we can save the preference store to disk. |
boolean |
performOk()
User has pressed Apply Override of parent so we can do error checking and stop the Apply action if errors are pending. |
protected void |
processOrderListSelected()
Process column order list selection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String copyright
Constructor Detail |
---|
public ISeriesTableViewPreferencePage()
Method Detail |
---|
public void createControl(Composite parent)
protected void createFieldEditors()
protected Label addSeparatorLine(Composite parent, int nbrColumns)
protected Label addFillerLine(Composite parent, int nbrColumns)
protected void processOrderListSelected()
protected boolean canRemove()
protected boolean canAdd()
protected boolean canMoveUp()
protected void doMoveUp()
protected boolean canMoveDown()
protected void doMoveDown()
protected void doRemove()
protected void doAdd()
protected void adjustGridLayout()
public void init(IWorkbench workbench)
public boolean performOk()
protected void performDefaults()
public static void initDefaults()
public static String getMemberCustomizedlOrderPreference()
public static String getObjectCustomizedOrderPreference()
public static String getOrderStatePreference()
public static boolean getRestoreStatePreference()
public static boolean getUseCmdLinePreference()
public static String[] getStringColumnArray(String numberArray)
numberArray
-
public static String getNumberColumnArray(String[] stringArray)
stringArray
-
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |