|
iSeries Remote Systems v6.0.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.iseries.core.descriptors.ISeriesDataElementDescriptorType
com.ibm.etools.iseries.core.descriptors.ISeriesDescriptorTypeMbrDta
com.ibm.etools.iseries.core.descriptors.ISeriesDescriptorTypeMbrSrc
Captures all the behaviour specific to a particular type of node in the tree, representing a remote resource.
Base implementation of the abstract base class, for iSeries members (as opposed to objects and libraries, say).
Field Summary |
---|
Fields inherited from class com.ibm.etools.iseries.core.descriptors.ISeriesDataElementDescriptorType |
---|
changeObjAction, Copyright, restoreAction, saveAction |
Fields inherited from interface com.ibm.etools.iseries.core.descriptors.IISeriesDataElementDescriptorTypes |
---|
DSPF_FILE_TYPE, DTA_FILE_TYPE, FILE_TYPE, LF_FILE_TYPE, LIB_TYPE, MBR_TYPE, MESSAGE_DESCRIPTION_TYPE, MODULE_TYPE, MSG_FILE_TYPE, OBJ_TYPE, PGM_MODULE_TYPE, PGM_TYPE, PROCEDURE_TYPE, QRYDFN_TYPE, SAVF_FILE_TYPE, SRC_FILE_TYPE, SRC_MBR_TYPE, SRVPGM_TYPE, UNKNOWN_TYPE |
Constructor Summary | |
---|---|
ISeriesDescriptorTypeMbrSrc(int type)
|
Method Summary | |
---|---|
void |
addActions(com.ibm.etools.systems.dstore.core.model.DataElement deElement,
com.ibm.etools.systems.core.ui.SystemMenuManager menu,
IStructuredSelection selection,
Shell shell,
String menuGroup,
Viewer viewer)
Called by SystemView viewer when user right clicks. |
String |
getCopyCommand(com.ibm.etools.systems.dstore.core.model.DataElement deElement)
Return the iSeries command string needed to copy this object. |
ImageDescriptor |
getImage(com.ibm.etools.systems.dstore.core.model.DataElement deElement)
Return the image for the given object. |
String |
getMergeCommand(com.ibm.etools.systems.dstore.core.model.DataElement deElement)
Return the iSeries command string needed to merge this object. |
protected com.ibm.etools.systems.core.ui.actions.SystemBaseAction |
getPDMBrowseAction(Shell shell,
ISeriesLibTableViewer iseriesLibTableViewer,
ResourceBundle bundle)
Return the browse action to show in the PDM cascading menu. |
protected com.ibm.etools.systems.core.ui.actions.SystemBaseAction |
getPDMEditAction(Shell shell,
ISeriesLibTableViewer iseriesLibTableViewer,
ResourceBundle bundle)
Return the edit action to show in the PDM cascading menu. |
String |
getRemoteSourceType(com.ibm.etools.systems.dstore.core.model.DataElement deElement)
Return the source type of the selected object. |
String |
getStatusLineText(com.ibm.etools.systems.dstore.core.model.DataElement deElement)
Return the text to display on the status line, for the given object. |
boolean |
isDataMember()
Return true if this is an iSeries data member. |
boolean |
isSourceMember()
Return true if this is an iSeries source member. |
Methods inherited from class com.ibm.etools.iseries.core.descriptors.ISeriesDescriptorTypeMbrDta |
---|
getAbsoluteName, getAbsoluteParentName, getChangeCommand, getChangeTextCommand, getChangeTypeCommand, getDeleteCommand, getFilterStringForChildren, getMoveMemberAction, getNameValidator, getParent, getPDMActions, getRemoteTypeCategory, getRenameCommand, getRestoreCommand, getSaveCommand, isExpandable |
Methods inherited from class com.ibm.etools.iseries.core.descriptors.ISeriesDataElementDescriptorType |
---|
getCanonicalNewName, getChangeAction, getClipboardCopyAction, getClipboardPasteAction, getDescriptorType, getDescriptorTypeObject, getRemoteSubType, getRestoreAction, getSaveAction, getSeparator, getShowInTableAction, getTableViewID, getType, isCachable, isDataFile, isDeviceFile, isDisplayFile, isFile, isLibrary, isLogicalFile, isMember, isMemberFile, isMessageDescription, isMessageFile, isModule, isObject, isPFDataFile, isProcedure, isProgram, isProgramModule, isQueryDefinition, isServiceProgram, isSourceFile, showRefresh, toUpperCase |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ISeriesDescriptorTypeMbrSrc(int type)
type
- Method Detail |
public boolean isSourceMember()
isSourceMember
in class ISeriesDescriptorTypeMbrDta
public boolean isDataMember()
isDataMember
in class ISeriesDescriptorTypeMbrDta
public void addActions(com.ibm.etools.systems.dstore.core.model.DataElement deElement, com.ibm.etools.systems.core.ui.SystemMenuManager menu, IStructuredSelection selection, Shell shell, String menuGroup, Viewer viewer)
addActions
in class ISeriesDescriptorTypeMbrDta
deElement
- The last selected data elementmenu
- The context menu to which we can add actions using either add or appendToGroupshell
- The parent shell of the SystemView viewer, for anchoring dialogsmenuGroup
- The default menu group (GROUP_ADAPTERS) we should use for appendToGroup, unless
we wish to add our actions to one of the other groups in ISystemContextMenuConstants.viewer
- The viewer in which the user right-clickedprotected com.ibm.etools.systems.core.ui.actions.SystemBaseAction getPDMEditAction(Shell shell, ISeriesLibTableViewer iseriesLibTableViewer, ResourceBundle bundle)
getPDMEditAction
in class ISeriesDescriptorTypeMbrDta
protected com.ibm.etools.systems.core.ui.actions.SystemBaseAction getPDMBrowseAction(Shell shell, ISeriesLibTableViewer iseriesLibTableViewer, ResourceBundle bundle)
getPDMBrowseAction
in class ISeriesDescriptorTypeMbrDta
public ImageDescriptor getImage(com.ibm.etools.systems.dstore.core.model.DataElement deElement)
ISeriesDataElementDescriptorType
getImage
in class ISeriesDescriptorTypeMbrDta
public String getStatusLineText(com.ibm.etools.systems.dstore.core.model.DataElement deElement)
ISeriesDataElementDescriptorType
getStatusLineText
in class ISeriesDescriptorTypeMbrDta
public String getRemoteSourceType(com.ibm.etools.systems.dstore.core.model.DataElement deElement)
For src members, this is the member type. For others, it is null.
getRemoteSourceType
in class ISeriesDataElementDescriptorType
public String getMergeCommand(com.ibm.etools.systems.dstore.core.model.DataElement deElement)
getMergeCommand
in class ISeriesDescriptorTypeMbrDta
public String getCopyCommand(com.ibm.etools.systems.dstore.core.model.DataElement deElement)
ISeriesDataElementDescriptorType
getCopyCommand
in class ISeriesDescriptorTypeMbrDta
|
iSeries Remote Systems v6.0.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |