eclipse-rcp

Dynamic language switching in an Eclipse RCP application

I am working on an Eclipse RCP application with localization. A user should be able to change the language used in the application on the fly. A restart of the application should not take place during this language switch. It should also be possible to switch between languages written from left to right and languages written from right t...

Detach/Attach Events for Eclipse TearAway ViewParts

Hi, I have an eclipse ViewPart that is run as part of an stand alone application. When the application loads the ViewPart is one of many in a larger window. In the course of using the application it is possible for someone to "tear" the view off into it's own window. Is there a way to catch the detach & re-attach events? Thanks! ...

How to control the size of MasterDetailsBlock component in Eclipse RCP?

I have editor that is using MasterDetailsBlock, where the master and detail part contains a Section each as direct child. Master's section contains a Table and a few buttons and Detail's Section contains a couple of StyledText. I am using FormLayout to control I am trying to fix the size of the MasterDetailsBlock which currently is too ...

Graph Visualization in a Eclipse RCP aplication

I am working on an Eclipse RCP application which should display an internal hierarchical structure as a graph. The nodes of the graph should be positioned on different points of a background image but should offer drag support. The graph should be zoom-able possibly without resizing the nodes on the maps (layout zoom) while the backgroun...

How to remove subversive action in Synchronize view ?

Hello. I'm integrating Subversive 0.7.8 into an Eclipse Platform 3.4.2 RCP app. I want to remove (or disable) the SVN "Commit" action in the popup menu of the "Synchronize" view. How can I do ... ? Thank you for your help. JM.D ...

Split away Selection Service from o.e.ui.workbench bundle

I want to use Selection Service feature from the eclipse RCP in my swing project. Currently the o.e.ui.workbench bundle which contains the related interface is around 3.7 MB, that's way too huge for our requirement Is there any way to split it the workbench to get only the selection service Are there distros already for this Is it leag...

[Java] Eclipse documentation

I write application in Java(SWT) and I want to add documentation like in Eclipse application. How to do it? Is it exist tools for this? Documentation window in Eclipse: ...

SWT/JFace or Eclipse RCP?

Which are the reasons to choose the Eclipse Rich Client Platform as the base of my application, instead of just using SWT/JFace? ...

Problem with restart standalone RCp application

I have problem with restarting RCP application. When I run under Eclipse everything is ok, but when I create standalone application method restart just close the applications. I use next code: IWorkbench workbench = PlatformUI.getWorkbench(); workbench.restart(); Is anybody know how to solve this. THANKS ...

two instances of the same editor

I created an editor using the eclipse PDE. Every time I double click on the same file it opens a new instance of my editor instead of just selecting the one that already opened (like in .java files). My Editor input implements IEditorInput. How can I change it? ...

Problem including dynamic image in Eclipse BIRT 2.5.0 report on Windows

I have a BIRT 2.5.0 report design with a dynamic image (URL is specified through report parameter, image formats tried - .png, .bmp). When running the report from our application on Ubuntu, everything renders OK. When doing exactly the same thing on Windows, there's following message instead of the actual image: Current report item is n...

adding action to toolbar in formpage

I want to add a button to the toolbar in my page that derives from FormPage. I use the code: Action action = some action... action.setImageDescriptor(som descriptor...); toolBarManager.add(action); When i run the editor I don't see nothing in the place were the button should be. If I'm hovering it with the mouse it changes to a hand ...

Eclipse Preference store persistance

I have a multiple user/location RCP application that currently utilizes several user configurable options. Some preferences are for specific to the station, some are specific to the user. The options are from a preference store which saves the *.prefs files to "workspace.metadata.plugins\org.eclipse.core.runtime.settings". This would ...

Using IDE plug-in in an Eclipse RCP application?

I'm developing an Eclipse RCP based application, that uses the resource model of eclipse (workspace, projects, resources, etc.). For basic usage of the resource concept, there is no need to depend on the IDE plug-in. But many dialogs, wizards or views I want to use are inside this plug-in. I read about not to have any dependencies on IDE...

hiding tab in pde

Hi, I have an editor (emf editor). And I only want one of the tabs in the editor. If I do not add the other pages, I still see one tab in the tab selection. Can I hide the tab, so the user will not see it is a multipageeditor? ...

Eclipse console in RCP missing output

In my RCP I show the Console and want to output different categories of output (not just STDERR and STDOUT). I have looked at and used code from both: http://stackoverflow.com/questions/720963/eclipse-console {filter_workaround}://stackoverflow.com/questions/716615/writing-to-the-eclipse-console I go through all the actions as prescrib...

Lift and Eclipse RCP Integration

I work on a fairly simple but large two-tier application that consists approximately 40 Eclipse RCP plugins. We have a new use case that is taking us to the web for a very small portion of this functionality. I'd like to prototype this using Lift. Clearly, I'm facing a few challenges. Lift + OSGi. Can Lift get at OSGi bundles? Can...

Modality issue in SWT_AWT bridge

I am using EmbeddedSwingComposite (built on SWT_AWT bridge) which is mentioned in the following article : http://www.eclipse.org/articles/article.php?file=Article-Swing-SWT-Integration/index.html Though it says that using the above technique modality issues are resolved. But in my case there are still some modality issues left. I guess ...

How to detect eclipse compile errors (Java - JDT)

Hi everybody, I need to detect compile errors in the java source code after a POST_CHANGE event (usually it is fired after saving changes in the java file). I'm using IElementChangedListener for doing that. So, for detecting errors I tried the two possibilities bellow: 1: boolean error = IMarker.SEVERITY_ERROR == iFile.findMaxProblemS...

P2 headless update not working

I have taken the org.eclipse.equinox.p2.examples.rcp.prestartupdate project and adapted it for use in my RCP application. I then setup an update repository that gets updated as part of my nightly build. When I open my application it goes through the motions like it is updating - it finds the update site, generates an uninstall and inst...