eclipse-rcp

Eclipse RCP - How to open Launch Configuration dialog

How to open Launch Configuration dialog (like when press mouse_right on project - run as - run configurations) in RCP app via command? or any other way, but command preferred. ...

Eclipse RCP on OSX - How to stop logging to syslog?

Our RCP application logs a fair bit, but only INFO and above are output to console. On windows/linux this is ok, but on OSX all logging seems to be passed to syslogd, which then decides what to log and not log, this means handling thousands and thousands of FINEST log messages, this makes syslogd use 140% cpu and gobble up memory. After...

Eclipse RCP - Content Assist trouble

I'm trying to add content assist to my editor. I've added public IContentAssistant getContentAssistant(ISourceViewer sv) { ContentAssistant ca = new ContentAssistant(); IContentAssistProcessor pr = new TagCompletionProcessor(); ca.setContentAssistProcessor(pr, XMLPartitionScanner.XML_TAG); ca.setContentAssistProcesso...

Eclipse RCP: ClassNotFoundException or How to make other bundle load my class.

details: I'm trying to use Jalapeno framework to connect my RCP app with Cache' database. After connection established, I'm trying to get all data from table exactly like in Jalapeno manual: if (objManager==null) return; DBClass cortege = null; try { Iterator terms = objManager.openByQuery(DBClass.class, null, null); System.out.println(...

Eclipse RCP application - multi-window design for multiple monitors

Question about Eclipse RCP and whole perspective/view/editor design - what is the best way to create application which will display multiple windows on multiple monitors? Tutorials and book I've seen always pack RCP/SWT design into views inside perspective within single application window. Should one window rule all others or they all s...

Eclipse JavaEditor extension: How to add a properly indented line?

What is needed? We are writing an extension to eclipse's JavaEditor. We need a way to add a line before and after the line the cursor is in. The cursor on the new line should be on the correct position (correctly indeted). Sample (# is the cursor): before (I): public class Test { public static void main#(String[] args) { ...

Embedding Silverlight app in an Eclipse RCP

Does anyone has a good resource on embedding a Silverlight application in an Eclipse RCP application? Scenario is as follows: We have a third party application that we want to integrate into an already developed Eclipse RCP Application, and we don't want to redo anything. Also, I can't just start this as a second app but must be embed...

Eclipse RCP: How to order perspective buttons belonging to different plugins?

My application has 5 plugins. Each plugin has a perspective of it's own and hence each perspective extension definition is under individual plugin's plugin.xml. Now, I want to control the order in which these perspectives appear in my application. How to do it? There is one main plugin that holds "ApplicationWorkBenchAdvisor.java". Th...

Eclipse RCP: Communication between elements created in different ViewPart?

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 ...

Eclipse RCP : Perspective switcher window dialog sort problem.

In my application, when I select File->Open Perspective->Other it opens a dialog listing out all perspectives. My problem is that I want those perspectives to appear in a defined order (which they are not in this default perspective switcher). This is the same dialog that pops up on clicking an icon displayed to the extreme left before ...

RIA vs. RCP

I'm on a project where we try to build a GUI replacement for an old application. Before we really implement the functionality we've started prototyping with Eclipse RCP (Rich Client Platform) and GWT (Google widget toolkit, a Rich Internet Application). What is your experience with RIA and RCP GUIs? When does it make sense to use RIA and...

Is there a way to enable double buffering for SWT components?

In the Eclipse RCP application I'm building, I noticed that when I rebuild parts of the GUI (by adding/removing controls), the GUI gets updated and redrawn immediately upon each modification, which causes a flicker effect. Is there a way to enable double buffering, so that the GUI refresh will happen only once at the end of the event di...

Class in buildpath-jar still not found

I'm developing a eclipse plugin rcp and I'm running into a NoClassDefFoundError Exception in thread "Thread-7" java.lang.NoClassDefFoundError: org/jdom/input/SAXBuilder at org.geonames.WebService.search(WebService.java:783) at geo.GeocoderGeonames$SearchThread.run(GeocoderGeonames.java:119) Caused by: java.lang.ClassNotFo...

Eclipse PDE, Navigator View, TreeSelection - Obtaining the file type and name

I'm trying to obtain details of an Eclipse user's structured selection in the Navigator Tree view. At present I have the following which is based on the org.eclipse.ui.popMenus extension point: public void run(IAction action) { Shell shell = new Shell(); ISelection selection = workbenchPart.getSite().getSelectionProvider().getSelecti...

Using the Selection service on something that is *not* a JFace view

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...

Eclipse RCP, SWT, JFace: How to create a dialog that is modal only to a view (not the entire shell)?

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...

Eclipse RCP: How to display source code?

I was wandering if it's possible to open a source code in text editor and display it with decorations (Java for example)? I don't need fancy eclipse editor features, just properly decorated source code with line numbers, it can even be read-only. I read that RCP have many limitations with text editors as it drags behind heavy plug-ins. C...

When do asyncExec events begin?

I'm attempting to create a bare bones app for use in developing a plugin. I don't need a workbench. Below the title1 dialog will show, but the title2 never does. What needs to be done in order for the 2nd one to be shown? public class BareBonesApp extends AbstractApplication { public Object start(IApplicationContext context) throw...

What's the max. memory available for applications? (getting no more handles error).

In an Eclipse RCP application I am trying to open many editors. It is a basically a tree with lot of nodes each of which opens an editor. When I open in access of 150 to 200 editors and try to open an editor for next treenode it doesn't open. Eclipse console shows "org.eclipse.swt.SWTError: No more handles". However if I close a few of a...

Eclipse RCP: Suppress the context menu of the persective bar

I would like to suppress the context menu that shows when right clicking on the perspective tool bar in an rcp application. To clarify, I do want the perspective bar and shortcuts to show, but I do not want the context menu to pop up. All perspective tool bar api seems to be internal. Thanks. ...