|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ViewPart classpathhelper.eclipse.ui.packageview.PackagesViewPart
View that shows a packages break down of the classpath, that is a view that doesn't organize the tree by locations (such as jars or folders), but instead allows browsing of the classpath based on the packages withing the classpath.
Browsing by package is useful when the location of a class is not known.
Constructor Summary | |
PackagesViewPart()
|
Method Summary | |
void |
classpathChangedEvent(IClassPathModel model,
CGClassLoader classLoader)
Callback method indicating that the classpath has changed. |
void |
createPartControl(Composite parent)
|
void |
dispose()
|
void |
propertyChange(PropertyChangeEvent event)
|
void |
setFocus()
|
void |
showTreeElement(ITree element)
Helper method to expose an element in the tree. |
void |
treeChildAdded(ITreeRoot treeRoot,
ITree parent,
java.lang.String[] properties,
ITree[] children)
Callback indicating that children where added to a node. |
void |
treeChildRemoved(ITreeRoot treeRoot,
ITree parent,
java.lang.String[] properties,
ITree[] children)
Callback indicating that children where removed from the node. |
void |
treeNodeChanged(ITreeRoot treeRoot,
ITree[] nodes)
Callback for a node change event. |
void |
treeNodeChanged(ITreeRoot treeRoot,
ITree[] nodes,
java.lang.String[][] properties)
Callback for a node change event. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PackagesViewPart()
Method Detail |
public void createPartControl(Composite parent)
public void setFocus()
public void dispose()
public void showTreeElement(ITree element)
element
- The element in the tree.public void classpathChangedEvent(IClassPathModel model, CGClassLoader classLoader)
IClassPathChangeListener
classpathChangedEvent
in interface IClassPathChangeListener
model
- The source of this change event.classLoader
- The new classloader.public void propertyChange(PropertyChangeEvent event)
public void treeNodeChanged(ITreeRoot treeRoot, ITree[] nodes)
ITreeNodeChangeListener
treeNodeChanged
in interface ITreeNodeChangeListener
treeRoot
- The root of the tree where the event originated.nodes
- The nodes whose internal state has changed.public void treeNodeChanged(ITreeRoot treeRoot, ITree[] nodes, java.lang.String[][] properties)
ITreeNodeChangeListener
treeNodeChanged
in interface ITreeNodeChangeListener
treeRoot
- The root of the tree where the event originated.nodes
- The nodes whose internal state has changed.properties
- Array of properties for each node. This array
should be the same length as nodes although individual
arrays at each index can be null
.public void treeChildAdded(ITreeRoot treeRoot, ITree parent, java.lang.String[] properties, ITree[] children)
ITreeStructureChangeListener
treeChildAdded
in interface ITreeStructureChangeListener
treeRoot
- The root of the tree where the event originated.parent
- The node where children where added.properties
- The properties of the parent that have changed
with the adding of children or null
if no properties
were affected.children
- The children nodes that have been added.public void treeChildRemoved(ITreeRoot treeRoot, ITree parent, java.lang.String[] properties, ITree[] children)
ITreeStructureChangeListener
treeChildRemoved
in interface ITreeStructureChangeListener
treeRoot
- The root of the tree where the event originated.parent
- The node where children where removed.properties
- The properties of the parent that have changed
with the removal of children or null
if no properties
were affected.children
- The children nodes that have been removed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |