Created
October 24, 2012 15:53
-
-
Save cybersonic/3946901 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class RequestExectutionView extends ViewPart{ | |
TreeViewer myTreeViewer; | |
... | |
public void createPartControl(Composite parent) { | |
Tree myTree = new Tree(parent, SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL); | |
myTree.setHeaderVisible(true); | |
myTreeViewer = new TreeViewer(executionTree); | |
myTreeViewer.setLabelProvider(new MyLabelProvider()); | |
myTreeViewer.setContentProvider(new ContentProvider()); | |
myTreeViewer..setInput(MyDataStore.getInstance()); | |
} | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment