|
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.ISeriesQSYSAdapter
A comment would normally go here
Field Summary | |
---|---|
static String |
copyright
|
protected String |
dataElementName
|
protected Object[] |
emptyList
|
protected Object[] |
msgList
|
protected static boolean |
showExtension
|
Fields inherited from class com.ibm.etools.systems.core.ui.view.AbstractSystemViewAdapter |
---|
_lastResults, _lastSelected, canceledObject, EMPTY_STRING_LIST, errorObject, filterString, MEMENTO_DELIM, MSG_SUB_PREFIX, MSG_SUB1, MSG_SUB2, nullObject, propertySourceInput, shell, viewer |
Fields inherited from interface com.ibm.etools.systems.core.resources.ISystemTextEditorConstants |
---|
BIDI_LOGICAL_KEY, CCSID_KEY, Copyright, EDITOR_PROFILE_TYPE, LOCAL_ENCODING_KEY, MAX_LINE_LENGTH_KEY, SEQUENCE_NUMBERS_KEY, SOURCE_ENCODING_KEY, SYSTEM_TEXT_BROWSER_ID, SYSTEM_TEXT_EDITOR_ID, TEMP_CCSID_KEY |
Fields inherited from interface com.ibm.etools.iseries.core.descriptors.IISeriesDataElementDescriptorTypes |
---|
Copyright, 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 |
Fields inherited from interface com.ibm.etools.systems.core.ISystemMessages |
---|
FILEMSG_ARCHIVE_CORRUPTED, FILEMSG_COPY_FILE_FAILED, FILEMSG_COPY_ROOT, FILEMSG_CREATE_FILE_FAILED, FILEMSG_CREATE_FILE_FAILED_EXIST, FILEMSG_CREATE_FOLDER_FAILED, FILEMSG_CREATE_FOLDER_FAILED_EXIST, FILEMSG_CREATE_RESOURCE_NOTVISIBLE, FILEMSG_DELETE_FILE_FAILED, FILEMSG_DELETING, FILEMSG_DESTINATION_CONFLICTING, FILEMSG_DESTINATION_EMPTY, FILEMSG_ERROR_NOFILETYPES, FILEMSG_EXPORT_ERROR, FILEMSG_EXPORT_FAILED, FILEMSG_EXPORT_NONE_SELECTED, FILEMSG_EXPORT_PROBLEMS, FILEMSG_FILE_NOTFOUND, FILEMSG_FOLDER_IS_FILE, FILEMSG_FOLDER_NOTEMPTY, FILEMSG_FOLDER_NOTFOUND, FILEMSG_FOLDER_NOTFOUND_WANTTOCREATE, FILEMSG_IMPORT_ERROR, FILEMSG_IMPORT_FAILED, FILEMSG_IMPORT_FILTERING, FILEMSG_IMPORT_NONE_SELECTED, FILEMSG_IMPORT_PROBLEMS, FILEMSG_IMPORT_SELF, FILEMSG_IO_ERROR, FILEMSG_MOVE_FILE_FAILED, FILEMSG_MOVE_TARGET_DESCENDS_FROM_SOUCE, FILEMSG_MOVE_TARGET_EQUALS_SOURCE, FILEMSG_NOT_WRITABLE, FILEMSG_RENAME_FILE_FAILED, FILEMSG_RENAME_RESOURCE_NOTVISIBLE, FILEMSG_SECURITY_ERROR, FILEMSG_SOURCE_EMPTY, FILEMSG_SOURCE_IS_FILE, FILEMSG_TARGET_EXISTS, FILEMSG_VALIDATE_FILEFILTERSTRING_EMPTY, FILEMSG_VALIDATE_FILEFILTERSTRING_NOINCLUDES, FILEMSG_VALIDATE_FILEFILTERSTRING_NOTUNIQUE, FILEMSG_VALIDATE_FILEFILTERSTRING_NOTVALID, MSG_ADDTO_VIRTUAL_DEST, MSG_CACHE_UNABLE_TO_SYNCH, MSG_CACHE_UPLOAD_BEFORE_DELETE, MSG_COMBINETO_VIRTUAL_DEST, MSG_COMM_AUTH_FAILED, MSG_COMM_CLIENT_OLDER_WARNING, MSG_COMM_CONNECT_FAILED, MSG_COMM_DAEMON_NOTSTARTED, MSG_COMM_ENVVAR_DUPLICATE, MSG_COMM_ENVVAR_INVALIDCHAR, MSG_COMM_ENVVAR_NONAME, MSG_COMM_INCOMPATIBLE_PROTOCOL, MSG_COMM_INCOMPATIBLE_UPDATE, MSG_COMM_INVALID_LOGIN, MSG_COMM_PORT_WARNING, MSG_COMM_PWD_BLANKFIELD, MSG_COMM_PWD_EXISTS, MSG_COMM_PWD_INVALID, MSG_COMM_PWD_MISMATCH, MSG_COMM_REXEC_NOTSTARTED, MSG_COMM_SERVER_NOTSTARTED, MSG_COMM_SERVER_OLDER_WARNING, MSG_CONFIRM_CHANGES, MSG_CONFIRM_CHANGES_CANCELABLE, MSG_CONFIRM_DELETE, MSG_CONFIRM_DELETE_USERACTION, MSG_CONFIRM_DELETE_USERTYPE, MSG_CONFIRM_DELETEPROFILE, MSG_CONFIRM_DELETEREMOTE, MSG_CONFIRM_ENABLE_CLASSIC_HELP, MSG_CONFIRM_RELOADRSE, MSG_CONNECT_CANCELLED, MSG_CONNECT_DAEMON_FAILED, MSG_CONNECT_DAEMON_FAILED_EXCEPTION, MSG_CONNECT_FAILED, MSG_CONNECT_PROGRESS, MSG_CONNECT_SSL_EXCEPTION, MSG_CONNECT_UNKNOWNHOST, MSG_CONNECTING_TO_SERVER, MSG_CONNECTION_DELETED, MSG_CONNECTWITHPORT_PROGRESS, MSG_CONVERTTO_VIRTUAL_DEST, MSG_COPY_PROGRESS, MSG_COPYCONNECTION_PROGRESS, MSG_COPYCONNECTIONS_PROGRESS, MSG_COPYFILTER_PROGRESS, MSG_COPYFILTERPOOL_COMPLETE, MSG_COPYFILTERPOOL_PROGRESS, MSG_COPYFILTERPOOLS_PROGRESS, MSG_COPYFILTERS_PROGRESS, MSG_COPYFILTERSTRING_PROGRESS, MSG_COPYFILTERSTRINGS_PROGRESS, MSG_COPYGENERIC_PROGRESS, MSG_COPYSUBSYSTEMS_PROGRESS, MSG_COPYTHINGGENERIC_PROGRESS, MSG_DEST_NOT_IN_SOURCE, MSG_DEST_TARGET_READONLY, MSG_DISCONNECT_CANCELLED, MSG_DISCONNECT_FAILED, MSG_DISCONNECT_PROGRESS, MSG_DISCONNECTWITHPORT_PROGRESS, MSG_DOWNLOAD_ALREADY_OPEN_IN_EDITOR, MSG_DOWNLOAD_NO_WRITE, MSG_DOWNLOAD_PROGRESS, MSG_DOWNLOADING_PROGRESS, MSG_ERROR_CONNECTION_NOTFOUND, MSG_ERROR_ENABLE_CLASSIC_HELP, MSG_ERROR_EXTENSION_EMPTY, MSG_ERROR_FILE_NOTFOUND, MSG_ERROR_FILENAME_INVALID, MSG_ERROR_FOLDER_NOTFOUND, MSG_ERROR_FOLDERORFILE_NOTFOUND, MSG_ERROR_GENERAL, MSG_ERROR_LIST_TITLE, MSG_ERROR_PROFILE_NOTFOUND, MSG_ERROR_UNEXPECTED, MSG_EXCEPTION_DELETING, MSG_EXCEPTION_MOVING, MSG_EXCEPTION_OCCURRED, MSG_EXCEPTION_RENAMING, MSG_EXPAND_CANCELLED, MSG_EXPAND_CONNECTIONCREATED, MSG_EXPAND_EMPTY, MSG_EXPAND_FAILED, MSG_EXPAND_FILTERCREATED, MSG_EXPAND_PREFIX, MSG_EXTRACT_PROGRESS, MSG_FILE_INUSE, MSG_FILTERPOOL_CREATED, MSG_FOLDER_INUSE, MSG_GENERIC_E, MSG_GENERIC_E_HELP, MSG_GENERIC_E_TWOPARMS_HELP, MSG_GENERIC_I, MSG_GENERIC_I_HELP, MSG_GENERIC_I_TWOPARMS_HELP, MSG_GENERIC_Q, MSG_GENERIC_Q_HELP, MSG_GENERIC_Q_TWOPARMS_HELP, MSG_GENERIC_U, MSG_GENERIC_U_HELP, MSG_GENERIC_U_TWOPARMS_HELP, MSG_GENERIC_W, MSG_GENERIC_W_HELP, MSG_GENERIC_W_TWOPARMS_HELP, MSG_HOSTNAME_NOTFOUND, MSG_HOSTNAME_VERIFYING, MSG_IMPORT_EXPORT_UNABLE_TO_USE_CONNECTION, MSG_IMPORT_EXPORT_UNEXPECTED_EXCEPTION, MSG_INITIALIZING_SERVER, MSG_LIST_CANCELLED, MSG_LIST_PREFIX, MSG_LOADING_PROFILE_SHOULDBE_ACTIVATED, MSG_LOADING_PROFILE_SHOULDNOTBE_DEACTIVATED, MSG_MOVE_PROGRESS, MSG_MOVECONNECTION_PROGRESS, MSG_MOVECONNECTIONS_PROGRESS, MSG_MOVEFILTER_PROGRESS, MSG_MOVEFILTERPOOL_COMPLETE, MSG_MOVEFILTERPOOL_PROGRESS, MSG_MOVEFILTERPOOLS_PROGRESS, MSG_MOVEFILTERS_PROGRESS, MSG_MOVEFILTERSTRING_PROGRESS, MSG_MOVEFILTERSTRINGS_PROGRESS, MSG_MOVEGENERIC_PROGRESS, MSG_MOVETHINGGENERIC_PROGRESS, MSG_OFFLINE_CANT_CONNECT, MSG_OPERATION_CANCELLED, MSG_OPERATION_DISCONNECTED, MSG_OPERATION_FAILED, MSG_OPERATION_FINISHED, MSG_OPERATION_RUNNING, MSG_OPERTION_STOPPED, MSG_PERCENT_DONE, MSG_PREFIX, MSG_QUERY_PROGRESS, MSG_QUERY_PROPERTIES_PROGRESS, MSG_REMOTE_JAR_EXPORT_OVERWRITE_FILE, MSG_REMOTE_SEARCH_INVALID_REGEX, MSG_RENAMEFILTER_FAILED, MSG_RESOLVE_PROGRESS, MSG_RESTORE_FAILED, MSG_RUN_PROGRESS, MSG_SAVE_CHANGES_PENDING, MSG_SAVE_FAILED, MSG_SAVING_PROGRESS, MSG_SET_PROGRESS, MSG_SET_PROPERTIES_PROGRESS, MSG_STARTING_SERVER_VIA_DAEMON, MSG_STARTING_SERVER_VIA_REXEC, MSG_SYNCHRONIZE_PROGRESS, MSG_TRANSFER_INVALID, MSG_UCMD_INVOCATION_EMPTY, MSG_UDA_LOAD_ERROR, MSG_UDA_ROOTTAG_ERROR, MSG_UFF_PATTERN_EMPTY, MSG_UFF_PATTERN_INVALID_REGEX, MSG_UNDERCONSTRUCTION, MSG_UPDATEFILTER_FAILED, MSG_UPLOAD_FILE_EXISTS, MSG_UPLOAD_PROGRESS, MSG_UPLOADING_PROGRESS, MSG_VALIDATE_ARCHIVE_NAME, MSG_VALIDATE_COMPILELABEL_EMPTY, MSG_VALIDATE_COMPILELABEL_NOTUNIQUE, MSG_VALIDATE_COMPILELABEL_NOTVALID, MSG_VALIDATE_COMPILESTRING_EMPTY, MSG_VALIDATE_COMPILESTRING_NOTVALID, MSG_VALIDATE_CONNECTIONNAME_EMPTY, MSG_VALIDATE_CONNECTIONNAME_NOTUNIQUE, MSG_VALIDATE_CONNECTIONNAME_NOTUNIQUE_OTHERPROFILE, MSG_VALIDATE_CONNECTIONNAME_NOTVALID, MSG_VALIDATE_ENTRY_EMPTY, MSG_VALIDATE_ENTRY_NOTUNIQUE, MSG_VALIDATE_ENTRY_NOTVALID, MSG_VALIDATE_FILENAME_NOTVALID, MSG_VALIDATE_FILTERNAME_EMPTY, MSG_VALIDATE_FILTERNAME_NOTUNIQUE, MSG_VALIDATE_FILTERNAME_NOTVALID, MSG_VALIDATE_FILTERPOOLNAME_EMPTY, MSG_VALIDATE_FILTERPOOLNAME_NOTUNIQUE, MSG_VALIDATE_FILTERPOOLNAME_NOTVALID, MSG_VALIDATE_FILTERSTRING_ALREADYEXISTS, MSG_VALIDATE_FILTERSTRING_DUPLICATES, MSG_VALIDATE_FILTERSTRING_EMPTY, MSG_VALIDATE_FILTERSTRING_NOTUNIQUE, MSG_VALIDATE_FILTERSTRING_NOTVALID, MSG_VALIDATE_FOLDERNAME_NOTVALID, MSG_VALIDATE_HOSTNAME_EMPTY, MSG_VALIDATE_NAME_EMPTY, MSG_VALIDATE_NAME_NOTUNIQUE, MSG_VALIDATE_NAME_NOTVALID, MSG_VALIDATE_NOT_NUMERIC, MSG_VALIDATE_NUMBER_EMPTY, MSG_VALIDATE_NUMBER_NOTVALID, MSG_VALIDATE_NUMBER_OUTOFRANGE, MSG_VALIDATE_PASSWORD_EMPTY, MSG_VALIDATE_PASSWORD_EXPIRED, MSG_VALIDATE_PATH_EMPTY, MSG_VALIDATE_PATH_NOTUNIQUE, MSG_VALIDATE_PATH_NOTVALID, MSG_VALIDATE_PORT_EMPTY, MSG_VALIDATE_PORT_NOTVALID, MSG_VALIDATE_PROFILENAME_EMPTY, MSG_VALIDATE_PROFILENAME_NOTUNIQUE, MSG_VALIDATE_PROFILENAME_NOTVALID, MSG_VALIDATE_PROFILENAME_RESERVED, MSG_VALIDATE_RENAME_EMPTY, MSG_VALIDATE_RENAME_NOTUNIQUE, MSG_VALIDATE_RENAME_NOTVALID, MSG_VALIDATE_RENAME_OLDEQUALSNEW, MSG_VALIDATE_SRCTYPE_EMPTY, MSG_VALIDATE_SRCTYPE_NOTUNIQUE, MSG_VALIDATE_SRCTYPE_NOTVALID, MSG_VALIDATE_UDACMD_EMPTY, MSG_VALIDATE_UDACMD_NOTVALID, MSG_VALIDATE_UDACMT_EMPTY, MSG_VALIDATE_UDACMT_NOTVALID, MSG_VALIDATE_UDANAME_EMPTY, MSG_VALIDATE_UDANAME_NOTUNIQUE, MSG_VALIDATE_UDANAME_NOTVALID, MSG_VALIDATE_UDTNAME_EMPTY, MSG_VALIDATE_UDTNAME_NOTUNIQUE, MSG_VALIDATE_UDTNAME_NOTVALID, MSG_VALIDATE_UDTTYPES_EMPTY, MSG_VALIDATE_UDTTYPES_NOTVALID, MSG_VALIDATE_USERID_EMPTY, MSG_VALIDATE_USERID_NOTVALID, MSG_WIZARD_PAGE_ERROR, NEW_FILE_ACTION, NEW_FILE_WIZARD, NEW_FOLDER_ACTION, NEW_FOLDER_WIZARD, PLUGIN_ID, PREFIX, RESID_PREFIX |
Fields inherited from interface com.ibm.etools.systems.subsystems.IRemoteObjectIdentifier |
---|
Copyright |
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 | |
---|---|
ISeriesQSYSAdapter()
|
Method Summary | |
---|---|
void |
addActions(com.ibm.etools.systems.core.ui.SystemMenuManager menu,
IStructuredSelection selection,
Shell shell,
String menuGroup)
Called by SystemView viewer when user right clicks. |
boolean |
canDelete(Object element)
Should the delete action be enabled for the given selected object? |
boolean |
canRename(Object element)
Should the rename action be enabled for the given selected object? |
protected PropertyDescriptor |
createPropertyDescriptor(String propertyKey,
String rootForLabelAndDescription)
Create and return a simple string readonly property descriptor |
protected PropertyDescriptor |
createTextPropertyDescriptor(String propertyKey,
String rootForLabelAndDescription)
Create and return an editable test string property descriptor |
boolean |
doDelete(Shell shell,
Object element)
Delete the given selected object |
boolean |
doRename(Shell shell,
Object element,
String name)
Rename the given selected object |
String |
getAbsoluteName(Object element)
Return fully qualified name that uniquely identifies this remote object within its subsystem |
String |
getAbsoluteParentName(Object element)
Return fully qualified name that uniquely identifies this remote object's remote parent within its subsystem. |
String |
getCanonicalNewName(Object element,
String newName)
Parent override. |
Object[] |
getChildren(Object input)
|
Object[] |
getChildrenUsingExpandToFilter(Object element,
String expandToFilter)
Return the children of this object, using the given Expand-To filter. |
String |
getDescription(Object element)
Get the description for the selected iSeries object. |
static ImageDescriptor |
getIconImageDescriptor(com.ibm.etools.systems.dstore.core.model.DataElement element)
|
ImageDescriptor |
getImageDescriptor(Object element)
Returns an image descriptor for the image. |
String |
getName(Object element)
Return the name of this object, which may be different than the display text ({#link #getText(Object)}. |
com.ibm.etools.systems.core.ui.validators.ISystemValidator |
getNameValidator(Object element)
Return a validator for verifying the new name is correct. |
static String |
getObjectNamePlusExtension(com.ibm.etools.systems.dstore.core.model.DataElement element,
String name)
Return object name plus type plus attribute |
Object |
getParent(Object element)
|
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 For objects, this is the object type. |
String |
getRemoteTypeCategory(Object element)
Return the untranslated type category property for this object. |
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)
|
boolean |
handleDoubleClick(Object element)
User has double clicked on an object. |
boolean |
hasChildren(Object element)
|
protected IPropertyDescriptor[] |
internalGetPropertyDescriptors()
Return our unique property descriptors for driving the property sheet |
protected Object |
internalGetPropertyValue(Object key)
Returns the current value for the named property. |
boolean |
namesAreEqual(Object element,
String newName)
Parent override. |
boolean |
refreshRemoteObject(Object oldElement,
Object newElement)
Some view has updated the name or properties of this remote object. |
void |
selectionChanged(Object element)
Handle the selection changed in tree view and display the table view if necesary |
void |
setPropertyValue(Object property,
Object value)
Called when user changes property via property sheet. |
static void |
setShowExtension(boolean showExtensionInput)
Set whether to show the extension or not at the tree view |
boolean |
showRefresh(Object element)
showRefresh determines whether or not the Refresh action appears on the popup menu for an object. |
boolean |
testAttribute(Object target,
String name,
String value)
Intercept of parent method to do more efficient checking for isOffline... |
static String |
toUpperCase(String name)
Uppercase the given name, but only if it is not quoted. |
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, doDrop, fetchDeferredChildren, getAdapter, getCancelledMessageObject, getChildren, getCurrentTreeView, getDefaultDescriptors, getEditableValue, getEmptyMessageObject, getFailedMessageObject, getFilterString, getFirstSelection, getInput, getInputMementoHandle, getLabel, getMementoHandle, getMementoHandleKey, getPropertyDescriptors, getPropertyValue, getPropertyValue, getRemoteAdapter, getRule, getShell, getSystemFetchOperation, getSystemTree, getTranslatedFalse, getTranslatedNo, getTranslatedNotApplicable, getTranslatedNotAvailable, getTranslatedTrue, getTranslatedYes, getUniquePropertyDescriptors, getViewer, initMsgObjects, isContainer, isPromptable, isPropertySet, resetPropertyValue, saveExpansionState, setFilterString, setInput, setPropertySourceInput, setShell, setViewer, showDelete, showGenericShowInTableAction, showOpenViewActions, showRename, sub, supportsDeferredQueries |
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 Object[] emptyList
protected Object[] msgList
protected static boolean showExtension
protected String dataElementName
Constructor Detail |
public ISeriesQSYSAdapter()
Method Detail |
public String getText(Object element)
getText
in interface com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter
getText
in class ISeriesDataElementAdapter
AbstractSystemViewAdapter.getText(Object)
public static String getObjectNamePlusExtension(com.ibm.etools.systems.dstore.core.model.DataElement element, String name)
public String getName(Object element)
Called by common rename and delete actions, and used to populate property sheet.
getName
in interface com.ibm.etools.systems.core.ui.view.ISystemRemoteElementAdapter
public void addActions(com.ibm.etools.systems.core.ui.SystemMenuManager menu, IStructuredSelection selection, Shell shell, String menuGroup)
addActions
in interface com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter
menu
- 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.public Object getParent(Object element)
getParent
in interface com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter
AbstractSystemViewAdapter.getParent(Object)
public String getType(Object element)
getType
in interface com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter
AbstractSystemViewAdapter.getType(Object)
public Object[] getChildren(Object input)
getChildren
in interface com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter
AbstractSystemViewAdapter.getChildren(Object)
public Object[] getChildrenUsingExpandToFilter(Object element, String expandToFilter)
getChildrenUsingExpandToFilter
in interface com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter
public boolean showRefresh(Object element)
showRefresh
in interface com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter
public boolean hasChildren(Object element)
hasChildren
in interface com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter
AbstractSystemViewAdapter.hasChildren(Object)
public void setPropertyValue(Object property, Object value)
setPropertyValue
in interface IPropertySource
protected IPropertyDescriptor[] internalGetPropertyDescriptors()
protected PropertyDescriptor createPropertyDescriptor(String propertyKey, String rootForLabelAndDescription)
protected PropertyDescriptor createTextPropertyDescriptor(String propertyKey, String rootForLabelAndDescription)
public ImageDescriptor getImageDescriptor(Object element)
getImageDescriptor
in interface com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter
element
- The element for which an image is desiredprotected Object internalGetPropertyValue(Object key)
key
- the name of the property as named by its property descriptor
public boolean canDelete(Object element)
canDelete
in interface com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter
public boolean doDelete(Shell shell, Object element) throws Exception
doDelete
in interface com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter
Exception
public boolean canRename(Object element)
canRename
in interface com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter
public boolean doRename(Shell shell, Object element, String name) throws Exception
doRename
in interface com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter
Exception
public com.ibm.etools.systems.core.ui.validators.ISystemValidator getNameValidator(Object element)
getNameValidator
in interface com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter
public String getCanonicalNewName(Object element, String newName)
Form and return a new canonical (unique) name for this object, given a candidate for the new name. This is called by the generic multi-rename dialog to test that all new names are unique. To do this right, sometimes more than the raw name itself is required to do uniqueness checking.
For objects, returns newName.objectType, for everything else, returns newName
getCanonicalNewName
in interface com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter
public boolean namesAreEqual(Object element, String newName)
Compare the name of the given element to the given new name to decide if they are equal. Allows adapters to consider case and quotes as appropriate.
Does a case-sensitive compare for quoted names, else a case-insensitive compare.
namesAreEqual
in interface com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter
public static String toUpperCase(String name)
public static ImageDescriptor getIconImageDescriptor(com.ibm.etools.systems.dstore.core.model.DataElement element)
public String getStatusLineText(Object element)
getStatusLineText
in interface com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter
getStatusLineText
in class ISeriesBaseAdapter
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)
getAbsoluteParentName
in interface com.ibm.etools.systems.core.ui.view.ISystemRemoteElementAdapter
public String getRemoteTypeCategory(Object element)
getRemoteTypeCategory
in interface com.ibm.etools.systems.core.ui.view.ISystemRemoteElementAdapter
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)
For src members, this is the member type. For others, it is null.
getRemoteSourceType
in interface com.ibm.etools.systems.core.ui.view.ISystemRemoteElementAdapter
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.
getRemoteParent
in interface com.ibm.etools.systems.core.ui.view.ISystemRemoteElementAdapter
Exception
public String[] getRemoteParentNamesInUse(Shell shell, Object element) throws Exception
getRemoteParentNamesInUse
in interface com.ibm.etools.systems.core.ui.view.ISystemRemoteElementAdapter
Exception
public boolean handleDoubleClick(Object element)
handleDoubleClick
in interface com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter
public void selectionChanged(Object element)
selectionChanged
in interface com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter
public boolean testAttribute(Object target, String name, String value)
testAttribute
in interface IActionFilter
public static void setShowExtension(boolean showExtensionInput)
|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |