org.eclipse.cdt.managedbuilder.ui.properties
Class ToolListElement
java.lang.Object
org.eclipse.cdt.managedbuilder.ui.properties.ToolListElement
public class ToolListElement
- extends java.lang.Object
This class represent the elements in the TreeViewer that displays the tools
and categories in the tool options property pages. The reason for these
elements is illustrated by bugzilla #123461. We used to use the ToolChain,
Tool and OptionCategory objects themselves as the elements in the TreeViewer,
but the same OptionCategory can appear more than once in the list of Tree
Viewer items, and this caused problems.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ToolListElement
public ToolListElement(ToolListElement parent,
IHoldsOptions optionHolder,
IOptionCategory optionCategory)
ToolListElement
public ToolListElement(ITool tool)
isEquivalentTo
public boolean isEquivalentTo(ToolListElement e)
getParent
public ToolListElement getParent()
getHoldOptions
public IHoldsOptions getHoldOptions()
getOptionCategory
public IOptionCategory getOptionCategory()
getTool
public ITool getTool()
getChildElements
public ToolListElement[] getChildElements()
addChildElement
public void addChildElement(ToolListElement element)