|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.systems.core.ui.view.AbstractSystemViewAdapter
com.ibm.etools.iseries.core.ui.view.ISeriesBaseAdapter
com.ibm.etools.iseries.core.ui.view.ISeriesMessageDescriptionAdapter
Adapter for contents of an ISeries message file. This adapts a single message description within such a file.
Field Summary | |
---|---|
static String |
Copyright
|
Fields inherited from class com.ibm.etools.iseries.core.ui.view.ISeriesBaseAdapter |
---|
copyright |
Fields inherited from class com.ibm.etools.systems.core.ui.view.AbstractSystemViewAdapter |
---|
_lastResults, _lastSelected, canceledObject, EMPTY_STRING_LIST, emptyList, errorObject, filterString, MEMENTO_DELIM, MSG_SUB_PREFIX, MSG_SUB1, MSG_SUB2, msgList, nullObject, propertySourceInput, shell, viewer |
Fields inherited from interface com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter |
---|
noActions |
Fields inherited from interface com.ibm.etools.systems.core.ui.view.ISystemPropertyConstants |
---|
P_ARCHIVE_COMMENT, P_ARCHIVE_EXPANDEDSIZE, P_CCSID, P_COMMAND, P_COMMENT, P_COMPILETYPE_TYPES, P_DEFAULTUSERID, P_DESCRIPTION, P_ENVLIST, P_ERROR, P_ERROR_FILENAME, P_ERROR_LINENO, P_FILE_CANONICAL_PATH, P_FILE_CLASSIFICATION, P_FILE_HIDDEN, P_FILE_LASTMODIFIED, P_FILE_PATH, P_FILE_READABLE, P_FILE_READONLY, P_FILE_SIZE, P_FILE_WRITABLE, P_FILTER, P_FILTERS, P_FILTERSTRING, P_FILTERSTRINGS, P_FILTERSTRINGS_COUNT, P_HAS_CHILDREN, P_HOSTNAME, P_IS_ACTIVE, P_IS_CONNECTED, P_IS_CONNECTION_PRIVATE, P_NBRCHILDREN, P_NEWNAME, P_OK, P_ORIGIN, P_PARENT_FILTER, P_PARENT_FILTERPOOL, P_PASSWORD, P_PORT, P_PREFIX, P_PROFILE, P_RELATED_CONNECTION, P_SEARCH_LINE, P_SHELL_CONTEXT, P_SHELL_STATUS, P_SYSTEMTYPE, P_TYPE, P_USERACTION_DOMAIN, P_USERID, P_VENDOR, P_VIRTUAL_COMMENT, P_VIRTUAL_COMPRESSEDSIZE, P_VIRTUAL_COMPRESSIONMETHOD, P_VIRTUAL_COMPRESSIONRATIO, P_VRM |
Fields inherited from interface org.eclipse.jface.viewers.IBasicPropertyConstants |
---|
P_CHILDREN, P_IMAGE, P_PARENT, P_TEXT |
Constructor Summary | |
---|---|
ISeriesMessageDescriptionAdapter()
|
Method Summary | |
---|---|
void |
addActions(com.ibm.etools.systems.core.ui.SystemMenuManager menu,
IStructuredSelection selection,
Shell shell,
String menuGroup)
|
boolean |
canDelete(Object element)
|
boolean |
canRename(Object element)
Disable rename |
protected PropertyDescriptor |
createPropertyDescriptor(String propertyKey,
String rootForLabelAndDescription)
Create and return a simple string readonly property descriptor |
boolean |
doDelete(Shell shell,
Object element)
|
String |
getAbsoluteName(Object element)
Return fully qualified name that uniquely identifies this object within its subsystem. |
String |
getAbsoluteParentName(Object element)
|
Object[] |
getChildren(Object element)
Return the children of this object. |
String |
getDescription(Object element)
Get the description for the selected iSeries object. |
ImageDescriptor |
getImageDescriptor(Object element)
Returns an image descriptor for the image. |
Object |
getParent(Object o)
|
IPropertyDescriptor[] |
getPropertyDescriptors()
Returns the current collection of property descriptors for message description objects. |
Object |
getPropertyValue(Object property)
Returns the current value for the named property. |
Object |
getRemoteParent(Shell shell,
Object element)
|
String[] |
getRemoteParentNamesInUse(Shell shell,
Object element)
|
String |
getRemoteSourceType(Object element)
Return the source type of the selected object. |
String |
getRemoteSubType(Object element)
Return the subtype of this element. |
String |
getRemoteType(Object element)
Return the untranslated type property for this object: "MESSAGE" |
String |
getRemoteTypeCategory(Object element)
|
com.ibm.etools.systems.subsystems.SubSystem |
getSubSystem(Object element)
|
String |
getSubSystemFactoryId(Object element)
Return the subsystem factory id that owns this remote object |
String |
getText(Object element)
|
String |
getType(Object element)
|
IPropertyDescriptor[] |
getUniquePropertyDescriptors()
|
boolean |
hasChildren(Object element)
|
protected IPropertyDescriptor[] |
internalGetPropertyDescriptors()
Return our unique property descriptors. |
Object |
internalGetPropertyValue(Object key)
Return our unique property values. |
boolean |
refreshRemoteObject(Object oldElement,
Object newElement)
|
boolean |
showDelete(Object element)
|
boolean |
showRefresh(Object element)
Disable refresh |
boolean |
showRename(Object element)
Disable rename |
Methods inherited from class com.ibm.etools.iseries.core.ui.view.ISeriesBaseAdapter |
---|
canEdit, getEditableRemoteObject, getFilterStringFor, getRemoteSubSubType, getStatusLineText, supportsUserDefinedActions |
Methods inherited from class com.ibm.etools.systems.core.ui.view.AbstractSystemViewAdapter |
---|
addCommonRemoteActions, addDynamicPopupMenuActions, canDrag, canDrop, checkForNull, createSimplePropertyDescriptor, createSimplePropertyDescriptor, doDrag, doDrop, doDrop, doRename, fetchDeferredChildren, getAdapter, getCancelledMessageObject, getCanonicalNewName, getChildren, getChildrenUsingExpandToFilter, getCurrentTreeView, getDefaultDescriptors, getEditableValue, getEmptyMessageObject, getFailedMessageObject, getFilterString, getFirstSelection, getInput, getInputMementoHandle, getLabel, getMementoHandle, getMementoHandleKey, getName, getNameValidator, getPropertyValue, getRemoteAdapter, getRule, getShell, getSystemFetchOperation, getSystemTree, getTranslatedFalse, getTranslatedNo, getTranslatedNotApplicable, getTranslatedNotAvailable, getTranslatedTrue, getTranslatedYes, getViewer, handleDoubleClick, initMsgObjects, isContainer, isPromptable, isPropertySet, namesAreEqual, resetPropertyValue, saveExpansionState, selectionChanged, setFilterString, setInput, setPropertySourceInput, setPropertyValue, setShell, setViewer, showGenericShowInTableAction, showOpenViewActions, sub, supportsDeferredQueries, testAttribute, validateDrop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.etools.systems.core.ui.view.ISystemRemoteElementAdapter |
---|
getName |
Field Detail |
public static final String Copyright
Constructor Detail |
public ISeriesMessageDescriptionAdapter()
Method Detail |
public ImageDescriptor getImageDescriptor(Object element)
element
- The element for which an image is desiredpublic String getType(Object element)
AbstractSystemViewAdapter#getType(Object)
public String getText(Object element)
AbstractSystemViewAdapter#getText(Object)
public boolean hasChildren(Object element)
AbstractSystemViewAdapter#hasChildren(Object)
public Object[] getChildren(Object element)
public void addActions(com.ibm.etools.systems.core.ui.SystemMenuManager menu, IStructuredSelection selection, Shell shell, String menuGroup)
public IPropertyDescriptor[] getUniquePropertyDescriptors()
public IPropertyDescriptor[] getPropertyDescriptors()
protected PropertyDescriptor createPropertyDescriptor(String propertyKey, String rootForLabelAndDescription)
protected IPropertyDescriptor[] internalGetPropertyDescriptors()
public Object getPropertyValue(Object property)
property
- the name of the property as named by its property descriptor
public Object internalGetPropertyValue(Object key)
public String getAbsoluteName(Object element)
lib/msgf MSGID(id)
public String getRemoteType(Object element)
getRemoteType
in interface com.ibm.etools.systems.core.ui.view.ISystemRemoteElementAdapter
getRemoteType
in class ISeriesBaseAdapter
public String getRemoteSubType(Object element)
We return com.ibm.etools.iseries.core.IISeriesRemoteTypes.SUBTYPE_MESSAGE_DESCRIPTION
("MSGD") here to allow actions and such to be mapped to messages.
getRemoteSubType
in interface com.ibm.etools.systems.core.ui.view.ISystemRemoteElementAdapter
getRemoteSubType
in class ISeriesBaseAdapter
public String getRemoteSourceType(Object element)
public String getSubSystemFactoryId(Object element)
getSubSystemFactoryId
in interface com.ibm.etools.systems.core.ui.view.ISystemRemoteElementAdapter
getSubSystemFactoryId
in class ISeriesBaseAdapter
public com.ibm.etools.systems.subsystems.SubSystem getSubSystem(Object element)
ISystemRemoteElementAdapter#getSubSystem(Object)
public boolean showDelete(Object element)
ISystemViewElementAdapter.showDelete(Object)
public boolean canDelete(Object element)
ISystemViewElementAdapter.canDelete(Object)
public boolean doDelete(Shell shell, Object element) throws Exception
Exception
ISystemViewElementAdapter.doDelete(Shell, Object)
public boolean showRename(Object element)
public boolean canRename(Object element)
public boolean showRefresh(Object element)
public String getAbsoluteParentName(Object element)
ISystemRemoteElementAdapter.getAbsoluteParentName(Object)
public Object getRemoteParent(Shell shell, Object element) throws Exception
Exception
ISystemRemoteElementAdapter.getRemoteParent(Shell, Object)
public String[] getRemoteParentNamesInUse(Shell shell, Object element) throws Exception
Exception
ISystemRemoteElementAdapter.getRemoteParentNamesInUse(Shell, Object)
public Object getParent(Object o)
IWorkbenchAdapter.getParent(Object)
public String getDescription(Object element)
ISeriesBaseAdapter
getDescription
in class ISeriesBaseAdapter
ISeriesBaseAdapter.getDescription(Object)
public boolean refreshRemoteObject(Object oldElement, Object newElement)
ISystemRemoteElementAdapter.refreshRemoteObject(Object, Object)
public String getRemoteTypeCategory(Object element)
ISystemRemoteElementAdapter.getRemoteTypeCategory(Object)
|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |