eclipse-plugin

Alter properties of a menu item in Eclipse Plugin?

I am trying to modify the behaviour of File -> Refresh in the menu bar of my Eclispe plugin. I am effectively trying to override the activeWhen behaviour of the "org.eclipse.ui.file.refresh" command, so that it is always active. There seems to be plenty of information on creating these menu items but very little on overriding them, any ...

WCF Service and Java Client

Hi all, I have developed a WCF Service hosted on IIS. We have a core Java application that needs to communicate with this service. So far I have been able to use Net Beans to generate a Web Service Client by pointing it at the service wsdl and all is good. The built jar is then taken into an Eclipse project, referened there and its func...

How to exclude .svn directories from search in Eclipse?

I would like to perform a search but exclude all .svn directories from the search. How could I do that? By the way, I have the Subversive plugin installed in Eclipse, if it's needed. ...

Why does the eclipse installation of new software failed?

I have just download the eclipse and go to Help -> Install new Software, choose the Helios - http://download.eclipse.org/releases/helios as the repository, then the exception coms out as , org.eclipse.equinox.p2.core.ProvisionException: Unable to connect to repository http://download.eclipse.org/releases/helios/compositeCo...

Adding web facet to project without creating EAR

I am trying to convert a java project to a dynamic web project programmatically by adding the required project facets. Here is my code: IProjectFacet JAVA_FACET = ProjectFacetsManager.getProjectFacet("jst.java"); IProjectFacet WEB_FACET = ProjectFacetsManager.getProjectFacet("jst.web"); iFacetedProject.installProjectFacet(JAVA...

How to export the Eclipse plugins to a folder "eclispe" with the cotent .exlipsextension and subfolder plugins

Dear all Now I develop a plug-in for WindRiver workbench. When I export my plug-in, only a xx.jar file is generated. I wonder how to export my plug-in in a folder exclipes with the content ".exlipsextension" and subfolder "plugins". ...

Random double-quote character in jsp output

I have a .jsp page I'm compiling with ant and deploying to a Tomcat 7 server. A couple of times the output source document has a double-quote character added at a point where it shouldn't be added. It seems to persist through multiple compiles and deploys, but they've always gone away after a while. Here is a section of the jsp: <for...

running hello world program from developer.android.com

Hi! I am trying to run the hello world program which is present on developer.android.com.I am using eclipse 3.4.1 version. But when i run the program it doesn't give me any errors, but it doesnt display hello world either. All it displays is the emulated device which i can get by running the android sdk also. ...

Eclipse + Android not recognizing my (dimension) values

I am teaching myself Android using Eclipse, the Android plug-in, and Sams "Teach Yourself Android Development" book. I have this weird little problem. I've been able to create xml files in the res/values directory that hold strings and color values (colors.xml and strings.xml). I have been able to reference these values in the propert...

How to change the background color for the line number column in eclipse?

I am using Eclipse 3.6.1 classic and trying to tweak the color syntax to my desire. The one thing I haven't been able to change is the background color for the line number column. If this is not possible because Eclipse doesn't have an option for it, I will be satisfied even with a hack/plugin if any of you know of any. Thanks. ...

How to execute or implement batch file in java project with eclipse

Is it possible to implement or extract batch file in eclipse and debug java project in debug mode. Because without batch file I can't debugging my project and can't set breakpoint.Or some another solution. How to debug my application with use .bat file to start my java project. ...

Eclipse PDE: Package does not exist in this plug-in

We are developing an Eclipse plugin that is split into several Eclipse Projects. We want to export some of the classes that are defined in these external projects (via Export-Package in MANIFEST.MF). The problem is that Eclipse gives an error "Package xxx does not exist in this plug-in". To give an example, let's assume that the plug-i...

Struts Plugin for Eclipse Helios (Ubuntu)

Are there any Struts Plugins for Eclipse Helios - that make it easier to Navigate through Struts based Projects? I am on an Ubuntu system. Thanks. ...

Navigating from struts.xml to occurrence of action in Eclipse

I have some code within struts.xml like: <action name="viewApplicationPDF" class="com.xxx.abc.web.action.XApplicationPDFAction"> <result name="success">/WEB-INF/templates/xApplication.jsp</result> </action> I want to be able to quickly jump to the occurrences of the action "viewApplicationPDF" within jsp files...

Adding a drawable resource

This must be something I’m just overlooking or possibly my ADT install is out of date. When I attempt to add a new drawable resource to my project I don’t see a type of Drawable in the “New Android XML file dialog.” Here’s what I see when adding a resource: http://img221.imageshack.us/img221/2977/drawable.jpg What am I missing here? ...

eclipse javascript editor '10

Hi, I am going to ask the same as http://stackoverflow.com/questions/24678/eclipse-javascript-editor because it is 2010 and answers from 2008 are not true any more. So, "I'm looking for opinions on the best JavaScript editor available as an Eclipse plugin". Many thanks. ...

eclipse plugins you cannot live without

Possible Duplicate: Do you have any recommended plugins for Eclipse? What is the eclipse plugin you consider most useful / cannot live without (except the obvious ones like m2eclipse, svn, egit) ? :-) For me: PathTool - this plugin let me open terminal and explorer for projects files ...

How to find components within IWorkbenchPart?

I'm writing a plugin for a poorly-documented Eclipse RCP application and I need to add a listener to what I believe is a TreeViewer within a view. I have access to the IWorkbenchPart representing the view, but how can I get the TreeViewer it contains? I'd guess I need a method to return the child components (i.e. something equivalent t...

Eclipse Extension Point for Updating the Classpath

Question Given a Classpath Container I've written as a plugin/extension, how do I add it to the classpath, automatically? Background Ok so I'm an experienced Java Developer but extremely new to writing Eclipse Plugins. I've been googling, following tutorials and reading source code of other plugins for a couple days. I know exactly ...

How to Install Visual Editor on Eclipse Helios?

Hey, I use Eclipse Helios in Ubuntu, and I'd like to install a plugin for eclipse that works with swing. So, I found visual editor in this site http://www.eclipse.org/vep/downloads/, and I downloaded it. Now, I'd like to know hoe to install it. I tryied going in Help>Install new Software, but nothing. So if someone could help me with thi...