Class SWTTreeViewer<T>
java.lang.Object
com.ibm.wala.ide.ui.AbstractJFaceRunner
com.ibm.wala.ide.ui.SWTTreeViewer<T>
A class to view a WALA
Graph
with an SWT TreeViewer
-
Field Summary
Modifier and TypeFieldDescriptionprotected NodeDecorator
<Object> protected final List
<org.eclipse.jface.action.IAction> protected Collection
<?> Fields inherited from class com.ibm.wala.ide.ui.AbstractJFaceRunner
applicationWindow, blockInput
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionList
<org.eclipse.jface.action.IAction> Collection
<?> org.eclipse.jface.viewers.IStructuredSelection
void
For testing purposes, open the tree viewer window and then immediately close it.void
run()
void
setGraphInput
(Graph<T> newGraphInput) void
setNodeDecoratorInput
(NodeDecorator<Object> newNodeDecoratorInput) void
setRootsInput
(Collection<?> newRootsInput) toString()
Methods inherited from class com.ibm.wala.ide.ui.AbstractJFaceRunner
getApplicationWindow, isBlockInput, setApplicationWindow, setBlockInput
-
Field Details
-
graphInput
-
rootsInput
-
nodeDecoratorInput
-
popUpActions
-
-
Constructor Details
-
SWTTreeViewer
public SWTTreeViewer()
-
-
Method Details
-
getGraphInput
-
setGraphInput
-
getRootsInput
-
setRootsInput
-
getNodeDecoratorInput
-
setNodeDecoratorInput
-
getPopUpActions
-
toString
- Overrides:
toString
in classAbstractJFaceRunner
-
run
- Throws:
WalaException
-
justOpenForTest
For testing purposes, open the tree viewer window and then immediately close it. Useful for testing that there is no failure while opening the window.- Throws:
WalaException
-
getSelection
- Throws:
IllegalStateException
-