com.ibm.etools.iseries.rse.ui.view
Class SystemViewQSYSMessageDescriptionAdapter
java.lang.Object
AbstractSystemViewAdapter
com.ibm.etools.iseries.rse.ui.view.SystemViewQSYSMessageDescriptionAdapter
public class SystemViewQSYSMessageDescriptionAdapter
- extends AbstractSystemViewAdapter
Adapter for contents of an ISeries message file. This adapts a single message description
within such a file.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
copyright
public static String copyright
SystemViewQSYSMessageDescriptionAdapter
public SystemViewQSYSMessageDescriptionAdapter()
addActions
public void addActions(SystemMenuManager menu,
IStructuredSelection selection,
Shell parent,
String menuGroup)
getChildren
public Object[] getChildren(IAdaptable element,
IProgressMonitor monitor)
getImageDescriptor
public ImageDescriptor getImageDescriptor(Object element)
getParent
public Object getParent(Object element)
getType
public String getType(Object element)
hasChildren
public boolean hasChildren(IAdaptable element)
internalGetPropertyDescriptors
protected IPropertyDescriptor[] internalGetPropertyDescriptors()
internalGetPropertyValue
protected Object internalGetPropertyValue(Object key)
getAbsoluteParentName
public String getAbsoluteParentName(Object element)
getRemoteParent
public Object getRemoteParent(Object element,
IProgressMonitor monitor)
throws Exception
- Throws:
Exception
getRemoteParentNamesInUse
public String[] getRemoteParentNamesInUse(Object element,
IProgressMonitor monitor)
throws Exception
- Throws:
Exception
refreshRemoteObject
public boolean refreshRemoteObject(Object oldElement,
Object newElement)
getRemoteSubType
public String getRemoteSubType(Object element)
getRemoteType
public String getRemoteType(Object element)
getRemoteTypeCategory
public String getRemoteTypeCategory(Object element)
getSubSystemConfigurationId
public String getSubSystemConfigurationId(Object element)
getText
public String getText(Object element)
getAbsoluteName
public String getAbsoluteName(Object object)
getSubSystem
public SubSystem getSubSystem(Object element)
getPropertyDescriptors
public IPropertyDescriptor[] getPropertyDescriptors()
- Returns the current collection of property descriptors for message description objects.
We override this versus using the inherited behavior, as we don't want the usual default properties.
- Returns:
- an array containing all descriptors.
getPropertyValue
public Object getPropertyValue(Object property)
- Returns the current value for the named property.
The parent handles P_TEXT and P_TYPE only, and we augment that here.
We override this versus using the inherited behavior, as we don't want the usual default properties.
- Parameters:
property
- the name of the property as named by its property descriptor
- Returns:
- the current value of the property
getUniquePropertyDescriptors
public IPropertyDescriptor[] getUniquePropertyDescriptors()
canDelete
public boolean canDelete(Object element)
doDelete
public boolean doDelete(Shell shell,
Object element,
IProgressMonitor monitor)
throws Exception
- Throws:
Exception
showDelete
public boolean showDelete(Object element)
showRefresh
public boolean showRefresh(Object element)
showRename
public boolean showRename(Object element)
getStatusLineText
public String getStatusLineText(Object element)
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.