com.ibm.etools.iseries.rse.ui.view
Class SystemViewRecordAdapter
java.lang.Object
AbstractSystemViewAdapter
com.ibm.etools.iseries.rse.ui.view.SystemViewRecordAdapter
public class SystemViewRecordAdapter
- extends AbstractSystemViewAdapter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
copyright
public static String copyright
SystemViewRecordAdapter
public SystemViewRecordAdapter()
addActions
public void addActions(SystemMenuManager menu,
IStructuredSelection selection,
Shell shell,
String menuGroup)
getImageDescriptor
public ImageDescriptor getImageDescriptor(Object element)
getText
public String getText(Object element)
getType
public String getType(Object element)
getStatusLineText
public String getStatusLineText(Object element)
getDescription
public String getDescription(Object element)
- Get the description for the given record
internalGetPropertyDescriptors
protected IPropertyDescriptor[] internalGetPropertyDescriptors()
internalGetPropertyValue
protected Object internalGetPropertyValue(Object key)
showDelete
public boolean showDelete(Object element)
showRename
public boolean showRename(Object element)
getAbsoluteName
public String getAbsoluteName(Object element)
getRemoteType
public String getRemoteType(Object element)
getRemoteSubType
public String getRemoteSubType(Object element)
getRemoteTypeCategory
public String getRemoteTypeCategory(Object element)
getSubSystem
public SubSystem getSubSystem(Object element)
refreshRemoteObject
public boolean refreshRemoteObject(Object oldElement,
Object newElement)
getChildren
public Object[] getChildren(IAdaptable element,
IProgressMonitor monitor)
hasChildren
public boolean hasChildren(IAdaptable element)
getRemoteParentNamesInUse
public String[] getRemoteParentNamesInUse(Object element,
IProgressMonitor monitor)
throws Exception
- Throws:
Exception
getSubSystemConfigurationId
public String getSubSystemConfigurationId(Object element)
showGenericShowInTableAction
public boolean showGenericShowInTableAction(Object element)
showProperties
public boolean showProperties(Object element)
getAbsoluteParentName
public String getAbsoluteParentName(Object element)
getRemoteParent
public Object getRemoteParent(Object element,
IProgressMonitor monitor)
throws Exception
- Throws:
Exception
getParent
public Object getParent(Object element)
getChildrenResultsFromException
protected Object[] getChildrenResultsFromException(IAdaptable element,
InvocationTargetException e)
- Get the results from an exception to see which error message should be displayed below the parent
Copyright © 2011 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.