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
FieldsModifier and TypeFieldDescriptionprotected NodeDecorator<Object> protected final List<org.eclipse.jface.action.IAction> protected Collection<?> Fields inherited from class AbstractJFaceRunner
applicationWindow, blockInput -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<org.eclipse.jface.action.IAction> Collection<?> org.eclipse.jface.viewers.IStructuredSelectionvoidFor testing purposes, open the tree viewer window and then immediately close it.voidrun()voidsetGraphInput(Graph<T> newGraphInput) voidsetNodeDecoratorInput(NodeDecorator<Object> newNodeDecoratorInput) voidsetRootsInput(Collection<?> newRootsInput) toString()Methods inherited from class 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:
toStringin 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
-