eclipse-plugin

Counting eclipse plugin installations/downloads

Hi, I'm currently hosting an Eclipse plugin update site on sourceforge.net . SF.net does not allow access to server logs but I'd still like to know how many downloads the plugin gets. Is there an alternative way of gathering them? I'm not going to have any sort of 'call home' feature in the plugin, so please don't suggest that. ...

Eclipse PDE build fails to find jar location on customAssembly

I'm running a PDE build - pretty much defaults ( see at the end of the message ) which manages to copy all my plugins/features, resolve them, compile them and generate p2 metadata. At the customAssembly step it fails misteriously with BUILD FAILED /home/robert/apps/eclipse/plugins/org.eclipse.pde.build_3.5.0.v20090527-1800/scripts ...

JCE problem in Lotus Expeditor (IBM's custom Eclipse runtime)

I'm trying to authenticate to Google Apps using the GData client library. I've imported the needed jars and dependencies from the library into my Eclipse environment and verified that test code that calls the service works when run (a) as a POJO and (b) as a standard Eclipse plugin. When running in the Expeditor runtime (j9vm - Lotus Sym...

Maintaining compability with multiple plugin version in Eclipse

Assuming that extending a class from an Eclipse plugin: public abstract PluginClass { /** @since 1.0 */ public void doSomething() { }; /** @since 1.1 */ public void doSomethingElse() { }; } Is it safe to override doSomethingElse if I still want to support the 1.0 version of the plugin? ...

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

Eclipse Plugin - Popup Menu Extension

Hi All, I am trying to add a new menu item to Eclipse's popupmenus. It really seemed straightforward enough in the examples and tutorials but the menu item itself is never visible. I expect this to work in all views and for basically anything that is a file. I am using Eclipse 3.4. This is the my plugin.xml configuration: <?xml version...

Change text on button in eclipse header on the fly

I'm creating a view in eclipse to display stack traces, and I want to have the view accessible from a button in the header. So I'm creating an extension using the plugin.xml framework, like this basically: <extension point="org.eclipse.ui.commands"> <command categoryId="com.commands.category" id="commands.tracing" ...

How best to use ViewerFilter on a TreeViewer?

I am applying a ViewerFilter to a tree of a few branches, but mostly leaves. The filter really applies to the leaves, using properties within the leaf. All branches are left untouched so that their leafs can appear. However I would like to filter out branches that contain no selected leafs, and I can see no mechanism within ViewerFilter...

Eclipse Plug-in / View Question

I have a plugin which contains class A that brings up a view defined in class B via the following line of code: (VideoLogView) PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().showView("Videolog.VideoLogView"); What I need to do in the createPartControl() method of the view (class B object) is access a method in t...

How to auto-remove trailing whitespace in Eclipse?

Hello, The question has two parts, one of which I already have the answer for. How to auto-remove trailing whitespace from the entire file being edited? -> Answer: use the AnyEdit plugin, which can be set to do that on any save to the file. How to auto-remove trailing whitespace only from the lines I changed? -> This I don't know and ...

JFace question: How do I select all items in a ListSelectionDialog?

I create a JFace ListSelectionDialog as follows. final ListSelectionDialog dialog = new ListSelectionDialog( PlatformUI.getWorkbench().getDisplay().getActiveShell(), List<SomeClass>, new ArrayContentProvider(), new LabelProvider(), ""); //$NON-NLS-1$ dialog.setTitle("Dialog Title"); //$NON-NLS...

Eclipse metrics plugin suggestion.

I'm looking for a tool to give me some code metrics (total LOCs, LOC/Class, # of external references/class, etc...). Does anyone know a good eclipse plugin that could provide me some some code metrics? ...

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

Using Hibernate with Dynamic Eclipse Plug-ins

I have classes that are named exactly the same across different plug-ins that I use for my application, and I'd like to be able to configure them properly with Hibernate. The problem is that it looks like Hibernate dynamically generates a class' package name when trying to find a class when it's doing its mapping. With one plug-in this s...

What is the best way to serialize an EMF model instance?

I have an Eclipse RCP application with an instance of an EMF model populated in memory. What is the best way to store that model for external systems to access? Access may occur during and after run time. Reads and writes of the model are pretty balanced and can occur several times a second. I think a database populated using Hiberna...

Replacing an exsiting feature id in Eclipse

Hi, I have a feature and I want to change its' ID. However, this makes it impossible to update existing installation and here's why: Assume the feature F1 at version 1.0 consist of plugin A at version 1.0. Now, I want to have a feature F2 at version 1.1 which uses plugin A at version 1.1. Upon installing F2 I get an error - that I al...

SpringIDE and Eclipse Galileo 3.5

Hello, good fellas. I have another very basic question that I need help with. I wanted to try out the great Seam Framework, and I managed to add the JBoss Tools plug-ins to my copy of Eclipse Galileo 3.5. After spending some time using Seam, I decided I wanted to try the Spring Framework. My question is: Apart from adding SpringIDE to ...

osgi: fragment is not working outside eclipse pde (and no error appeared)

Context of this problem: OSGi and Eclipse Platform. I've got bundle (plugin) which is host for some fragment. Fragment is running only when I start it through Eclipse "run configuration" (I add it in plugin dependencies in run configuration of plugin), but when I am trying to export it either through eclipse or through maven tycho proje...