|
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.ISeriesDataElementAdapter
com.ibm.etools.iseries.core.ui.view.ISeriesMessageAdapter
Adapter for messages in a message queue, as opposed to message descriptions in a message file.
Field Summary | |
---|---|
static String |
Copyright
|
Fields inherited from class com.ibm.etools.iseries.core.ui.view.ISeriesDataElementAdapter |
---|
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 | |
---|---|
ISeriesMessageAdapter()
|
Method Summary | |
---|---|
void |
addActions(com.ibm.etools.systems.core.ui.SystemMenuManager menu,
IStructuredSelection selection,
Shell shell,
String menuGroup)
Add additions to popup menu |
boolean |
canDelete(Object element)
disable delete |
boolean |
canRename(Object element)
disable rename |
protected PropertyDescriptor |
createPropertyDescriptor(String propertyKey,
String rootForLabelAndDescription)
Create and return a simple string readonly property descriptor |
String |
getAbsoluteName(Object element)
Return fully qualified name that uniquely identifies this object within its subsystem |
String |
getAbsoluteParentName(Object element)
Return fully qualified name that uniquely identifies this remote object's remote parent within its subsystem |
Object[] |
getChildren(Object element)
Return the children of this object. |
String |
getDescription(Object element)
Get the description for the selected iSeries object. |
static String |
getID(com.ibm.etools.systems.dstore.core.model.DataElement element)
Return the ID of this message |
ImageDescriptor |
getImageDescriptor(Object element)
Returns an image descriptor for the image. |
static int |
getMessageType(com.ibm.etools.systems.dstore.core.model.DataElement element)
Return the type of this message, as a int. |
static String |
getMsgHelp(com.ibm.etools.systems.dstore.core.model.DataElement element)
Return the 2nd level help for this message |
static String |
getMsgText(com.ibm.etools.systems.dstore.core.model.DataElement element)
Return the first level text of this message |
static String |
getMsgType(com.ibm.etools.systems.dstore.core.model.DataElement element)
Return translated string describing the type of this message. |
Object |
getParent(Object element)
|
IPropertyDescriptor[] |
getPropertyDescriptors()
Returns the current collection of property descriptors for connection objects. |
Object |
getPropertyValue(Object key)
Returns the current value for the named property. |
Object |
getRemoteParent(Shell shell,
Object element)
Given a remote object, returns it remote parent object. |
String[] |
getRemoteParentNamesInUse(Shell shell,
Object element)
Given a remote object, return the unqualified names of the objects contained in that parent. |
String |
getRemoteSourceType(Object element)
Return the source type of the selected object. |
String |
getRemoteSubSubType(Object element)
Return the untranslated sub-subtype for this object. |
String |
getRemoteSubType(Object element)
Return the untranslated subtype of this element. |
String |
getRemoteType(Object element)
Return the untranslated type property for this object: "MESSAGE" |
String |
getRemoteTypeCategory(Object element)
Return the untranslated type category property for this object: "MESSAGES" |
static String |
getSeverity(com.ibm.etools.systems.dstore.core.model.DataElement element)
Return the severity of this message. |
String |
getStatusLineText(Object element)
Return the string to display in the status line when the given object is selected. |
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. |
protected Object |
internalGetPropertyValue(Object key)
Return our unique property values Since we override getPropertyDescriptors, we return null from here as its not used. |
boolean |
refreshRemoteObject(Object oldElement,
Object newElement)
Some view has updated the name or properties of this remote object. |
void |
setPropertyValue(Object property,
Object value)
Called when user changes property via property sheet. |
boolean |
showDelete(Object element)
disable delete |
boolean |
showOpenViewActions(Object element)
Return true if we should show the refresh action in the popup for the given element. |
boolean |
showRefresh(Object element)
disable refresh |
boolean |
showRename(Object element)
disable rename |
Methods inherited from class com.ibm.etools.iseries.core.ui.view.ISeriesDataElementAdapter |
---|
canDrag, canDrop, canEdit, checkForCollision, checkForCollision, checkForCollision, doDrag, doDrop, getCmdSubSystem, getDataElement, getEditableRemoteObject, getFileSubSystem, getFilterStringFor, getIFSFileSubSystem, getISeriesConnection, getJobSubSystem, getSystem, isDDMFile, isLibrary, isMember, isObject, isPFObject, isSrcFile, isSrcMember, validateDrop |
Methods inherited from class com.ibm.etools.iseries.core.ui.view.ISeriesBaseAdapter |
---|
supportsUserDefinedActions |
Methods inherited from class com.ibm.etools.systems.core.ui.view.AbstractSystemViewAdapter |
---|
addCommonRemoteActions, addDynamicPopupMenuActions, checkForNull, createSimplePropertyDescriptor, createSimplePropertyDescriptor, doDelete, 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, setShell, setViewer, showGenericShowInTableAction, sub, supportsDeferredQueries, testAttribute |
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 ISeriesMessageAdapter()
Method Detail |
public Object getParent(Object element)
AbstractSystemViewAdapter#getParent(Object)
public String getType(Object element)
AbstractSystemViewAdapter#getType(Object)
public String getText(Object element)
getText
in interface com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter
getText
in class ISeriesDataElementAdapter
AbstractSystemViewAdapter#getText(Object)
public ImageDescriptor getImageDescriptor(Object element)
element
- The element for which an image is desiredpublic String getStatusLineText(Object element)
getStatusLineText
in interface com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter
getStatusLineText
in class ISeriesBaseAdapter
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 void setPropertyValue(Object property, Object value)
public IPropertyDescriptor[] getUniquePropertyDescriptors()
public IPropertyDescriptor[] getPropertyDescriptors()
protected PropertyDescriptor createPropertyDescriptor(String propertyKey, String rootForLabelAndDescription)
protected IPropertyDescriptor[] internalGetPropertyDescriptors()
public Object getPropertyValue(Object key)
key
- the name of the property as named by its property descriptor
protected Object internalGetPropertyValue(Object key)
public static String getMsgHelp(com.ibm.etools.systems.dstore.core.model.DataElement element)
public static String getID(com.ibm.etools.systems.dstore.core.model.DataElement element)
public static String getMsgText(com.ibm.etools.systems.dstore.core.model.DataElement element)
public static String getSeverity(com.ibm.etools.systems.dstore.core.model.DataElement element)
public static int getMessageType(com.ibm.etools.systems.dstore.core.model.DataElement element)
public static String getMsgType(com.ibm.etools.systems.dstore.core.model.DataElement element)
public boolean showDelete(Object element)
public boolean canDelete(Object element)
public boolean showRename(Object element)
public boolean canRename(Object element)
public boolean showRefresh(Object element)
public String getDescription(Object element)
getDescription
in class ISeriesBaseAdapter
public String getAbsoluteName(Object element)
getAbsoluteName
in interface com.ibm.etools.systems.core.ui.view.ISystemRemoteElementAdapter
getAbsoluteName
in class ISeriesDataElementAdapter
public String getAbsoluteParentName(Object element)
public String getRemoteTypeCategory(Object element)
com.ibm.etool.iseries.core.IISeriesRemoteTypes
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)
getRemoteSubType
in interface com.ibm.etools.systems.core.ui.view.ISystemRemoteElementAdapter
getRemoteSubType
in class ISeriesBaseAdapter
public String getRemoteSubSubType(Object element)
getRemoteSubSubType
in interface com.ibm.etools.systems.core.ui.view.ISystemRemoteElementAdapter
getRemoteSubSubType
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)
getSubSystem
in interface com.ibm.etools.systems.core.ui.view.ISystemRemoteElementAdapter
getSubSystem
in class ISeriesDataElementAdapter
ISystemRemoteElementAdapter#getSubSystem(Object)
public boolean refreshRemoteObject(Object oldElement, Object newElement)
This is called by viewers like SystemView in response to rename and property change events.
refreshRemoteObject
in interface com.ibm.etools.systems.core.ui.view.ISystemRemoteElementAdapter
refreshRemoteObject
in class ISeriesDataElementAdapter
oldElement
- the element that was found in the treenewElement
- the updated element that was passed in the REFRESH_REMOTE event
public Object getRemoteParent(Shell shell, Object element) throws Exception
The shell is required in order to set the cursor to a busy state if a remote trip is required.
Exception
public String[] getRemoteParentNamesInUse(Shell shell, Object element) throws Exception
Exception
public boolean showOpenViewActions(Object element)
|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |