eclipse

Gallery of GEF/Draw2D figures

I am new to GEF/Draw2D, I've seen some tutorials on the topic, but I am wondering if any of you have seen a gallery of all figures which are shipped together with GEF? So that one can quickly see what do they look like and what's their purpose? ...

multi-module maven project

If I have 6 modules in my project is it possible to build only one out of six ? without commenting out others ? EDIT Submodule will not work itselft because or parent tags. I need to install the parent first to make it build. how can I do it without installing parent ...

assert conditions in eclipse

hello I've write a junit test with eclipse , to check the Gui component status ,I use assert : textfield.assert("expected message") i'm searching how to get the error message printed by assert the message saying that the expected text doesn't match th typed text is printed in the eclipse console I like to get this message to generate a...

Open working copy file from eclipse history view

The history view of eclipse shows you a list of files changed in a certain revision. When you open the context menu on one of these you have the option 'Open' which opens a view of that file in that revision. How can I open the editor for the selected file, i.e. the file in the version of the working copy, right from the history view? ...

eclipse: explicitly saving project / workspace

Is there a way to force Eclipse to save project / workspace settings? I can't find a "save workspace" or "save project" command. (I've never had a problem with this in Eclipse, but TI's Code Composer 4 is based on Eclipse and it sometimes crashes and doesn't retain the changes I made in project settings.) ...

java process and inputstream

Hi! I develop an eclipse plugin and I use process running within this. I create an process and after I read its inputsream, but while the process and the inputstream are running, my eclipse platform can't answer for anything. So I would like to do a solution, when eclipse doesn't freeze. I think I should do this with java threads. If so...

Eclipse autocomplete not working in some Java files

Hi, I have noticed that autocomplete is not working in some of java files in Eclipse. Also, the files where autocomplete is not working, display a hollow "J" as the icon for the Java file. The files where autocomplete is working, icon for java file is a filled "J" I am wondering if someone can point out what went wrong all of suddent, ...

Eclipse Auto-Complete for Included PHP Source

I've installed Eclipse 3.5.1 (PDE), which I believe I got from Zend's download site (it was a while ago on my travel laptop). I can't get auto-complete to work for any of my included libraries. I've tried both adding the libraries to the 'include path' and just linking the files to a subdirectory of the project. Neither get's me auto-com...

Can't dispatch DDM chunk 46454154: no handler defined - Eclipse - Android SDK

I'm working on a Windows 7, 64 bit machine, and just downloaded and installed the Android SDK and am using Eclipse with Android plugin. I was just going through the "Hello Android" guide here: Hello, Android I also did the suggestions on this page: Droid FAQ Before following the FAQ, the program would compile and run but wouldn't regi...

Hibernate session not getting created.

Hi all, I am trying to a run an application with Hibernate annotation. I am getting the following exception Initial SessionFactory creation failed.java.lang.NoClassDefFoundError: net.sf.cglib.core.DebuggingClassWriter$1 Exception in thread "main" java.lang.ExceptionInInitializerError at tapes.test.validation.SessionUtil.<clinit>(Se...

The type org.eclipse.core.runtime.IConfigurationElement cannot be resolved.

When building my Eclipse RCP Application, I get the following error. The type org.eclipse.core.runtime.IConfigurationElement cannot be resolved. It is indirectly referenced from required .class files. I have included the org.eclipse.core.runtime library in my dependencies, so I am not sure what the problem is. ...

m2eclipse not finding maven dependencies, artifacts not found

I'm using m2eclipse as my maven 2 plugin for eclipse. I'm brand new to maven, so my mistake might be simple, although searching has not yielded any solutions for me. I can run maven from the command line and it build successfully. However if I import as an existing maven project, or use mvn eclipse:eclipse and then import I get the ar...

Eclipse: Customized folding

Hi, Eclipse has built-in support for folding class/method definitions. But if/else, brackets and other blocks cannot be folded by default. I looked at the preference page, but there seems to be no rule to fold these elements. I'm wondering is it possible to define custom rules? Thanks, Bryan ...

Is there any way in Eclipse to format a code that contains divs in the way Netbeans do it?

Is there any way in Eclipse to format a code that contains divs in the way Netbeans do it? I mean, if you have this in Netbeans: <div> </div> </div> <div> and you format it (Source > Format), it becomes this way: <div> <div> </div> </div> ...

Install folder heirarchy to eclipse

I am kind of new to the Eclipse IDE. I have a heirarchy of folders C:\...\org\xmlvm\iphone that contains a lot of java files. How can I use them in Eclipse via import org.xmlvs.iphone;? UPDATE: I found a .project and a .classpath file. Does that help? I also found a .jar file. Do I drop that in plugins or feature? ...

Refresh list of drawables in Eclipse?

When I add drawable resources to my project they do not show up in the list of drawables in the Reference Chooser. I checked the R file and there are references for the files. I have tried refreshing the project, cleaning the project, and fixing project properties and nothing seems to help. Sometimes a couple will randomly show up in ...

Classpath entry eclipse.fproj.jdt.libprov.osgi/jpt.jpa is marked for publish/export but is not exported on the project classpath

I'm trying to get a new Enterprise Application Project set up in Eclipse using Glassfish as my app server and I'm seeing the following warning: Classpath entry eclipse.fproj.jdt.libprov.osgi/jpt.jpa is marked for publish/export but is not exported on the project classpath. Classpath visibility within Eclipse and at runtime will differ. ...

Grab selected text from Eclipse java editor

Hi! I'm developing an Eclipse plug-in where upon pressing a button, the plug-in takes the selected text in the java editor and puts in a text box which appears. My code looks like this: I got it from here: http://dev.eclipse.org/newslists/news.eclipse.newcomer/msg02200.html private ITextSelection getSelection(ITextEditor editor) { ...

How to run additional statements in eclipse(pdt for PHP)?

Like firebug's console,I can type in the scripts directly. Is there a similar place in eclipse out there? Or do I install some plugin to have the feature? ...

How would one go about adding (minor) syntactic sugars to Java?

Suppose I want to add minor syntactic sugars to Java. Just little things like adding regex pattern literals, or perhaps base-2 literals, or multiline strings, etc. Nothing major grammatically (at least for now). How would one go about doing this? Do I need to extend the bytecode compiler? (Is that possible?) Can I write Eclipse plugin...