eclipse-plugin

how to get file location when user select file/folder in eclipse navigator.

hi all, i am developing one eclipse plugin. now when user click on any file/folder and click icon(added by me) then i have to get that file location. can you please help me regarding this one. Thanks in advance. ...

Eclipse RCP File Explorer

Is there a good Eclipse RCP file explorer out there? I need a platform independent file explorer which should be extensible through plugins. I only found File Arranger , wich seems to be outdated. I just ask cause i want to develop such an explorer, but it wouldn't make sense if there is already a solution out there. ...

Is it possible to run FindBugs against only one Java class?

I use the FindBugs Eclipse plug-in and was wondering if I can simply analyze only one class rather than the entire project? I can't seem to figure it out. Simply right-clicking on the target class doesn't seem to do anything. ...

Datanucleus 2.x AND Eclipse RCP 3.4

Hi, ANYONE using Datanucleus (http://www.datanucleus.org/) with ECLIPSE RCP? Eclipse DOES NOT recognize Datanucleus has a PLUGIN, with versions of DN newer than 1.1.0m3 :-( The JARS i currently use, and the LAST ONES being recognized has plugins by eclipse (copied directly to \eclipse\plugins folder) are from datanucleus-accessplatfor...

Are the contents of a fragment visible outside the host plugin?

I have never worked with plug-in fragments before. I thought that by creating a new class within a fragment and exporting the package that contains it in the fragment's manifest, I'd be able to access that class from another plug-in that already has a dependency on the host plug-in. However, I cannot seem to make this work. Are the conte...

How can I add a default header to my source files automatically in Eclipse?

Hi. I'm trying to figure out how I can have a comment header automatically added to all new source files in my eclipse java project. I've looked around but I haven't found a simple solution to automate this process. I gave JAutodoc a try, and even though it does allow me to specify a header I still had to tell the plugin manually to inj...

how to provide signature in jar files in eclipse-plugins development??

Hi to all, Can anybody tell me how to add signature in jar file. I have developed a plugin but when i am installing it ..it is showing some warning in it is not signatured jar file??? Can anyone give me a guidance in this how to do that??? ...

What happened to the "Enable Nested Modules" option in m2-eclipse?

I contribute to and implement some open source projects that use a Maven2 build system organized into several sub-modules. I've also been an Eclipse user for several years. With these projects, I have historically leveraged the maven-eclipse plugin so that Eclipse can correctly recognise library dependencies in my project. It used to ...

Can we convert any java program into an eclipse plugin ?

I want to write a plug-in which tracks the updates to a text file and stores them in a separate file. Should I first write a simple java program which does this and then try to convert it into a plug-in? ...

Eclipse PyDev doesn't shut down interpreter when you click the little red button

Seems that even after unchecking the option in the PyDev/Debug preferenecs pane to launch in the background, once it's launched I have to go to task manager to kill the python process. ...

Getting weird python error when I run a simple django script in Eclipse, not happening in console

I am running a basic script that sets up the django environment by itself, to enable me to test the ORM features of django without having to implement web pages. The script then imports one of the types defined in my models. This error doesn't happen when I run this script from iPython, only from eclipse. Simply doing this import causes ...

OSS Flex Plugin for Eclipse ? [Experience Survey]

Hi, Could you please post your experience with any existing open source flex plugins for eclipse ? (anything other than flex builder). Thanks, -A ...

Architectural decision : QT or Eclipse Platform ?

We are in the process of designing a tool to be used with HDEM(High Definition Electron Microscope).We get stacks of 2D images from HDEM and first step is 'detecting borders' on the sections.After detecting edges of 2D slices ,next step is construct the 3D model using these 2D slices. This 'border detecting' algorithm(s) is/are impleme...

Eclipse crashes during SVN merges

I am currently using Eclipse Version: 3.5.1. It works perfectly in normal conditions, even with the SVN plugin, the faulty component that I am about to talk about now. The thing is that whenever I am conducting a merge, eclipse shuts down. It just crashes without even leaving an error message or anything else. It happens too often so th...

LinkageError thrown when attempting to pass instance of class between 2 eclipse plugins

I have found many people with simliar issues but no soultions...basically I have two eclipse plug-ins that both in ther class path rely on the same jar. The UI plug-in replies on the Driver plug-in (implementing a custom ODA driver and UI for it). Both rely on a jar containing some other classes of mine and is called plugin-dto.jar Whe...

Why does resolveBinding() return null even though I setResolveBindings(true) on my ASTParser?

I am writing an Eclipse plug-in that uses JDT AST's ASTParser to parse a method. I am looking within that method for the creation of a particular type of object. When I find a ClassInstanceCreation, I call getType() on it to see what type is being instantiated. I want to be sure that the fully-resolved type being dealt with there is t...

How do I get a reference to the current project in an Eclipse plugin?

I'm creating an editor for Eclipse. Right now the editor fires up with the user creates a new file with the appropriate extension. My question is, how can I get a reference to the project in which the file resides? For example, say I have a workspace with 2 projects, P1 and P2. I right click P2 and create a new file, can I get a referenc...

Any good way to have jQuery code assist in eclipse without Aptana / jquerywtp?

For eclipse 3.5 / 3.6 and JQuery 1.4.2, what are the best practices for a development IDE? (jquerywtp seems unmaintained, and aptana seems an overkill) Is eclipse not the right tool for JQuery dev? ...

Create a menu in a perspective in Eclipse

Hi. I am developing an Eclipse plug-in and I'd like to associate a new menu (at the top of the screen along with File, Edit etc) with a perspective I'm creating. I did the menu ok but it is being displayed even in other perspectives. How can I associate it only with my perspective? This is the code I am using in plugin.xml: <plugin...

How do I change content of ComboFieldEditor?

I want to change the values on one ComboFieldEditor depending on another ComboFieldEditor in an eclipse plugin. E.g. if the user changes the package, different classes need to be populated in the second ComboFieldEditor. The ComboFieldEditor class does not seem to to have a way to change the items on the fly. ...