FilteredTree it won't work in Eclipse Kepler [message #1115115] |
Mon, 23 September 2013 13:35  |
Eclipse User |
|
|
|
Hallo,
I like to use the FilteredTree in my e4 (Eclipse-Kepler) Project.
here is my Code:
@PostConstruct
public void postConstruct(Composite parent) {
parent.setLayout(new GridLayout(1, false));
FilteredTree filteredTree = new FilteredTree(parent, SWT.SINGLE | SWT.BORDER , new FolderFilter(), true);
filteredTree.setQuickSelectionMode(true);
filteredTree.setInitialText("Filter");
viewer = filteredTree.getViewer();
initViewer();
status = new Label(parent, SWT.NONE);
status.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, false, false, 4, 1));
status.setText("Verzeichnisse gelesen");
}
The Text-Widget, for the Filtertext, is displayed, but when I type text into then Textfield nothing happens.
On Eclipse Indigo (View extends ViewPart) ist work fine.
What is wrong?
Greating
Ingo
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07735 seconds