Questions tagged [treeviewer]

144 questions
0
votes
0 answers

SWT/Jface Treeviewer to load tableviewer

I am developing a small application. I am stuck in one of the scenario where I have to load data into table viewer after clicking TreeViewer item. Please suggest me way to handle this issue. public void handleEvent(Event event) { TableViewer…
Prashant P
  • 21
  • 4
0
votes
2 answers

Jface TreeViewer nodes Link with files

I writing an eclipse plugin to analyze files for some defects, I get the list of java files, their classes and methods in a jface tree view, I need to open the file in the editor when I double click on the file node of the tree view. please help me…
0
votes
1 answer

JFace TreeViewer first column

I have a jface treeviewer with 2 columns. When I hover my mouse over any element in the first column, I see the mouse pointer turning to that of the one we see when we hover an url or a web page link ( I mean a hand pointer ). and also the color of…
SomeDude
  • 13,876
  • 5
  • 21
  • 44
0
votes
1 answer

Child nodes of eclipse rcp tree viewer is not shown

I have a tree viewer in the project explorer view of my RCP application. My product completely deals with loading, value retrieval and updating values in resource ("org.eclipse.emf.ecore.resource.Resource"). I am having a create project menu item,…
0
votes
1 answer

Tree is disposed when trying to refresh tree viewer

Iam having a tree viewer in a view. I have a implemented a listener to the tree content provider. When some data changes, the tree is notified. But when iam trying to refresh my treeviewer, an error message comes and show that the tree is disposed.…
0
votes
1 answer

An "OR" predicate on ViewerFilter in spite of the default "And" predicates?

I am developing a RCP application which contains a TreeViewer and I want to activate multiple filters on it that should work with the "OR" predicates, for example : A |--B |--|--redColor |--|--blueColor |--C |--|--greenColor I have a…
Bouanani Meher
  • 107
  • 1
  • 3
  • 13
0
votes
3 answers

How to set a JFace TreeViewer with no selection allowed?

When creating a JFace TreeViewer, one can use the SWT constants to set single or multiple selections allowed for the user to the tree items (SWT.SINGLE or SWT.MULTI). Can anyone help me please as I want a tree that its items can not be selected at…
mobaisch
  • 57
  • 2
  • 10
-1
votes
1 answer

SWT double-click expansion

I have implemented a double click listener on a tree viewer and my example code snippet is below. private class DoubleClickListener implements IDoubleClickListener { @Override public void doubleClick(final DoubleClickEvent event) { …
Sangli
  • 373
  • 4
  • 20
-1
votes
1 answer

Obtaining starting View from Handler of the command

I have a certain View. In this view there is a TreeViewer. When I right-click one element of the tree, I open the contextual menu that trigger the command "rename". In the HANDLER of this command, how can I obtain the ID of the view of the selected…
Guardian
  • 107
  • 1
  • 6
1 2 3
9
10