eclipse-plugin

How to avoid widgets being added while moving back and on then clicking Next?

為{幸葍}努か 提交于 2020-03-04 17:37:09
问题 I have created a Wizard. it has 3 pages- @Override public void addPages() { super.addPages(); addPage(firstPage); addPage(secondPage); addPage(thirdPage); } For the first page, I have a simple label with a input field to collect user entered value- @Override public void createControl(Composite parent) { Composite page = new Composite(parent, SWT.NONE); setControl(page); setPageComplete(false); // page.setLayout(new GridLayout(2, false)); GridLayout gridLayout = new GridLayout(); gridLayout

Eclipse plugin is listed with other plug-ins, but UI contributions are missing

烂漫一生 提交于 2020-03-03 12:00:36
问题 I wrote two Eclipse plugins that work fine when I use Eclipse to run them in another instance of Eclipse. I'd like to distribute the plugins to a relatively small number of people for feedback and was hoping that the dropins folder would provide a quick and dirty solution. When I put the plugins in the dropins folder of my Eclipse installation (Indigo), I see the plugins listed with other plugins in the installation details. The UI contributions are missing and I haven't been able to find any

Disable Syntax Error “Symbol <id> could not be resolved” for some symbols in Eclipse Plugin using CDT

馋奶兔 提交于 2020-02-25 09:37:42
问题 In my eclipse plugin I want to support my tool's language which extends C++ with some keywords and concepts. My language class, editor class and source parser class are all inheriting CDT classes for C++. I can parse the keywords and add nodes for them to the AST. But some of my keywords/commands the editor will always mark as "Symbol could not be resolved". Example: There is a command "@result" wich returns the result of a last computation as an enum value that is defined in some header file

How to generate an .hpi plugin from an existing project for jenkins

南笙酒味 提交于 2020-02-22 07:53:07
问题 I'm trying to use the performance plugin for jenkins, but the latest version has some issues as described in the link: https://issues.jenkins-ci.org/browse/JENKINS-27100 One of the comments is: "I think this issue have fixed in the trunk, check out and build locally seem to fix the issue. I'm using version Jenkins ver. 1.596.2" I'm trying to do the same, download the project and build it locally. This is the part that I don't know how to do. I have downloaded eclipse (mars), but I don't even

How to generate an .hpi plugin from an existing project for jenkins

落花浮王杯 提交于 2020-02-22 07:49:05
问题 I'm trying to use the performance plugin for jenkins, but the latest version has some issues as described in the link: https://issues.jenkins-ci.org/browse/JENKINS-27100 One of the comments is: "I think this issue have fixed in the trunk, check out and build locally seem to fix the issue. I'm using version Jenkins ver. 1.596.2" I'm trying to do the same, download the project and build it locally. This is the part that I don't know how to do. I have downloaded eclipse (mars), but I don't even

How does eclipse provide Override/implement methods widget?

三世轮回 提交于 2020-02-07 05:48:12
问题 Which class of eclipse displays a frame which called override/implement methods, when we right click-->source-->override methods 回答1: I don't know but maybe PDE Plug-in Spy can tell you: http://www.eclipse.org/pde/incubator/spy/ [EDIT] Here is what I did: I looked for the string "O&verride/Implement Methods..." in the Eclipse sources. It can be found here: http://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/tree/org.eclipse.jdt.ui/plugin.properties That gave me the property to search for:

Invoking the Exec Maven Plugin goal exec:java from any directory

孤街浪徒 提交于 2020-02-06 19:37:08
问题 I have been able to run an Eclipse Java Maven project from a Windows shell. However, I am able to do so only by invoking mvn from the parent directory of the Maven project. Is it possible to invoke mvn from any directory? In other words, are there any command line arguments mvn supports that would allow invocation from any directory? I am not able to gather this from the mvn manual page. 来源: https://stackoverflow.com/questions/58737699/invoking-the-exec-maven-plugin-goal-execjava-from-any

Eclipse PDE: Mimicking IResourceChangeEvents for IJavaProject creation between PDE and developer's workspace?

五迷三道 提交于 2020-02-06 04:24:05
问题 (NOTE - FINAL SOLUTION IS BELOW) In my plug-in, I am trying to create an IJavaProject (using Eclipse JDT, code at the end) that creates a Java Project almost EXACTLY as if the IJavaProject were created by the developer (or whoever is using the plug-in). I am able to create the IJavaProject from my PDE, and it works fine, but I need to mimic the IResourceChangeEvents that arise from the project creation in my PDE to match the IResourceChangeEvents that arise from Java project creation in the

ADT not installing on Eclipse Kepler

南笙酒味 提交于 2020-02-06 02:04:05
问题 I have downloaded Eclipse Kepler and now trying to instal Android ADT. I am facing the below issue. Cannot complete the install because one or more required items could not be found. Software being installed: Android Development Tools 22.6.3.v201404151837-1123206 (com.android.ide.eclipse.adt.feature.group 22.6.3.v201404151837-1123206) Missing requirement: Android Development Tools 22.6.3.v201404151837-1123206 (com.android.ide.eclipse.adt.feature.group 22.6.3.v201404151837-1123206) requires

ADT not installing on Eclipse Kepler

自作多情 提交于 2020-02-06 02:03:45
问题 I have downloaded Eclipse Kepler and now trying to instal Android ADT. I am facing the below issue. Cannot complete the install because one or more required items could not be found. Software being installed: Android Development Tools 22.6.3.v201404151837-1123206 (com.android.ide.eclipse.adt.feature.group 22.6.3.v201404151837-1123206) Missing requirement: Android Development Tools 22.6.3.v201404151837-1123206 (com.android.ide.eclipse.adt.feature.group 22.6.3.v201404151837-1123206) requires