Runtime

## Uses of Class
org.eclipse.gmf.runtime.common.ui.dialogs.SelectableElement

Packages that use SelectableElement
org.eclipse.gmf.runtime.common.ui.dialogs: Provides implementations of various common dialogs.

Uses of SelectableElement in org.eclipse.gmf.runtime.common.ui.dialogs

Fields in org.eclipse.gmf.runtime.common.ui.dialogs declared as SelectableElement
`protected SelectableElement` `ShowRelatedElementsPredefinedComposite.rootElement` Root SelectableElement

Methods in org.eclipse.gmf.runtime.common.ui.dialogs that return SelectableElement
`SelectableElement` `SelectableElement.getChild(int i)` Returns a child
`SelectableElement` `SelectableElement.getParent()` Returns the parent of this element.
`SelectableElement[]` `SelectableElement.getChildren()` Returns the children of this element as an array
`SelectableElement` `SelectableElement.makeCopy()` Same idea as the clone method.
`static SelectableElement` `SelectableElement.findById(java.util.List selectableElements, java.lang.String id)` Return the first element that matches the given id from the List of SelectableElement objects
`SelectableElement` `SelectableElement.findById(java.lang.String theId)` Return the first element that matches the given id from this SelectableElement and its children
`SelectableElement` `ShowRelatedElementsComposite.getRootElement()` Return the root element for the viewer
`SelectableElement` `ShowRelatedElementsDialog.getRootElement()` Returns the root element of the RelatedElements that were in the viewer control at the left of the dialog.
`SelectableElement` `ShowHideRelationshipsDialog.getRootElement()` Returns the root element of the RelatedElements that were in the viewer control at the left of the dialog.

Methods in org.eclipse.gmf.runtime.common.ui.dialogs with parameters of type SelectableElement
`void` `SelectableElement.addChild(SelectableElement element)` Adds a child to this element
`void` `SelectableElement.setParent(SelectableElement aParent)` Sets the parent of this element.
`static void` `SelectableElement.setSelectedTypeForSelecteableElementAndChildren(SelectableElement parent, SelectedType selectedType)` Sets the SelectedType for a SelectableElement and its children
`static void` `SelectableElement.setSelectedTypeForMatchingSelecteableElementAndChildren(SelectableElement parent, SelectedType selectedType, java.util.List list)` Sets the SelectedType for a SelectableElement and its children that match the IDs in the List of IDs.
`static int` `SelectableElement.calculateLongestStringLength(SelectableElement selectableElement, Control control)` Calculates the longest string length of this element's children for the text that will be displayed in the control.
`static int` `SelectableElement.calculateNumberOfChildren(SelectableElement selectableElement)` Returns the number of children including itself.
`static void` `SelectableElement.addHintsToList(java.util.List list, SelectableElement selectableElement)` Recursively add this SelectableElement's and this SelectableElement's children's hints to a List which is not null.
`static boolean` `SelectableElement.doAllChildrenHaveSelectedType(SelectableElement parent, SelectedType selectType)` Returns if all children have the same selected type
`static void` `SelectableElement.getAllChildrenOfType(SelectableElement parent, SelectedType selectType, java.util.List list)` Return all children that have the SelectedType.
`void` `ShowRelatedElementsComposite.resetRootElement(SelectableElement newRootElement)` Resets the root SelectableElement.
`protected ShowRelatedElementsPredefinedComposite` `ShowRelatedElementsDialog.makePredefinedComposite(Composite parent, SelectableElement root, java.util.List queries, int viewerWidth)` Make the predefined composite
`protected ShowRelatedElementsComposite` `ShowRelatedElementsDialog.makeShowRelatedElementsCompositeInPlaceholder(Composite parent, SelectableElement root)` Suggested that you override makeShowRelatedElementsComposite instead, unless you have a good reason for overriding the plcaeholder composite too.
`protected ShowRelatedElementsComposite` `ShowRelatedElementsDialog.makeShowRelatedElementsComposite(Composite parent, SelectableElement root, int aViewerWidth)` Make the show related elements composite

Constructors in org.eclipse.gmf.runtime.common.ui.dialogs with parameters of type SelectableElement
`ShowRelatedElementsComposite(Composite parent, SelectableElement aRootElement, int preferredViewerWidth)` Constructor for ShowRelatedElementsComposite.
`ShowRelatedElementsComposite(Composite parent, SelectableElement aRootElement, boolean createExpansion, int preferredViewerWidth)` Constructor for ShowRelatedElementsComposite.
`ShowRelatedElementsDialog(Shell parentShell, SelectableElement aRootElement)` Constructor takes the parent shell and root SelectableElement to add into the viewer.
`ShowRelatedElementsDialog(Shell parentShell, SelectableElement aRootElement, java.util.List aQueriesList)` Constructor takes the parent shell and root SelectableElement to add into the viewer.
`ShowHideRelationshipsDialog(Shell parentShell, SelectableElement aRootElement)` Constructor takes the parent shell and data to add into the viewer
`ShowRelatedElementsPredefinedComposite(Composite parent, IShowRelatedElementsWithDetails sreWithDetails, SelectableElement root, java.util.List queriesList, int width, boolean detailsShown)` Constructor

Runtime

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.