How to get the parent module of project. Here is my code works fine in Eclipse PDE. But when I test the plugin(installing in eclipse) using test application by selecting the child module this condition (if (projectRoot == selectedResource)) is coming true and it return src and target as child modules which is incorrect. Any suggestion on how to get
Tag: eclipse-plugin
Eclipse API Read all submodules/child modules
I am trying to read all submodules of project. Below is the code which I wrote it is working as expected but I am not sure if this is an efficient way of reading all submodules of project. Please advice. Answer children[i].FOLDER == IResource.FOLDER doesn’t do anything – FOLDER is a constant so it is always true. You should never
WindowBuilder 1.9.5 not showing design tab after re import project
After several test I found that this that I did previously in another project is not working. In fact, a project I worked on a few months ago shows me this error of not showing the design tab. Create SWT/JFace Java Project Add Swing designer->JFrame The desing tab is visible Remove project from workspace Import the project The desing tab
How to disable the Error Hovers/Code Mining in Eclipse
I think this is something that is released lately in Eclipse 2021. These error hovers/code minings are really annoying. Sometimes, they overlap the code also, and the code moves a lot. Does anybody know how to disable this in Eclipse? Answer This is referred to as “code mining”. I came to the same conclusion as you. They were intriguing at
Using Apache POI from Eclipse Orbit in Eclipse bundle
I am trying to use Apache POI 4.1 from Eclipse Orbit Drop R20200831200620. This is what the relevant piece of MANIFEST.MF looks like: All required bundles are part of the target platform and I can see them in the plugin list in the runtime Eclipse. However, when trying to load an Excel file at runtime I get the following stacktrace:
NullPointer when Injecting eclipse Services in e4
Quick version for the impatient: When starting an Eclipse RCP Application a Part in a plug-in throws a NullPointerException because the following lines did not seem to work, as partService seems to be …
How to resolve conflict between JPMS and OSGi Bundle for Eclipse plugin project an Tycho
I am working on an Eclipse based project that recently switched from Java 1.8 to Java 11. Due to that we have now a conflict between classes from the JRE and classes that are introduced from Eclipse plugin dependencies. So the java.xml.* classes are now present twice. once from the module java.xml and once due to a dependency from our
How to add Lombok plugin to eclipse [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations. Closed 1 year ago. The community reviewed whether to reopen this question 7 months ago and left it
Eclipse plug-in: Custom plugin.xml like editor
I’ve been trying to mimic the plugin.xml editor in my own Eclipse plug-in. I want a graphical editor for a custom file type. The same way in which PDE has a specific form/editor to open plugin.xml. From what I understand I can implement a text Editor and link a file type to open in a particular editor. To add a
Eclipse Juno WindowBuilder Palette is Empty
I’m using Eclipse 4.2 (Juno) for Java EE and just installed WindowBuilder plug-n. At this time I’m building Java SE Application with Swing components. The Palette is completely empty (no widgets). Is it a sign of incomplete installation or have I (hopefully) missed something obvious? I was able to select New -> Other -> WindowBuilder -> Swing Designer -> JPanel.