Questions tagged [eclipse-plugin]

Eclipse is an OSGi extensible platform for tool integration. The extensions to Eclipse are Java plug-ins. Use this tag to ask about developing Eclipse plug-ins. Note that asking for plug-in recommendations is off-topic.

Eclipse isn't a single monolithic program, but rather a small kernel containing a plug-in loader surrounded by a multitude of Java plug-ins. This small kernel is an implementation of the OSGi R4 specification and provides an environment in which plug-ins execute.

Each plug-in contributes to the whole in a structured manner, may rely on services provided by another plug-in, and each may in turn provide services on which yet other plug-ins may rely.

Plug-ins allow the extension of Eclipse functionality in various ways:

  • Providing additional UI elements,
  • allowing working with new technologies,
  • enhancing an existing plugin functionality, and much more.

The Eclipse source code is readily available and can be integrated with Eclipse to make it easy to debug plug-ins.

Documentation

11636 questions
3
votes
0 answers

How to intercept log messages from a Maven Mojo in a m2e plugin

I have a special JavaScript maven plugin which validates/compresses JavaScript sources from /src/main/javascript and stores it into /target/scripts. In Eclipse 3.6 with m2e 0.x this worked perfectly because this plugin is executed during the…
kayahr
  • 20,913
  • 29
  • 99
  • 147
3
votes
4 answers

How to build plugins having different versions from a single parent pom.xml?

I am trying to build several Eclipse plug-ins with Maven Tycho. All the plug-ins does not have the same version number. Let's say the following pom architecture: plugin1 (version 1.0.6.qualifier) / pom.xml plugin2 (version 1.4.0.qualifier) /…
greydet
  • 5,509
  • 3
  • 31
  • 51
3
votes
2 answers

Dynamic label of a popup action in eclipse plugin development

I want to create a simple eclipse plugin, which does: When you right click a java project, it will show a popup menu which has a item has label "N java files found in this project", where "N" is the file count. I have an idea that I can update the…
Freewind
  • 193,756
  • 157
  • 432
  • 708
3
votes
1 answer

Mylyn connector for custom webservice

I need Mylyn connector to communicate with my custom webservice. We have our customized bug tracker system and I want to link it with Mylyn task repository. I am able to create custom webserivce which can return specific kind of result to link with…
Pritesh Patel
  • 1,969
  • 1
  • 18
  • 32
3
votes
2 answers

How to get Googlecode SVN statistics

I have a google code repository and I would like to find some statistics, things like number of lines of code, number of commits etc. I see that there is something called StatSVN but this requires the log file from the repository. Does anyone know…
luketorjussen
  • 3,156
  • 1
  • 21
  • 38
3
votes
2 answers

How to exclude eclipse-plugin dependencies when copy-dependencies?

This is my second question in StackOverflow. First one was a bit long. I hope this time I can cut right to the point :) Say Eclipse plugin project P depends on plugin R via Require-Bundle. So we have 2 projects in our Eclipse workspace. And again,…
lembas
  • 377
  • 1
  • 7
  • 21
3
votes
1 answer

eclipse preference - where and how to store

I'm developing an Eclipse-Plugin which has it's own preference page. First question: Is it possible to store these preferences workspace independent? Instead, I'd like to store it for the Eclipse installation. If yes, how? Second question: I'd like…
Antje Janosch
  • 1,154
  • 5
  • 19
  • 37
3
votes
1 answer

Eclipse Plugin Dev: How to use new Rich Text Hovers (since 3.4)

I've implemented plain text hovers in my plugin with ITextHover. And now I want to use new eclipse 3.4 feature - Rich text hovers with text styles, images and actions.But I can't find articles/examples about it. What interfaces should I use and…
Imaskar
  • 2,773
  • 24
  • 35
3
votes
1 answer

Is there any method to clean old plugins/features from disk automatically once new plugin/features are installed in eclipse RCP?

I am building an RCP application, where there will be updates in the features/plugins every quarter. So, if a user chooses to auto update the feature/plugin then new jars for updated plugins are getting downloaded, but the old plugins are still…
SSK
  • 63
  • 3
3
votes
1 answer

Looking for BeanShell Validator plugin for Eclipse

I have inherited a Java WebApp that contains the majority of its business logic in a 16K line BeanShell File. I am looking for something that will validate my BeanShell files so I know at least it is working as it should, if I could debug the script…
PseudoNinja
  • 2,846
  • 1
  • 27
  • 37
3
votes
3 answers

How can we automatically disable an Eclipse plug-in on target platforms?

We have developed an Eclipse plug-in called CodingSpectator that collects some data about the usage of various Java development tools in Eclipse. This data helps us better understand how developers use Eclipse and how we can improve Eclipse to…
reprogrammer
  • 14,298
  • 16
  • 57
  • 93
3
votes
3 answers

Creating Eclipse plugins from existing jars in an automated build

I want to make the build process for my Eclipse RCP plugin fully automatic. It has some third-party jar dependencies (available from Maven repositories) which are not distributed as OSGi bundles, and currently I use the "Eclipse plugin from existing…
Alexey Romanov
  • 167,066
  • 35
  • 309
  • 487
3
votes
2 answers

How can I safely use an Eclipse p2 profile?

I encounter some problems when I try to update Eclipse plug-ins at the start up of Eclipse. My program pops up the dialog at Help -> Check for Updates at the start up of Eclipse. But, when the user proceeds with the update quickly, Eclipse throws an…
reprogrammer
  • 14,298
  • 16
  • 57
  • 93
3
votes
1 answer

Can't execute goal org.eclipse.tycho:tycho-surefire-plugin:2.0.0:test (default-test) after switching to Java11

I'm trying to switch our legacy eclipse-plugin-based multi-modules project to Java-11, and made almost everything, except the "eclipse-test-plugin" projects. All of them throw a similar error WARNING: An illegal reflective access operation has…
Andrqxa
  • 87
  • 1
  • 9
3
votes
2 answers

What are strategies for not making Eclipse RCP based application look like IDE?

Is there example for Eclipse RCP based application that doesn't look like engineering tool, but rather more friendly to a regular user, so I could learn from it (open source preferred)?
Michael Spector
  • 36,723
  • 6
  • 60
  • 88