|
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 com.ibm.etools.iseries.rse.ui.IBMiWidgetHelpers
public class IBMiWidgetHelpers
Static methods that can be used when writing SWT GUI code for iSeries. They simply make it more productive.
Field Summary | |
---|---|
static String[] |
ALL_OBJTYPES
|
static String |
copyright
|
static String[] |
crtCmds
|
static String[][] |
KNOWN_OBJATTRS_BYTYPE
List of object attributes by object type. |
static String[] |
KNOWN_OBJATTRS_TYPES
|
static String[] |
mbrTypes
|
static String[] |
mbrTypesPlusAsterisk
|
static String[] |
objAttrs
|
static String[] |
OBJATTRS_FILE
|
static String[] |
OBJATTRS_FNTSRC
|
static String[] |
OBJATTRS_LIB
|
static String[] |
OBJATTRS_MENU
|
static String[] |
OBJATTRS_MODULE
|
static String[] |
OBJATTRS_PGM
|
static String[] |
OBJATTRS_SRVPGM
|
static String[] |
objTypes
|
static String[] |
objTypesMinusAsterisk
|
static String[] |
specialCmds
|
static String[] |
specialFiles
|
static String[] |
specialLibs
|
static String[] |
specialLibsNonGeneric
|
static String[] |
specialLibsNonGenericNonLibl
|
static String[] |
specialMbrs
|
static String[] |
specialObjs
|
Constructor Summary | |
---|---|
IBMiWidgetHelpers()
|
Method Summary | |
---|---|
static boolean |
AttrsKnownForThisType(String objType)
Given an iSeries object type, returns true if that type is one for which a definitive list of object attributes are known. |
static Combo |
createFieldCombo(Composite parent,
Listener listener)
Creates an iSeries Field combox box. |
static Combo |
createIFSPathCombo(Composite parent,
Listener listener)
Creates an iSeries IFS path combox box. |
static Combo |
createLibraryCombo(Composite parent,
Listener listener)
Creates an iSeries Library combox box. |
static SystemHistoryCombo |
createLibraryHistoryCombo(Composite parent,
SelectionListener listener,
boolean allowGeneric)
Creates an iSeries Library combox box that has a history. |
static Combo |
createMbrCombo(Composite parent,
Listener listener)
Creates an iSeries Member combo box. |
static Combo |
createMbrTypeCombo(Composite parent,
Listener listener)
Creates an iSeries Member Type combo box. |
static List |
createMbrTypeList(Composite parent,
Listener listener,
String label,
int columnSpan)
Creates an iSeries Member Type list box. |
static Combo |
createObjAttrCombo(Composite parent,
Listener listener)
Creates an iSeries Object Attribute combox box. |
static List |
createObjAttrList(Composite parent,
Listener listener,
String label,
int columnSpan)
Creates an iSeries Object Attribute list box. |
static List |
createObjAttrList(Composite parent,
Listener listener,
String label,
int columnSpan,
String objType)
Creates an iSeries Object Attribute list box, populated with the attributes for the given type. |
static Combo |
createObjCombo(Composite parent,
Listener listener)
Creates an iSeries Object combox box. |
static SystemHistoryCombo |
createObjectHistoryCombo(Composite parent,
SelectionListener listener,
boolean allowGeneric)
Creates an iSeries Object combox box that has a history. |
static Combo |
createObjTypeCombo(Composite parent,
Listener listener)
Creates an iSeries Object Type combox box. |
static List |
createObjTypeList(Composite parent,
Listener listener,
String label,
int columnSpan)
Creates an iSeries Object Type list box. |
static Combo |
createRecordCombo(Composite parent,
Listener listener)
Creates an iSeries Record combox box. |
static String[] |
getCrtCommandFilterStrings()
Return CRT command string This is just a bunch of command name filters like CRT* |
static String[] |
getMbrTypes()
Return known member types |
static String[] |
getSpecialCommandFilterStrings()
Return array of special command filter strings. |
static String[] |
getSpecialFileFilterStrings()
Return array of special file filter strings: *LIBL/* OBJTYPE(*FILE) *LIBL/* OBJTYPE(*FILE) OBJATTR(PF-SRC) *LIBL/* OBJTYPE(*FILE) OBJATTR(PF-DTA) |
static String[] |
getSpecialLibraryFilterStrings()
Return array of special library filter strings: *LIBL *USRLIBL *CURLIB *ALLLIB *ALL |
static String[] |
getSpecialMemberFilterStrings()
Return array of special member filter strings: *CURLIB/Q*SRC(*) MBRTYPE(*) *CURLIB/Q*SRC(*) MBRTYPE(RPG*) *CURLIB/Q*SRC(*) MBRTYPE(CBL*) *CURLIB/Q*SRC(*) MBRTYPE(CL*) *CURLIB/Q*SRC(*) MBRTYPE(DSPF PRTF PF LF) |
static String[] |
getSpecialObjectFilterStrings()
Return array of special object filter strings: *CURLIB/* *CURLIB/* OBJTYPE(*FILE) *CURLIB/* OBJTYPE(*FILE) OBJATTR(PF-SRC) *CURLIB/* OBJTYPE(*PGM) |
static IBMiCommandsLogViewPart |
showIBMiCommandsLogView()
Show the iSeries Commands Log view |
static IBMiCommandsLogViewPart |
showIBMiCommandsLogView(boolean toTop,
ISubSystem subsystem)
Show the iSeries Commands Log view (optionally bring view to top) |
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
public static final String[] specialLibsNonGenericNonLibl
public static final String[] specialLibsNonGeneric
public static final String[] specialLibs
public static final String[] specialObjs
public static final String[] specialFiles
public static final String[] specialMbrs
public static final String[] specialCmds
public static final String[] crtCmds
public static final String[] mbrTypes
public static final String[] mbrTypesPlusAsterisk
public static final String[] objTypes
public static final String[] objTypesMinusAsterisk
public static final String[] ALL_OBJTYPES
public static final String[] objAttrs
public static final String[] OBJATTRS_FILE
public static final String[] OBJATTRS_FNTSRC
public static final String[] OBJATTRS_LIB
public static final String[] OBJATTRS_MENU
public static final String[] OBJATTRS_MODULE
public static final String[] OBJATTRS_PGM
public static final String[] OBJATTRS_SRVPGM
public static final String[] KNOWN_OBJATTRS_TYPES
public static final String[][] KNOWN_OBJATTRS_BYTYPE
Constructor Detail |
---|
public IBMiWidgetHelpers()
Method Detail |
---|
public static String[] getSpecialLibraryFilterStrings()
public static String[] getSpecialObjectFilterStrings()
public static String[] getSpecialFileFilterStrings()
public static String[] getSpecialMemberFilterStrings()
public static String[] getSpecialCommandFilterStrings()
public static String[] getCrtCommandFilterStrings()
public static Combo createLibraryCombo(Composite parent, Listener listener)
public static SystemHistoryCombo createLibraryHistoryCombo(Composite parent, SelectionListener listener, boolean allowGeneric)
public static Combo createObjCombo(Composite parent, Listener listener)
public static SystemHistoryCombo createObjectHistoryCombo(Composite parent, SelectionListener listener, boolean allowGeneric)
public static Combo createObjTypeCombo(Composite parent, Listener listener)
public static List createObjTypeList(Composite parent, Listener listener, String label, int columnSpan)
parent
- Hosting compositelistener
- Listener to get events. Can be null.label
- Heading label. Can be null.columnSpan
- How many columns should the list and heading spanpublic static Combo createObjAttrCombo(Composite parent, Listener listener)
public static List createObjAttrList(Composite parent, Listener listener, String label, int columnSpan)
parent
- Hosting compositelistener
- Listener to get events. Can be null.label
- Heading label. Can be null.columnSpan
- How many columns should the list and heading spanpublic static List createObjAttrList(Composite parent, Listener listener, String label, int columnSpan, String objType)
parent
- Hosting compositelistener
- Listener to get events. Can be null.label
- Heading label. Can be null.columnSpan
- How many columns should the list and heading spanpublic static boolean AttrsKnownForThisType(String objType)
public static Combo createMbrCombo(Composite parent, Listener listener)
public static String[] getMbrTypes()
public static Combo createMbrTypeCombo(Composite parent, Listener listener)
public static List createMbrTypeList(Composite parent, Listener listener, String label, int columnSpan)
parent
- Hosting compositelistener
- Listener to get events. Can be null.label
- Heading label. Can be null.columnSpan
- How many columns should the list and heading spanpublic static Combo createRecordCombo(Composite parent, Listener listener)
public static Combo createFieldCombo(Composite parent, Listener listener)
public static Combo createIFSPathCombo(Composite parent, Listener listener)
public static IBMiCommandsLogViewPart showIBMiCommandsLogView()
public static IBMiCommandsLogViewPart showIBMiCommandsLogView(boolean toTop, ISubSystem subsystem)
toTop
- true if the view should be brought to the top if it is in a stacked notebooksubsystem
- The subsystem folder (connection) that should be shown in the view, null if no
changes should be made to which subsystem is shown.
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |