Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.ui.view
Class SystemViewQSYSProcedureAdapter

java.lang.Object
  extended by AbstractSystemViewAdapter
      extended by com.ibm.etools.iseries.rse.ui.view.SystemViewQSYSProcedureAdapter

public class SystemViewQSYSProcedureAdapter
extends AbstractSystemViewAdapter


Field Summary
static String copyright
           
 
Constructor Summary
SystemViewQSYSProcedureAdapter()
           
 
Method Summary
 void addActions(SystemMenuManager menu, IStructuredSelection selection, Shell shell, String menuGroup)
           
 String getAbsoluteName(Object element)
           
 String getAbsoluteParentName(Object element)
           
 Object[] getChildren(IAdaptable element, IProgressMonitor monitor)
           
 String getDescription(Object element)
          Get the description for the given record
 ImageDescriptor getImageDescriptor(Object element)
           
 Object getParent(Object element)
           
 Object getRemoteParent(Object element, IProgressMonitor monitor)
           
 String[] getRemoteParentNamesInUse(Object element, IProgressMonitor monitor)
           
 String getRemoteSubType(Object element)
           
 String getRemoteType(Object element)
           
 String getRemoteTypeCategory(Object element)
           
 String getStatusLineText(Object element)
           
 SubSystem getSubSystem(Object element)
           
 String getSubSystemConfigurationId(Object element)
           
 String getText(Object element)
           
 String getType(Object element)
           
 boolean hasChildren(IAdaptable element)
           
protected  IPropertyDescriptor[] internalGetPropertyDescriptors()
           
protected  Object internalGetPropertyValue(Object key)
           
 boolean refreshRemoteObject(Object oldElement, Object newElement)
           
 boolean showDelete(Object element)
           
 boolean showGenericShowInTableAction(Object element)
           
 boolean showProperties(Object element)
           
 boolean showRefresh(Object element)
          Return true if we should show the refresh action in the popup for the given element.
 boolean showRename(Object element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static String copyright
Constructor Detail

SystemViewQSYSProcedureAdapter

public SystemViewQSYSProcedureAdapter()
Method Detail

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)

showRefresh

public boolean showRefresh(Object element)
Return true if we should show the refresh action in the popup for the given element. Note the actual work to do the refresh is handled for you.

Overridable by subclasses, and usually is.
Default is true.


Rational Developer for Power Systems Software
V7.6

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.