Remote Systems
v6.4.1

com.ibm.etools.systems.core.ui.uda
Interface ISystemUDTreeView

All Known Implementing Classes:
SystemTeamViewUserActionPropertyPage, SystemUDBaseTreeView

public interface ISystemUDTreeView


Method Summary
 void expandDomainNode(String displayName)
          Expand the given domain (parent) node, named by its translatable name.
 void expandDomainNodes()
          Expand the non-new domain (parent) nodes
 TreeItem findParentItem(SystemXMLElementWrapper element)
          Find the parent tree item of the given type.
 SystemUDBaseManager getDocumentManager()
          Return the action or type manager
 SystemXMLElementWrapper getSelectedElement()
           
 int getSelectedElementDomain()
          Get the selected action or type domain.
 String getSelectedElementName()
          Get the selected action or type name.
 TreeItem getSelectedNextNextTreeItem()
          Returns the tree item of the sibling two after the first selected object.
 TreeItem getSelectedNextTreeItem()
          Returns the tree item of the sibling after the first selected object.
 TreeItem getSelectedPreviousTreeItem()
          Returns the tree item of the sibling before the first selected object.
 TreeItem getSelectedTreeItem()
          Returns the tree item of the first selected object.
 Shell getShell()
          Convenience method for returning the shell of this viewer.
 String getVendorOfSelection()
          Return the vendor that is responsible for pre-supplying this existing type, or null if not applicable.
 boolean isElementAllSelected()
          Return true if currently selected element is "ALL"
 boolean isSelectionVendorSupplied()
          Return true if currently selected element is vendor supplied
 void refresh(Object element)
          Refresh given element
 void refreshElementParent(SystemXMLElementWrapper element)
          Refresh the parent of the given action.
 void selectElement(SystemXMLElementWrapper element)
          Select the given type
 void setSelection(ISelection selection)
          Set the selection
 

Method Detail

expandDomainNodes

public void expandDomainNodes()
Expand the non-new domain (parent) nodes


expandDomainNode

public void expandDomainNode(String displayName)
Expand the given domain (parent) node, named by its translatable name.


getShell

public Shell getShell()
Convenience method for returning the shell of this viewer.


getDocumentManager

public SystemUDBaseManager getDocumentManager()
Return the action or type manager


getSelectedElementName

public String getSelectedElementName()
Get the selected action or type name. Returns "" if nothing selected


getSelectedElementDomain

public int getSelectedElementDomain()
Get the selected action or type domain. Returns -1 if nothing selected or domains not supported


isElementAllSelected

public boolean isElementAllSelected()
Return true if currently selected element is "ALL"


getSelectedElement

public SystemXMLElementWrapper getSelectedElement()

selectElement

public void selectElement(SystemXMLElementWrapper element)
Select the given type


findParentItem

public TreeItem findParentItem(SystemXMLElementWrapper element)
Find the parent tree item of the given type. If it is not currently shown in the tree, or there is no parent, returns null.


refreshElementParent

public void refreshElementParent(SystemXMLElementWrapper element)
Refresh the parent of the given action. That is, find the parent and refresh the children. If the parent is not found, assume it is because it is new too, so refresh the whole tree.


getSelectedTreeItem

public TreeItem getSelectedTreeItem()
Returns the tree item of the first selected object.


getSelectedPreviousTreeItem

public TreeItem getSelectedPreviousTreeItem()
Returns the tree item of the sibling before the first selected object.


getSelectedNextTreeItem

public TreeItem getSelectedNextTreeItem()
Returns the tree item of the sibling after the first selected object.


getSelectedNextNextTreeItem

public TreeItem getSelectedNextNextTreeItem()
Returns the tree item of the sibling two after the first selected object.


isSelectionVendorSupplied

public boolean isSelectionVendorSupplied()
Return true if currently selected element is vendor supplied


getVendorOfSelection

public String getVendorOfSelection()
Return the vendor that is responsible for pre-supplying this existing type, or null if not applicable.


setSelection

public void setSelection(ISelection selection)
Set the selection


refresh

public void refresh(Object element)
Refresh given element


Remote Systems
v6.4.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.