eclipse-plugin

Eclipse Oxygen plug-in Missing Constraint: Import-Package

被刻印的时光 ゝ 提交于 2020-01-02 06:44:33
问题 I am writing a plug-in for Eclipse Oxygen that allows External Tools to be run directly from toolbar buttons. When I right click the project and click Run As Eclipse Application I get a pop-up that shows the following errors javax.xml.ws Missing Constraint: Import-Package: java.xml.bind; version="0.0.0" Missing Constraint: Import-Package: java.xml.bind.annotation; version="0.0.0" org.apache.xmlrpc Missing Constraint: Import-Package: java.xml.bind; version="0.0.0" If I click Continue, Eclipse

writing a custom Eclipse validator

点点圈 提交于 2020-01-02 05:23:11
问题 I have a custom file format that I'd like validated by eclipse. In other words when I view this file in the eclipse editor I'd like a red squiggly line to show up under errors. This seems like it should be a pretty easy thing to do. Can someone point me in the write direction? 回答1: As mentioned by Konstantin, Xtext is a great way if you can define your complete format. If you just want to validate one aspect of some complex format, it might be easier to manually create markers on the file,

How to run Sencha Touch Application in Eclipse

六眼飞鱼酱① 提交于 2020-01-02 04:06:12
问题 i am new to sencha touch & phone gap.i want to run simple hello word app in eclipse.but i dont know how to do it.if any one knows it than let me know fast Thanks in advance Aamirkhan I. UPDATE: Well there is a plugin availble for eclipse in which we can easily create any sencha,jquery mobile,phonegap project's,just need to follow some steps to integrate that plugin..see MY POST for that plugin guide,i updated my answer just to help other's who don't know how to write sample application in

Error installing Drools plugin for Eclipse

血红的双手。 提交于 2020-01-02 02:59:07
问题 Does anyone know how to fix this issue ? Cannot complete the install because one or more required items could not be found. Software being installed: JBoss Runtime Drools Detector 6.3.0.Final (org.jboss.tools.runtime.drools.detector.feature.feature.group 6.3.0.Final) Missing requirement: JBoss Runtime Drools Detector 6.3.0.Final (org.jboss.tools.runtime.drools.detector.feature.feature.group 6.3.0.Final) requires 'org.jboss.tools.runtime.core.feature.feature.group 0.0.0' but it could not be

Eclipse is saying “Update Android Developer Toolkit”

二次信任 提交于 2020-01-02 01:55:09
问题 I've somehow managed to mess up my Eclipse and Android set-up and I'm not sure how to fix it. The symptoms of the problem are as follows: In Preferences > Android, I try to select the location of android-sdk-linux, when select the error appears "This Android SDK requires Android Developer Toolkit version 20.0.0 or above. Current version is 18.0.0.v201203301601-306762. Please update ADT to the latest version." Going to Help > Check for Updates in Eclipse, returns no updates found Going to Help

How to add @Override, @Deprecate and static modifiers to methods automatically for all project Java classes where necessary?

二次信任 提交于 2020-01-02 01:35:08
问题 I need to insert @Override / @Deprecated annotations and static modifiers automatically where necessary to all Java files of concrete project is opened in Eclipse IDE. Eclipse has a great ability to insert @Override / @Deprecate annotations and add static modifiers on Java files saving ( Preferences -> Java -> Editor -> Save actions -> Additional actions ). But Eclipse can apply these actions only on edited java file and only when saving it. Sure, I can insert a tab or space into the each

Eclipse Juno build error with “Maven Project Builder”

两盒软妹~` 提交于 2020-01-02 00:43:05
问题 When I try to clean & build my Maven project I get the following error: Errors occurred during the build. Errors running builder 'Maven Project Builder' on project '(Hid Project Name)'. org/apache/maven/project/MavenProject Errors running builder 'Maven Project Builder' on project '(Hid Project Name)'. org/apache/maven/project/MavenProject similarly with the clean all process, it throws the following: Errors occurred during the build. Errors running builder 'Maven Project Builder' on project

eclipse plugin: How to programmatically select text in editor?

◇◆丶佛笑我妖孽 提交于 2020-01-01 15:06:55
问题 I want to programmatically jump to a position in the text editor and highlight code. 回答1: I wasn't able to get Andrew's answer to work in Eclipse 3.7. The compiler gave this error: The method getSourceViewer() from the type AbstractTextEditor is not visible. However, I was able to get it to work with the selectAndReveal() method: IFile myfile = ... IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage(); ITextEditor editor = (ITextEditor) IDE.openEditor(page

Adding an entry in a submenu of a popup

北慕城南 提交于 2020-01-01 14:22:04
问题 I'm building a plugin, and adding an entry to the context menu (right-click on a folder in the project tree). So far it works, following this tutorial: http://www.eclipse.org/articles/article.php?file=Article-JFaceWizards/index.html The problem is that it's adding my entry in the root of the context menu. Since my entry refers to a "New XXX" wizard, I want it to go to the "New" submenu. It seems like I would have to set the correct locationURI or menuPath in my plugin.xml. However I can't

Adding an entry in a submenu of a popup

六眼飞鱼酱① 提交于 2020-01-01 14:20:15
问题 I'm building a plugin, and adding an entry to the context menu (right-click on a folder in the project tree). So far it works, following this tutorial: http://www.eclipse.org/articles/article.php?file=Article-JFaceWizards/index.html The problem is that it's adding my entry in the root of the context menu. Since my entry refers to a "New XXX" wizard, I want it to go to the "New" submenu. It seems like I would have to set the correct locationURI or menuPath in my plugin.xml. However I can't