Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.ui.view.objtable
Class PDMTableView

java.lang.Object
  extended by ViewPart
      extended by com.ibm.etools.iseries.rse.ui.view.objtable.ObjectTableView
          extended by com.ibm.etools.iseries.rse.ui.view.objtable.PDMTableView
All Implemented Interfaces:
IBMiUIPreferenceConstants, IObjectTableConstants, IQSYSCommandLineParameterHandlerConfig

public class PDMTableView
extends ObjectTableView
implements IBMiUIPreferenceConstants, IQSYSCommandLineParameterHandlerConfig


Nested Class Summary
 
Nested classes/interfaces inherited from class com.ibm.etools.iseries.rse.ui.view.objtable.ObjectTableView
ObjectTableView.TableViewHistEntry
 
Field Summary
static String Copyright
           
 
Fields inherited from class com.ibm.etools.iseries.rse.ui.view.objtable.ObjectTableView
copyright, iseriesPrintTableViewAction, iseriesTableViewSelectAllAction, menuListenerAdded, shell, table, vcp, viewer
 
Fields inherited from interface com.ibm.etools.iseries.rse.ui.preferences.IBMiUIPreferenceConstants
COMPILE_TYPE_PREFIX, COMPILE_TYPE_SIZE, DSPCMDTABLEVIEW, EXTRATABLEVIEW, HAS_RSE_INTRO_DISPLAYED, LOCKTABLEVIEW, OPEN_MEMBER_DIALOG_LAST_CONNECTION, ROOT, TABLEVIEW_COLUMN_TYPE_MBR, TABLEVIEW_COLUMN_TYPE_OBJ, TABLEVIEW_MBRADD_ORDER, TABLEVIEW_MBROBJ_ORDER, TABLEVIEW_OBJADD_ORDER, TABLEVIEW_ORDER_STATE, TABLEVIEW_RESTORE_STATE, TABLEVIEW_USE_CMDLINE
 
Fields inherited from interface com.ibm.etools.iseries.subsystems.qsys.commands.IQSYSCommandLineParameterHandlerConfig
copyright
 
Fields inherited from interface com.ibm.etools.iseries.rse.ui.view.objtable.IObjectTableConstants
ALL, ATTRIB_DATABASE, ATTRIB_DTA, ATTRIB_SRC, BASIC_COLUMN_LAYOUTS, BASIC_COLUMN_MAPPINGS, BASIC_COLUMN_WIDTHS, BASIC_DATA_COLUMNS, BLANK, COLUMN_ATTRIBUTE, COLUMN_ATTRIBUTE_CHAR, COLUMN_CREATEDATE, COLUMN_CREATEDATE_CHAR, COLUMN_MODIFIEDDATE, COLUMN_MODIFIEDDATE_CHAR, COLUMN_NAME, COLUMN_NAME_CHAR, COLUMN_NOT_DISPLAYED, COLUMN_PROPERTIES, COLUMN_SIZE, COLUMN_SIZE_CHAR, COLUMN_TEXT, COLUMN_TEXT_CHAR, COLUMN_TYPE, COLUMN_TYPE_CHAR, EMPTY_COLUMN_LAYOUTS, EMPTY_COLUMN_MAPPINGS, EMPTY_COLUMN_WIDTHS, EXPORT_ACTION_COLUMN_WIDTHS, EXPORT_ACTION_HEADER_UNDERLINES, EXPORT_ACTION_SPACE_HOLDERS, INDEX_SUBSET_MBR_NAME_FILTER, INDEX_SUBSET_MBR_TEXT_FILTER, INDEX_SUBSET_MBR_TYPE_FILTER, INDEX_SUBSET_OBJ_ATTRIB_FILTER, INDEX_SUBSET_OBJ_FROM_SIZE_FILTER, INDEX_SUBSET_OBJ_NAME_FILTER, INDEX_SUBSET_OBJ_TEXT_FILTER, INDEX_SUBSET_OBJ_TO_SIZE_FILTER, INDEX_SUBSET_OBJ_TYPE_FILTER, MAX_NUMBER_MBR_ADD, MAX_NUMBER_OBJ_ADD, MBR_EXTRA_COLUMN_LAYOUTS, MBR_EXTRA_COLUMN_MAPPINGS, MBR_EXTRA_COLUMN_WIDTHS, NFS_ISERIES_TABLE_VIEW, NUMBER_OF_COLUMNS, OBJ_EXTRA_COLUMN_LAYOUTS, OBJ_EXTRA_COLUMN_MAPPINGS, OBJ_EXTRA_COLUMN_WIDTHS, PROP_ATTRIB, PROP_CREATED, PROP_MODIFIED, PROP_NAME, PROP_SIZE, PROP_TEXT, PROP_TYPE, SUBSET_ASTERISK_ALL, SUBSET_ASTERISK_BACK, SUBSET_ASTERISK_FRONT, SUBSET_ASTERISK_FRONT_AND_BACK, SUBSET_ASTERISK_MIDDLE, SUBSET_EXACT, SUBSET_INVALID, TABLE_VIEW_EMPTY, TABLE_VIEW_FILTER_MBR, TABLE_VIEW_FILTER_OBJ, TABLE_VIEW_FORMAT_ALL_MBR, TABLE_VIEW_FORMAT_ALL_OBJ, TABLE_VIEW_FORMAT_CUSTOMIZED_MBR, TABLE_VIEW_FORMAT_CUSTOMIZED_OBJ, TABLE_VIEW_FORMAT_DEFAULT, TABLE_VIEW_FORMAT_EMPTY, TABLE_VIEW_GO_BACKWARD, TABLE_VIEW_GO_DOWN, TABLE_VIEW_GO_FORWARD, TABLE_VIEW_GO_UP, TABLE_VIEW_MBR, TABLE_VIEW_OBJ, TABLE_VIEW_POSITION_TO_BOTTOM, TABLE_VIEW_POSITION_TO_TOP, TABLE_VIEW_SHOW_COLUMN_ALL, TABLE_VIEW_SHOW_COLUMN_CUSTOMIZED, TABLE_VIEW_SHOW_COLUMN_DEFAULT, TABLE_VIEW_SHOW_COLUMN_UNKNOWN, TABLE_VIEW_WORK_WITH_LIB, TABLE_VIEW_WORK_WITH_MBR, TABLE_VIEW_WORK_WITH_OBJ, TAG_TABLE_VIEW_CONNECTION, TAG_TABLE_VIEW_ELEMENT, TAG_TABLE_VIEW_FILTER_STR, TAG_TABLE_VIEW_SUBSET, TAG_TABLE_VIEW_TYPE, TAG_TABLE_VIEW_WORK_WITH, TAG_TABLE_VIEW_WW_ACTION
 
Constructor Summary
PDMTableView()
          Constructor
 
Method Summary
protected  void addSubclassActions(IMenuManager menu)
           
 void clearParameterString()
          Clear string specified on the command line
 void createPartControl(Composite parent)
          createPartControl called by parent
 void dispose()
          dispose - when control goes away
 void enableCmdSection()
          Enable the whole section
 void fillLocalToolBar()
          Override of parent to allow us to register global action handlers for Ctrl + C and Ctrl + V.
 String getParameterString()
          Get the string specified on the command line
 boolean getUseCmdLinePreference()
           
 boolean isCommandAreaCollapsed()
          Check if the command area in the table view is collapsed
 void setParameterString(String cmdStr)
          Get the string specified on the command line
 void systemResourceChanged(ISystemResourceChangeEvent event)
          This is the method in your class that will be called when a system resource changes.
 void toggleCmdSection()
          Toggle Command section
 
Methods inherited from class com.ibm.etools.iseries.rse.ui.view.objtable.ObjectTableView
addMenuActions, displayAllLibraries, displayNewView, fillContextMenu, filterChanged, getColumnHeaderStr, getColumnMappings, getConnection, getDeleteAction, getEbcdicCollator, getFilter, getLockState, getNewTitle, getObjectSubSystem, getRemotePropertyDialogAction, getRenameAction, getRestoreFromMemento, getSavedViewFile, getSavedViewLib, getSavedViewLibFilterStr, getSavedViewMbrFilterStr, getSavedViewObjFilterStr, getShell, getSubsetStates, getTable, getViewContentProvider, getViewer, getViewFormat, getViewType, getWorkbenchPart, init, makeActions, menuAboutToShow, navigate, navigateToNewView, positionTo, saveState, setColumnOderChanged, setFocus, setPositionTo, setSavedViewFile, setSavedViewLib, setSavedViewLibFilterStr, setSavedViewMbrFilterStr, setSavedViewObjFilterStr, setSubsetStates, setViewType, showAll, showColumns, showLock, systemModelResourceChanged, systemRemoteResourceChanged, toggleFormat, toggleLockState, unCheckAllWorkWithHistory, updateActionStates, updateSubsetStates, updateTitle
 
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
Constructor Detail

PDMTableView

public PDMTableView()
Constructor

Method Detail

createPartControl

public void createPartControl(Composite parent)
Description copied from class: ObjectTableView
createPartControl called by parent

Overrides:
createPartControl in class ObjectTableView

systemResourceChanged

public void systemResourceChanged(ISystemResourceChangeEvent event)
This is the method in your class that will be called when a system resource changes. Listen for run commands.

Overrides:
systemResourceChanged in class ObjectTableView
Parameters:
event - Note: Child class PDMTableView overrides this method to handle events for commands; but calls back here for unhandled events.
See Also:
ISystemResourceChangeEvent

dispose

public void dispose()
dispose - when control goes away

Overrides:
dispose in class ObjectTableView

getParameterString

public String getParameterString()
Get the string specified on the command line

Returns:
String - command or parameter specified on the command

clearParameterString

public void clearParameterString()
Clear string specified on the command line


setParameterString

public void setParameterString(String cmdStr)
Get the string specified on the command line


enableCmdSection

public void enableCmdSection()
Enable the whole section

Overrides:
enableCmdSection in class ObjectTableView

toggleCmdSection

public void toggleCmdSection()
Toggle Command section


fillLocalToolBar

public void fillLocalToolBar()
Override of parent to allow us to register global action handlers for Ctrl + C and Ctrl + V. The parent is called to setup the toolbar.

Overrides:
fillLocalToolBar in class ObjectTableView
See Also:
com.ibm.etools.iseries.core.ui.view.ISeriesLibTableView#fillLocalToolBar()

addSubclassActions

protected void addSubclassActions(IMenuManager menu)
Overrides:
addSubclassActions in class ObjectTableView

isCommandAreaCollapsed

public boolean isCommandAreaCollapsed()
Check if the command area in the table view is collapsed

Returns:
true if the command area is collapsed, false if it is expanded

getUseCmdLinePreference

public boolean getUseCmdLinePreference()
Specified by:
getUseCmdLinePreference in interface IQSYSCommandLineParameterHandlerConfig

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.