I'm writing a wizard for an Eclipse RCP application. After doing some processing on a file and taking some user input, I don't want to let the user go back to make changes. At this point they must either accept or reject the changes they are about to make to the system.
What I can't seem to find is a method call that lets me override ...
I've implemented a class to give me a more flexible tooptip for the org.eclipse.swt.widgets.Table class. As I'm sure you all know, by default you get one tooltip for the whole table - and not individual tips for each cell.
My object creates a number of listeners to implement it's own location sensitive tooltip, however, when I call Tabl...
The backstory: I am applying a filter to a TableView. It's a simple 'find the rows with this string' filter.
The requirement: I wish to hilight instances of the search term where they occur.
Thus far I can see no means of doing this. ITableColorProvider let's me apply colours to entire cells, but not to a fraction of it.
Clues most w...
I have a JFace editor that is mostly made up of a TreeViewer. This is hooked up to a ContentOutlinePage to bring the Outline view to life.
When either one receives a SelectionChangedEvent event they call the others setSelection() method ... and therein lies the problem. setSelection() generates another SelectionChangedEvent ... and thus...
Hello, I have following problems with layout settings in the FieldEditorPreferencePage.
My code is something like that:
public void createFieldEditors () {
Group pv = new group(getfieldEditorParent(), SWT.SHADOW_OUT);
Group of = new group(getfieldEditorParent(), SWT.SHADOW_OUT);
pv.setText(“pv”);
of.setText(“of”...
I have built a simple Eclipse plugin where a user may use a tableViewer of database resources to open an editor on any of those resources.
Users may therefore have zero upwards instances of the editor running.
Is there an API available to get a list of those editor instances?
M.
...
I am endeavouring to render some hierarchic data in a TableViewer (the TreeViewer isn't a good fit - trust me on this :-). Consequently I need to render the parent cells with a row-span > 1.
As far as I can tell, this currently isn't possible with the regular JFace TableViewer, or the SWT Table underneath.
Can anyone tell me I'm wrong?...
I'm a newbie to Eclipse and can't figure out how to get the JavaDocs for SWT and JFace to show up when I am editing.
How do I do this? Thanks!
...
I am writing an Eclipse plugin which has a hover control that consists of two controls, one on top of another:
An HTML viewer (BrowserInformationControl) for which I Can easily compute the size hint
A TreeViewer that contains a Tree.
I have set up my tree with actual contents. However, I can't find a way to figure out the size of the ...
Hello,
I was wondering if anyone could explain to me how I could properly bind a group of radio buttons to a boolean variable in the model using JFace data binding.
Let me explain the situation first: I've created a class that represents a group of SWT buttons (with the style set to 'SWT.RADIO') that consists of three elements: A label...
I'm coding up a dialog box for an Eclipse plug-in much like the built-in FilteredItemsSelectionDialog from jface, except that the items that can be selected are (basically) made up of three strings, so I would like the table to show three columns that are sortable in addition to being filterable. I started pursuing the cleanest solution ...
Group group = new Group(parent, SWT.NONE);
StyledText comment = new StyledText(group, SWT.BORDER_DASH);
This creates a group with a text area inside.
How can I later delete the text (remove it from the screen so that I can replace it with something else)?
...
Hi, what's the best way to make communications between page widgets residing on differents ViewPart?
via listener or via shared object instances like "getViewSite().getPart()/getPage()" ?
what pro/contra and what's the best strategy for You?
Thanks, regards
...
If I create a set of actions to be used in a JFace application and I assign images to those actions, those images show up in both the toolbar (where I want them) and in the menus (where I don't want them).
Other than supplying two completely separate sets of actions (which eliminates part of the point of actions in the first place), how...
Hi, using Eclipse 3.4 Ganymede and I cannot find the way to add javadoc support for all platform plugin apis, but specifically to JFace e Ui Forms packages.
Opening the property panel of any jar linked to the library named "plug-in dependecies" I receive the following message into the "Javadoc location" node:
The current class pat...
I have built a graphical editor as an Eclipse plugin. Users may zoom into and pan about the graphical image.
I would like to employ the Back and Forward arrow icons in the Eclipse icon bar to step back and forth through the graphical image, in a similar manner to what is already possible in textual editors. All of my references go quiet...
I can't find any method for making a tab invisible or otherwise hidden in an SWT/JFace application --- I want a second tab to be available (or not) based on some other preferences set by the user.
It shouldn't be so hard to figure this out!
...
Hi,
Can anyone show me how to use org.eclipse.jface.viewers.ColumnViewerToolTipSupport to create a tooltip similar to the one shown in Eclipse IDE when you hover your mouse to any Java element? That is, I want the tooltip to be resizable, I also want to hook an F2 key to show the tooltip on demand in addition to mouse hover.
I have ...
I am building an image Editor as an Eclipse plugin.
I would like to use the Properties view to view & edit properties of the model underneath the image. Accordingly I am calling ..
getSite().setSelectionProvider( this );
.. within createPartControl, and implementing the ISelectionProvider interface in my EditorPart implementation, s...
Hi there,
Is there anyway to create a dialog that is modal to a view and not the entire shell (application)? So if say, I have one view called A that is overlaying another view called B, I want to open a dialog that is only modal to view A, so when I switch to view B, the dialog and the view A will be covered by view B. Is there anywa...