|
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 ViewPart com.ibm.etools.iseries.rse.ui.view.objtable.ObjectTableView
public class ObjectTableView
View part for the iSeries Table view class
Nested Class Summary | |
---|---|
class |
ObjectTableView.TableViewHistEntry
Class to store the entry in history |
Field Summary | |
---|---|
static String |
copyright
|
protected ObjTablePrintAction |
iseriesPrintTableViewAction
|
protected ISeriesTableViewSelectAllAction |
iseriesTableViewSelectAllAction
|
protected boolean |
menuListenerAdded
|
protected Shell |
shell
|
protected Table |
table
|
protected ObjectTableViewProvider |
vcp
|
protected ObjectTableViewer |
viewer
|
Constructor Summary | |
---|---|
ObjectTableView()
Constructor |
Method Summary | |
---|---|
void |
addMenuActions()
Add actions to system dropdown menu (icon in top right corner of table view) |
protected void |
addSubclassActions(IMenuManager menu)
|
void |
createPartControl(Composite parent)
createPartControl called by parent |
void |
displayAllLibraries(IBMiConnection newConnection)
Display all the libraries in the system after displaying a warning message |
boolean |
displayNewView(int iNewViewType,
Object inputObj,
IBMiConnection connection,
boolean addToWorkWithHistory)
Display new table view |
void |
dispose()
|
void |
enableCmdSection()
Method provided here so that subclass PDMTableView can override it, but called from this class. |
void |
fillContextMenu(IMenuManager menu)
|
void |
fillLocalToolBar()
|
void |
filterChanged()
The filter settings have changed. |
static String[] |
getColumnHeaderStr()
return the current column mappings |
static int[] |
getColumnMappings()
return the current column mappings |
IBMiConnection |
getConnection()
Convenience method for other classes |
protected IAction |
getDeleteAction()
Rather than pre-defined this common action we wait until it is first needed, for performance reasons. |
Collator |
getEbcdicCollator()
|
ISeriesAbstractTableViewFilter |
getFilter()
Returns the filter for the viewer. |
boolean |
getLockState()
Get the setting of lock state |
String |
getNewTitle()
Construct a new title. |
QSYSObjectSubSystem |
getObjectSubSystem()
Convenience method for PDMTableView class, + other classes |
protected QSYSRemotePropertiesAction |
getRemotePropertyDialogAction()
Rather than pre-defining this common action we wait until it is first needed, for performance reasons. |
protected IAction |
getRenameAction()
Rather than pre-defined this common action we wait until it is first needed, for performance reasons. |
boolean |
getRestoreFromMemento()
|
String |
getSavedViewFile()
|
String |
getSavedViewLib()
|
String |
getSavedViewLibFilterStr()
|
String |
getSavedViewMbrFilterStr()
|
String |
getSavedViewObjFilterStr()
|
Shell |
getShell()
|
String[] |
getSubsetStates()
|
Table |
getTable()
|
ObjectTableViewProvider |
getViewContentProvider()
|
ObjectTableViewer |
getViewer()
|
int |
getViewFormat()
|
int |
getViewType()
|
protected IWorkbenchPart |
getWorkbenchPart()
Get the workbench part containing this view. |
void |
init(IViewSite site,
IMemento memento)
Initializes this view with the given view site. |
void |
makeActions()
Make toolbar actions |
void |
menuAboutToShow(IMenuManager menu)
Called by parent |
void |
navigate(int iDirection)
Handles forward, backward up and down request. |
boolean |
navigateToNewView(int iNewViewType,
Object inputObj,
IBMiConnection connection)
Navigate to a new view without touching history. |
void |
positionTo()
Position view. |
void |
saveState(IMemento memento)
Method declared on IViewPart. |
void |
setColumnOderChanged()
Set the column order has been changed and refresh the view |
void |
setFocus()
|
void |
setPositionTo(String sPositionToName,
String sPositionToType)
Returns the filter for the viewer. |
void |
setSavedViewFile(String savedViewFile)
|
void |
setSavedViewLib(String savedViewLib)
|
void |
setSavedViewLibFilterStr(String savedViewLibFilterStr)
|
void |
setSavedViewMbrFilterStr(String savedViewMbrFilterStr)
|
void |
setSavedViewObjFilterStr(String savedViewObjFilterStr)
|
void |
setSubsetStates(String[] aSubsetStates)
|
void |
setViewType(int iNewViewType)
|
void |
showAll()
The filter settings have changed. |
void |
showColumns(int columnType)
Show the column type requested from the show column action |
void |
showLock()
|
void |
systemModelResourceChanged(ISystemModelChangeEvent event)
Listen to when 1) filter is deleted or renamed or changed. |
void |
systemRemoteResourceChanged(ISystemRemoteChangeEvent event)
Called when something changes in the model |
void |
systemResourceChanged(ISystemResourceChangeEvent event)
|
void |
toggleFormat()
This method is used to handle F14 In PDM F14 is for toggle between size/attribute for object list and between date/type for member list. |
void |
toggleLockState()
Change the setting of lock state |
void |
unCheckAllWorkWithHistory()
Uncheck all entries so that a new one can be checked |
void |
updateActionStates()
|
void |
updateSubsetStates()
|
void |
updateTitle()
|
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
protected Table table
protected Shell shell
protected ObjectTableViewer viewer
protected ObjectTableViewProvider vcp
protected ObjTablePrintAction iseriesPrintTableViewAction
protected ISeriesTableViewSelectAllAction iseriesTableViewSelectAllAction
protected boolean menuListenerAdded
Constructor Detail |
---|
public ObjectTableView()
Method Detail |
---|
public ObjectTableViewer getViewer()
public void setFocus()
public void createPartControl(Composite parent)
public void init(IViewSite site, IMemento memento) throws PartInitException
The parent's default implementation will ignore the memento and initialize the view in a fresh state. Subclasses may override the implementation to perform any state restoration as needed.
PartInitException
public void saveState(IMemento memento)
public void makeActions()
public void menuAboutToShow(IMenuManager menu)
public void fillLocalToolBar()
public void fillContextMenu(IMenuManager menu)
protected IWorkbenchPart getWorkbenchPart()
public Shell getShell()
public void dispose()
public String getNewTitle()
public void updateTitle()
protected QSYSRemotePropertiesAction getRemotePropertyDialogAction()
protected IAction getRenameAction()
protected IAction getDeleteAction()
public void showAll()
public void filterChanged()
public void positionTo()
public ISeriesAbstractTableViewFilter getFilter()
public void setPositionTo(String sPositionToName, String sPositionToType)
public Table getTable()
public int getViewType()
public int getViewFormat()
public void setViewType(int iNewViewType)
public String[] getSubsetStates()
public void setSubsetStates(String[] aSubsetStates)
public void updateSubsetStates()
public boolean displayNewView(int iNewViewType, Object inputObj, IBMiConnection connection, boolean addToWorkWithHistory)
public void unCheckAllWorkWithHistory()
public boolean navigateToNewView(int iNewViewType, Object inputObj, IBMiConnection connection)
connection
- Value will be ignored when the connection can be
determined from the inputObj. (Ok to pass null then.)
Value is required for filter strings.public void enableCmdSection()
public void addMenuActions()
protected void addSubclassActions(IMenuManager menu)
public void toggleFormat()
public void navigate(int iDirection)
public void displayAllLibraries(IBMiConnection newConnection)
public void toggleLockState()
public boolean getLockState()
public void showLock()
public void updateActionStates()
public static int[] getColumnMappings()
public static String[] getColumnHeaderStr()
public void setColumnOderChanged()
public void showColumns(int columnType)
columnType
- public void systemModelResourceChanged(ISystemModelChangeEvent event)
event
- public void systemRemoteResourceChanged(ISystemRemoteChangeEvent event)
public void systemResourceChanged(ISystemResourceChangeEvent event)
event
- Note: Child class PDMTableView overrides this method to handle events for
commands; but calls back here for unhandled events.public Collator getEbcdicCollator()
public IBMiConnection getConnection()
public QSYSObjectSubSystem getObjectSubSystem()
public ObjectTableViewProvider getViewContentProvider()
public String getSavedViewLibFilterStr()
public void setSavedViewLibFilterStr(String savedViewLibFilterStr)
savedViewLibFilterStr
- the savedViewLibFilterStr to setpublic String getSavedViewObjFilterStr()
public void setSavedViewObjFilterStr(String savedViewObjFilterStr)
savedViewObjFilterStr
- the savedViewObjFilterStr to setpublic String getSavedViewMbrFilterStr()
public void setSavedViewMbrFilterStr(String savedViewMbrFilterStr)
savedViewMbrFilterStr
- the savedViewMbrFilterStr to setpublic String getSavedViewLib()
public void setSavedViewLib(String savedViewLib)
savedViewLib
- the savedViewLib to setpublic String getSavedViewFile()
public void setSavedViewFile(String savedViewFile)
savedViewFile
- the savedViewFile to setpublic boolean getRestoreFromMemento()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |