Questions tagged [eclipse-pde]

Use this tag to ask about the Eclipse Plugin Development Environment which provides tools to create, develop, test, debug, build and deploy OSGi bundles, Eclipse plug-ins, fragments, features, update sites and RCP products.

The Eclipse Plug-in Development Environment (PDE) provides tools to create, develop, test, debug, build and deploy Eclipse plug-ins, fragments, features, repositories, update sites and RCP products.

PDE also provides comprehensive OSGi tooling.

Note that PDE build tools are now in maintenance mode and are no longer being developed, building should be done with Maven and Eclipse Tycho.

For more details see: http://www.eclipse.org/pde/

472 questions
6
votes
1 answer

How to add a pulldown button in a view's toolbar?

I need to add a pulldown button to a view's toolbar in an Eclipse plugin. Actually buttons in the toolbar are added like that :
Julien Hoarau
  • 48,964
  • 20
  • 128
  • 117
5
votes
4 answers

Eclipse PDE: given a relative path like /ProjectName/lib/something.jar, how do you get a full filesystem path?

I'm trying to find a path to a jar file that's in the raw classpath. getRawClasspath returns a collection of IClasspathEntry objects. I can call getPath on those. But getPath returns something weird: an IPath that starts with the project name,…
James Moore
  • 8,636
  • 5
  • 71
  • 90
5
votes
1 answer

Is it possible to redirect to browser URL on splash image click?

I use PDE. My tool has a splash image located in splash.bmp. In the build.properties I include the image into bin.includes (bin.includes = splash.bmp). In the app.product file I have the following code:
vesii
  • 2,760
  • 4
  • 25
  • 71
5
votes
2 answers

How do I get notified whenever a new editor is opened in Eclipse?

I have a view which would like to be notified about all the currently opened editors. Where can I add a listener to achieve this? I was expecting WorkbenchPage or EditorManager to have some appropriate listener registry, but I couldn't find it.
Tirno
  • 1,568
  • 2
  • 16
  • 21
5
votes
3 answers

Enumerating all my Eclipse editors?

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…
Martin Cowie
  • 2,788
  • 7
  • 38
  • 74
5
votes
3 answers

Writing an Eclipse-aware Ant task

I would like to write a simple Ant task that would interact with an Eclipse workspace to get some information from it. I would like to be able to use the various Eclipse API's (for example, IWorkspace). My question is what would be the simplest way…
Isaac
  • 16,458
  • 5
  • 57
  • 81
5
votes
3 answers

How can two eclipse plugin use the same preferences store?

I have two plugins, say com.site.plugin.core and com.site.plugin.ui. I'd like to separate core part from UI part, so at plugin com.site.plugin.ui I created Preferences page where I defined some preferences, which should be used by…
St.Shadow
  • 1,840
  • 1
  • 12
  • 16
5
votes
2 answers

Easy way to add a context action to Eclipse

I'm trying to add a very simple action to the context menu of Eclipse: clicking with right button over a folder object, this action should call an external tool (configured in the "External Tools") using the path of the folder as the only…
Paulo Guedes
  • 7,189
  • 5
  • 40
  • 60
5
votes
2 answers

Using a ILightweightLabelDecorator decorator

Having implemented one of the above, can anyone say how I might wire it up directly to a viewer? None of the usual sources explain. Martin.
Martin Cowie
  • 2,788
  • 7
  • 38
  • 74
5
votes
1 answer

Weaving AspectJ aspects included in an Eclipse 3.7 plugin project

Goal I am building an Eclipse plugin targeting the 3.7 environment and would like to include an aspect in the plugin that provides advice on code that is also in the plugin. Setup I have been trying to follow along with the spirit of these…
Jonathan Schneider
  • 26,852
  • 13
  • 75
  • 99
5
votes
1 answer

How do I use "org.eclipse.debug.ui.launchShortcuts"?

I have written a custom launcher in Eclipse which I can access via the "Run As" and "Debug As" menu options on the toolbar. I also want to be able to launch via the package explorer and via right clicking on the editor of a file to be launched. I…
Chris
  • 4,450
  • 3
  • 38
  • 49
5
votes
1 answer

How to split a big Jenkins job/project into smaller jobs without compromising functuality?

we're trying to improve our Jenkins setup. So far we have two directories: /plugins and /tests. Our project is a multi-module project of Eclipse Plugins. The test plugins in the /tests folder are fragment projects dependent on their corresponding…
danowar
  • 675
  • 1
  • 11
  • 21
5
votes
4 answers

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

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…
Martin Lazar
  • 1,330
  • 16
  • 24
4
votes
2 answers

How to implement Quick Fix / Quick Assist for custom eclipse editor?

I have extended org.eclipse.ui.editors.text.TextEditor to implement a custom editor. For this editor, I have defined a marker type (org.eclipse.core.resources.markers extension point) and an annotation type (org.eclipse.ui.editors.annotationTypes…
Baris Akar
  • 4,895
  • 1
  • 26
  • 54
4
votes
1 answer

PDE Headless Build (Feature-based) and Missing Required Plug-ins

When attempting to perform a PDE headless build, I am finding the eclipse.buildScript step to display the following: [java] generateScript: [java] [eclipse.buildScript] Some inter-plug-in dependencies have not been satisfied. [java]…
Michael
  • 786
  • 8
  • 18
1 2
3
31 32