eclipse-plugin

Eclipse plugin developing

Hello, I'm developing an Eclipse pluging which is executed when I right clik on a project in Project Explorer view and choose my option in the menu. The thing is that I need to get location of the selected project. I mean location on disk. When you right click on any project and go to Properties there is always Location listed. Do you k...

Eclipse suddenly takes 5+ minutes to start

I'm using Eclipse Galileo (v3.51). All of a sudden, after weeks of it starting up in about 30 seconds or so it's taking 5+ minutes. The message it hangs on org.eclipse.jst.jsp.core Any suggestions? ...

how to eclox (doxygen plugin for eclipse)

How to get eclox to work in eclipse 3.5? Im on Ubuntu 9.04. I installed Doxygen from ubuntu repositories(version 1.5.8). Then I installed eclox on eclipse through the update site. Still I don't get any option to in any menu to initiate it. Also the eclox site(eclox) doesn't seem to give any "getting started" guide. Please help. ...

Best UML plugins for Eclipse

I just inherited a J2SE project and will be working on it on Eclipse. I'd like to get some diagrams out of the existing code and I'm looking for good UML plugins to use with Eclipse. Any recommendations? ...

JDT without Eclipse?

Some time ago I wrote an Eclipse plugin which makes use of JDT to do some parsing. Now I am thinking of making a command-line version of this app. Naturally, I hope to reuse the parsing code, so I need to get JDT to work outside Eclipse. Is there any way I can accomplish this (maybe build some wrappers, etc)? Are there any ports of the J...

Eclipse-Plugin with submenu. How to handle JavaProjects and Projects?

I want to write an Eclipse-plugin that performs an Action with a selected Project. I used the plugin Template with submenu. My plugin.xml looks like this : <extension point="org.eclipse.ui.popupMenus"> <objectContribution objectClass="org.eclipse.core.internal.resources.Project" id="testplugin2.contribution1">...

Get IResources methods in eclipse development?

I'm developing an eclipse plugin and need to list of IMethods that belong to an IResource. I see IType has a getMethods function but not sure how to go about converting an IResource to an IType Help appreciated Nicky ...

Eclipse (on Ubuntu) do not have jsp, html and other web-files template

I installed Eclipse using Synaptic Package Manager (Ubuntu 9.10). However, my Eclipse does not have any HTML template (in New dialog) or JSP template. How can I fix it so that I will have some HTML and JSP templates overthere? ...

How to disable mnemonics?

I'm extending Eclipse using the Eclipse plugin infrastructure, and I've come into a problem: I created an Eclipse editor and I would like to disable the mnemonic menus Eclipse, for example: ALT + a is equivalent to the menu Search. Because I need these combinations (Alt +...) in my editor. what to do? ...

Writing eclipse templates

I am writing django templates in Eclipse->prefrences->templates, to autocomplete DJango templates. I wrote this {% block ${cursor} %} {% endblock %} Now, when I request and do autocompletion, after typing {% the autocompletion is {% {% block %} {% endblock %} While I would like {% block %} {% endblock %} With cursor after ...

How to tell eclipse preferred content type for a file

I'm working on a plugin that will handle files of a given type, say, .xyz when in eclipse I try to open an xyz file. I'm trying to use org.eclipse.core.runtime.content.IContentType type = org.eclipse.core.runtime.Platform.getContentTypeManager().findContentTypeFor( fileURI.getPath()); I've got code to look up the needed fact...

How do you create a Spring MVC project in Eclipse?

I am trying to follow basic tutorial for Spring MVC but get lost at creating a new project in Eclipse. It seems that most tutorials assume you know how to create a Spring Project in Eclipse. Any advice on where to get started or tutorials which explain how to set up Eclipse would be appreciated. ...

How can I develop Eclipse search Plugin?

Hi, I want to develop a plug in view which will automatically call the search plug-in in Eclipse and display all the positions where a particular function was called in a package. Help me! How should i go about it? Thanks ...

GWT plugin for Eclipse not downloading

I`m following the instructions on the page : http://code.google.com/eclipse/docs/install-eclipse-3.5.html during downloading I get the following error in eclipse 3.5 galelio, is the jar file corupt on the server corrupt or what? Is it possible to manualy import GWT plugin in eclipse? java.io.IOException: Error unzipping C:\DOCUME~1\Imr...

How to use IJavaElement

Hi , I am developing a search plugin where i am using IPackageFragment to specify the package in which the search is to be carried out . I am not able to use the IPackageFragment to create IJavaSearchScope . Please help me by providing an explanation with suitable example . Thanks ...

how to convert string to IJavaProject type?

Hi, I am developing a plugin.In this i take project as input from textbox which is a string , but it has to be converted to IJavaProject type before proceeding. How can i do that ? Thanks ...

How to open Java project in Eclipse plugin?

I used the following code to get IJavaProject type from string: IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(projectName); IJavaProject javaProject = JavaCore.create(project); After this, I used javaProject.open(monitor); where monitor is of type IProgreeMonitor, to open the project... I am not able to open ...

Android Plugin for Eclipse problem

I am using a laptop with Windows 7 Home Prem x64. I have installed Java JDK1.6.0_18 and Eclipse Gallileo. I have downloaded and installed the latest version of Android SDK with several Platforms loaded and a AVD defined. I can install the Android Eclipse plugin from the remote site stated in the instructions. The plugin installation perf...

can i use only the eclipse IDE without using the myeclipse?

In my new project i work on, we use the myeclipse on top of Eclipse IDE. Our architecture includes jsp, jsf, ajax, spring framework with hibernate persistence and also has blaze for some business validations. We also expose Web services. For the build we have the maven and ant. The server used is weblogic.Also like to mention that we u...

Eclipse plugins for Spring / Hibernate development?

I have a running dynamic web project in Eclipse (Java EE + Maven + Spring). I am at the point where I need to integrate a persistence layer and want to use Hibernate with a mySql database. I am wonder what plugins would be useful for me at this point? For Hibernate should I install hibernate tools or is it not necessary? Are then any ...