eclipse-plugin

Eclipse Plugin to Convert Class Files to Java Source Code [closed]

寵の児 提交于 2020-01-13 09:08:18
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . Is there available an Eclipse plugin to decompile class files when source is not available (generate .java source code from .class files), something similar to what Resharper does for C# in VS.NET? Alternatively, is there a plugin which enables a friendlier view of the API of a class files than the default

Where are the default Eclipse Plugin Development Templates?

孤人 提交于 2020-01-13 06:48:09
问题 I have just started looking at developing a plugin for Eclipse and I found a bunch of tutorials, some of which seem out of date (i.e. using old versions of Eclipse). But I have found one that uses Helios, so it is pretty up to date. Yet all of them refer to creating the projects using templates. Whenever I start a new plugin project the list of templates is empty. Does anyone know where these templates come from? Is there something specific I need to install within Eclipse to get the

importing org.eclipse.core packages for Eclipse plug-in

こ雲淡風輕ζ 提交于 2020-01-13 04:28:10
问题 I'm trying to create a plug-in to mimic the Eclipse open resource dialog (CTRL+SHIFT+R). I've learned how to create a FilteredItemsSelectionDialog by following the example. But the missing piece is how to fill the dialog with the workspace resources. I found OpenResourceHandler and am trying to duplicate this functionality in my plug-in, so I can step through and see how it works. So I copy the source and rename it to avoid colliding with the real one. The problem is that I cannot import

Eclipse Back/Forward navigation using mouse buttons

Deadly 提交于 2020-01-13 03:54:13
问题 There is an addin for Visual Studio called MouseNavi that allows you to use mouse thumb buttons to navigate your history. Does a similar extension exist for Eclipse? 回答1: I don't know of any Eclipse plugin that does this, but assuming you're using Windows: This one should enable you to do what you want: http://www.highrez.co.uk/downloads/XMouseButtonControl.htm With that tool you can assign each mouse button a sequence of keys (Alt+Left for example) and because it can be made application

How to customize eclipse perspective programmatically?

故事扮演 提交于 2020-01-12 19:01:28
问题 I want to make the same behavior I got when I do a right click on a perspective and choose customize to get this window I want to customize menus and toolbars for my perspective only programmatically. Actually, I want to remove most menus and toolbars in my perspective only and let them show up again when I change to any other perspective Can you please help me with this ? 回答1: This guide shows how to customise toolbars programmatically based on the current perspective, and hints that the

Need UML reverse engineering tool for Java project [closed]

无人久伴 提交于 2020-01-12 04:48:36
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I need to maintain some project in Java, but it is very big. I need some plugin for Eclipse or program alone which can generate UML from Java project. Is there something what can help me ? 回答1: Visual Paradigm for UML Tools --> Instant Reverse --> Java --> Specify your sources and you are done. This is a

ClassNotFoundException when instantiating an eclipse plugin

▼魔方 西西 提交于 2020-01-11 11:33:11
问题 I developed an eclipse plugin and I'm trying to install it on another instance of eclipse. When I run/debug my plugin as an eclipse application everything works correctly. The problem occurs only after I install the plugin through the update site I created. I created a very simple update site which includes a single feature with my plugin packaged in it. After installing using the update site I can see my plugin in the plugin directory under the eclipse install dir and it correctly contains

Why does IResource.getRawLocation() return null for IProject

試著忘記壹切 提交于 2020-01-11 09:17:33
问题 I need the absolute location of a project folder, so I tried project.getRawLocation() but this returns null (at least in my case in which I have imported the project manually using Import ... Existing projects into workspace and I have checked the Copy projects into workspace checkbox). The thing is that project.getParent().getRawLocation() returns /work/Projekte/runtime-MyProduct.product which is correct and project.members()[0].getRawLocation() returns /work/Projekte/runtime-MyProduct

Why does IResource.getRawLocation() return null for IProject

坚强是说给别人听的谎言 提交于 2020-01-11 09:15:13
问题 I need the absolute location of a project folder, so I tried project.getRawLocation() but this returns null (at least in my case in which I have imported the project manually using Import ... Existing projects into workspace and I have checked the Copy projects into workspace checkbox). The thing is that project.getParent().getRawLocation() returns /work/Projekte/runtime-MyProduct.product which is correct and project.members()[0].getRawLocation() returns /work/Projekte/runtime-MyProduct

Difference between feature and plugin.xml?

半城伤御伤魂 提交于 2020-01-10 02:11:05
问题 I have some basic questions in eclipse plugin development, can anyone give clarification of the following questions, When should we have to add features in our plugin development ? What is the difference between feature and plugin.xml ? Regards Mathan 回答1: As mentioned in this thread: A plugin is the eclipse "unit of work". An OSGi bundle that supplies a classpath and can contribute to eclipse through extensions. A fragment points to a host plugin, and anything it provides (classpath,