iSeries Remote Systems
v6.0.1

com.ibm.etools.iseries.core.search
Class ISeriesSearchResultInputElementAdapter

java.lang.Object
  extended bycom.ibm.etools.systems.core.ui.view.AbstractSystemViewAdapter
      extended bycom.ibm.etools.iseries.core.search.ISeriesSearchResultInputElementAdapter
All Implemented Interfaces:
IActionFilter, IBasicPropertyConstants, IDeferredWorkbenchAdapter, IPropertySource, com.ibm.etools.systems.subsystems.IRemoteObjectIdentifier, com.ibm.etools.systems.core.ui.view.ISystemDragDropAdapter, com.ibm.etools.systems.core.ui.view.ISystemPropertyConstants, com.ibm.etools.systems.core.ui.view.ISystemRemoveElementAdapter, com.ibm.etools.systems.core.ui.view.ISystemViewActionFilter, com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter, IWorkbenchAdapter

public class ISeriesSearchResultInputElementAdapter
extends com.ibm.etools.systems.core.ui.view.AbstractSystemViewAdapter
implements com.ibm.etools.systems.core.ui.view.ISystemRemoveElementAdapter

This class represents an adapter for an iSeries search result set.


Field Summary
static String Copyright
           
 
Fields inherited from class com.ibm.etools.systems.core.ui.view.AbstractSystemViewAdapter
_lastResults, _lastSelected, canceledObject, copyright, 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
ISeriesSearchResultInputElementAdapter()
          Constructor for ISeriesSearchResultInputElementAdapter.
 
Method Summary
 void addActions(com.ibm.etools.systems.core.ui.SystemMenuManager menu, IStructuredSelection selection, Shell parent, String menuGroup)
           
 String getAbsoluteName(Object element)
          Return the absolute name, versus just display name, of this object
 Object[] getChildren(Object element)
           
 ImageDescriptor getImageDescriptor(Object element)
           
 Object getParent(Object element)
           
 String getText(Object element)
           
 String getType(Object element)
           
 boolean hasChildren(Object element)
          Return true if this object has children.
protected  IPropertyDescriptor[] internalGetPropertyDescriptors()
          Return our unique property descriptors
 Object internalGetPropertyValue(Object key)
          Return our unique property values
 boolean remove(Object element, Object child)
           
 boolean removeAllChildren(Object element)
           
 
Methods inherited from class com.ibm.etools.systems.core.ui.view.AbstractSystemViewAdapter
addCommonRemoteActions, addDynamicPopupMenuActions, canDelete, canDrag, canDrop, canEdit, canRename, checkForNull, createSimplePropertyDescriptor, createSimplePropertyDescriptor, doDelete, doDrag, doDrop, doDrop, doRename, fetchDeferredChildren, getAdapter, getCancelledMessageObject, getCanonicalNewName, getChildren, getChildrenUsingExpandToFilter, getCurrentTreeView, getDefaultDescriptors, getEditableRemoteObject, getEditableValue, getEmptyMessageObject, getFailedMessageObject, getFilterString, getFilterStringFor, getFirstSelection, getInput, getInputMementoHandle, getLabel, getMementoHandle, getMementoHandleKey, getName, getNameValidator, getPropertyDescriptors, getPropertyValue, getPropertyValue, getRemoteAdapter, getRemoteSourceType, getRemoteSubSubType, getRule, getShell, getStatusLineText, getSubSystem, getSystemFetchOperation, getSystemTree, getTranslatedFalse, getTranslatedNo, getTranslatedNotApplicable, getTranslatedNotAvailable, getTranslatedTrue, getTranslatedYes, getUniquePropertyDescriptors, getViewer, handleDoubleClick, initMsgObjects, isContainer, isPromptable, isPropertySet, namesAreEqual, resetPropertyValue, saveExpansionState, selectionChanged, setFilterString, setInput, setPropertySourceInput, setPropertyValue, setShell, setViewer, showDelete, showGenericShowInTableAction, showOpenViewActions, showRefresh, showRename, sub, supportsDeferredQueries, testAttribute, validateDrop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values
Constructor Detail

ISeriesSearchResultInputElementAdapter

public ISeriesSearchResultInputElementAdapter()
Constructor for ISeriesSearchResultInputElementAdapter.

Method Detail

getImageDescriptor

public ImageDescriptor getImageDescriptor(Object element)
Specified by:
getImageDescriptor in interface com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter
See Also:
com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter#getImageDescriptor(Object, boolean)

getParent

public Object getParent(Object element)
Specified by:
getParent in interface com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter
See Also:
IWorkbenchAdapter.getParent(Object)

getText

public String getText(Object element)
Specified by:
getText in interface com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter
See Also:
ISystemViewElementAdapter.getText(Object)

getAbsoluteName

public String getAbsoluteName(Object element)
Return the absolute name, versus just display name, of this object

Specified by:
getAbsoluteName in interface com.ibm.etools.systems.subsystems.IRemoteObjectIdentifier

getType

public String getType(Object element)
Specified by:
getType in interface com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter
See Also:
ISystemViewElementAdapter.getType(Object)

addActions

public void addActions(com.ibm.etools.systems.core.ui.SystemMenuManager menu,
                       IStructuredSelection selection,
                       Shell parent,
                       String menuGroup)
Specified by:
addActions in interface com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter
See Also:
ISystemViewElementAdapter.addActions(SystemMenuManager, IStructuredSelection, Shell, String)

hasChildren

public boolean hasChildren(Object element)
Return true if this object has children.

Specified by:
hasChildren in interface com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter

getChildren

public Object[] getChildren(Object element)
Specified by:
getChildren in interface com.ibm.etools.systems.core.ui.view.ISystemViewElementAdapter
See Also:
IWorkbenchAdapter.getChildren(Object)

internalGetPropertyDescriptors

protected IPropertyDescriptor[] internalGetPropertyDescriptors()
Return our unique property descriptors


internalGetPropertyValue

public Object internalGetPropertyValue(Object key)
Return our unique property values


remove

public boolean remove(Object element,
                      Object child)
Specified by:
remove in interface com.ibm.etools.systems.core.ui.view.ISystemRemoveElementAdapter
See Also:
ISystemRemoveElementAdapter.remove(java.lang.Object, java.lang.Object)

removeAllChildren

public boolean removeAllChildren(Object element)
Specified by:
removeAllChildren in interface com.ibm.etools.systems.core.ui.view.ISystemRemoveElementAdapter
See Also:
ISystemRemoveElementAdapter.removeAllChildren(java.lang.Object)

iSeries Remote Systems
v6.0.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.