eclipse-rcp

Success stories of Eclipse as an application framework (RCP)

I keep reading about Eclipse as an application framework (i.e. about Eclipse Rich Client Platform). I am unable to find comprehensive list of success stories of Eclipse as an application framework (RCP) other than Eclipse as an IDE which is extremely popular. I have seen customer testimonials of Netbeans platform, but not for Eclipse Ric...

Eclipse RCP application - Create a window programatically

Hi, In an RCP application, how I can programtically define and open a new window? I want to open several window - each window show different data. How can I set different input for each window? I want to simulate the same functionality of Eclipse IDE (Window --> New Window), but I want each new opened window to have different input. I...

Using Eclipse with large workspaces

Our current product is based on Eclipse RCP. We are starting to have problems when we try to have our whole code base inside one eclipse workspace and we were wondering what others were doing. Here's our setup: ~225 eclipse projects (all in trunk/project) ~30 eclipse features (all in trunk/features) ~900k lines of code We are find...

Finding Display of an RCP App

I'm writing a testing Framework which is starting a GUI Application. To be able to test this GUI in the case of an SWT application I need to know it's display. In general, this display is loaded by another classloader, therefore I'm using the method findDisplay(Thread t) of the swt Display class by reflection to accomplish this task. My ...

How to implement content assist's documentation popup in Eclipse RCP

Hi, I have implemented my own editor and added a code completion functionality to it. My content assistant is registered in source viewer configuration like this: public IContentAssistant getContentAssistant(ISourceViewer sourceViewer) { if (assistant == null) { assistant = new ContentAssistant(); assistant.setDocum...

how do I set eclipse.ini -vm option ?

I installed maven plugin for eclipse, then I get an error like below: please make sure the -vm option in eclipse.ini is pointing to a JDK how to use -vm option to point to my jdk in eclipse.ini? ...

How do I change the background selection color for a jface table

In a elipse-rcp application I am setting the background color for a row in a jface table but I don't want the selection to change this color. I want to be able to specify the color change for a selected row. ...

get ITextViewer from IEDitorPart (Eclipse)

Eclipse RCP question I open file with: IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage(); IEditorPart editorPart = IDE.openEditor(page, file); I also get document with: IDocument doc = ((ITextEditor)editorPart).getDocumentProvider().getDocument(editorPart.getEditorInput()); I need to get to...

Get the parent of an IStructuredSelection (eclipse-rcp)?

I have a TreeViewer in a view and need to get the parent (if it exists) of an item selected. Nothing seems to work and google yields no answers.. mBacktestTree.addDoubleClickListener(new IDoubleClickListener() { public void doubleClick(DoubleClickEvent event) { IWorkbenchPage page = getSite().getPage(); TreeViewe...

Strange problem with imports in Java Application

I'm building a plugin to extend the Eclipse BPEL Designer. That plugin is supposed to allow users to add meta information to certain model elements via EAnnotations. I already did the same thing for a BPMN model and it work just finde but when doing this for the BPEL designer I reveive rather strange exceptions. The first I thing realiz...

How do I programmatically resize an eclipse ViewPart?

I have a ViewPart that is created using a regular plugin extension point with a ratio that defines it's height. At a later point I have a block of code that is adding some more things to the Canvas for the ViewPart. The new items are not shown unless the user drags the edge of the ViewPart to make it bigger. Is there a way to programm...

While switching to windows classic theme combo contribution item shirnks

Hi Guys , I do have a problem with IToolbarManager. I have added a combo & spinner ot toolbar of a view like this IToolbarManager mgr = getViewSite().getActionBars().getToolBarManager(); mgr.add(spinnerCntrAction); spinnerCntrAction = new ControContribution(){ public Control createControl(){ //Creates composite //C...

How to make read only editor in Eclipse (Eclipse Plugin Development)

Hi, I'm wondering how to make a really read only eclipse editor.. My editor extends TextEditor, so when I reimplement method isEditable to always return false. It's the easiest way, which prevents user from typing or deleting anything in the document opened in the editor. But you can still change content of the document for example b...

eclipse view classes dependency graph plugin?

is there any plugins i can use for eclipse that will show graphical view of classes dependencies ? ...

[Eclipse RCP] Is there difference in defining DropTarget in View and in Editor?

The code is: DropTarget target = new DropTarget(sqlViewer.getTextWidget(), DND.DROP_DEFAULT | DND.DROP_COPY | DND.DROP_MOVE | DND.DROP_LINK); Transfer[] types = new Transfer[] {TreeLeafListTransfer.getInstance(), TextTransfer.getInstance(), FileTransfer.getInstance()}; target.setTransfer(types); target.addDropListener(n...

Can I merge Syntax coloring and Folding? OR Projection colored from master document info

Example. I have an XML document: <document> <region type="type1">text of region1 </region> some simple text <region type="type2">text of region2 </region> And I want it to be presented as text of region1 some simple text text of region2 The basic Eclipse coloring works independent from folding, as I know. But I need text to be c...

Eclipse RCP/ Plug-in Question

Hi, I have an RCP application (referred to as RCP-APP). I have created a new plug-in (referred to as plug-in A) that wraps a media player api (.jar file) and a folder of C libraries (dlls) that the media player api accesses via JNA. I then created another plugin (referred to as plug-in B) that contains a media player application that ...

Eclipse RCP Missing Constraint / Bundle Error

When I try to execute my RCP application from within Eclipse I get the following error message: com.bah.gs.arts.jekyll.plugins.VideoLog Missing Constraint: Required Bundle: com.bah.gs.arts.jekyll.plugins.JVLC_Runtime; bundle-version="0.9.1" Can someone tell me how I resolve this? ...

generate interface from solid class file in eclipse

any pluginsin eclipse that auto generate interface file based on solid class/impl class ? currently i hand code interface file. ...

Eclipse plugin - wrong jar used on runtime

Hi, I have a serious probleam with my Eclipse Plugin.. My plugin depends on another two plugins. All of theese plugins (including my plugin) use Mozilla Rhino engine - two of them use js.jar (version 1.4). But my plugin uses new version, which is not released yet and is packed in MyRhino.jar. While developing, everything goes fine - c...