eclipse

org.eclipse.jface.dialogs.MessageDialog.openQuestion How to interact?

I am working on an eclipse plugin. One of the files has this code org.eclipse.jface.dialogs.MessageDialog.openQuestion(null, some function , "Do you agree?"); This part of the code pops up a dialog box with a message and has two options, yes or no. I want to display a new dialog box for yes and n...

Optimizing Eclipse for Android development

I develop Android using Eclipse and the ADT plug-in... and it's... slow. I have to restart frequently and it gets painfully worse when I have various Android projects open (needed for when I use library projects). Are there any specific optimizations that I can make to improve Eclipse performance when using the ADT plug-in? ...

standalone jar lags

when i'm running my project in eclipse, it works fine, when i export it as standalone jar it lags. i'm using the same vmargs, tried 3 different export settings in eclipse, nothing seems to help ...

Eclipse debugging a variable

Hi, While debugging a variable in Eclipse that takes "true" but the same takes "false" when i run the code in Eclipse. What are all the possible reasons for this scenario? Thx ...

How to find forward reference in eclipse?

Is there any way by which I can find out all classes which implement a particular interface? For example, if I have a interface as follows: public interface myIntFac{} I want to find all classes inside current project that implement this interface. How can I find it out in Eclipse? ...

In Maven: how to attach sources to tools.jar

I have to use libraries in tools.jar and have therefor added this dependency: <dependency> <groupId>com.sun</groupId> <artifactId>tools</artifactId> <version>1.6.0</version> <scope>system</scope> <systemPath>${java.home}/../lib/tools.jar</systemPath> </dependency> Now I would like to attach the sources in Eclipse, ...

Eclipse freezing at startup - before loading workspace

First thing on a morning, just after I switch on my PC (Windows XP) and start my Eclipse it simply shows the splash screen and then freezes. After about 20 minutes it will then ask me which workspace to load. The problem was happening with 3.5 and 3.6 Eclipse. With the 3.6 Eclipse installation I only have the standard PDE install + Goo...

Converting Eclipse plugin to Intellij

I have an eclipse plugin which I want convert to an intellij plugin. Is there a quick way to do that. What will be the design patterns I can use? ...

tomcat configuring with eclipse

whats the cause of this error while running tomcat 6.0 on eclipse ide helious: Several ports (8005, 8080, 8009) required by Tomcat v6.0 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or c...

JVM: could not open

Error - JVM - BlackBerry 9800 Simulator --------------------------------------- JVM: could not open C:\Users\Bayron.Tellez\Downloads\eclipse-java-helios-win32\eclipse\plugins\net.rim.ejde.componentpack6.0.0_6.0.0.29\components\simulator\Java\net_rim_bis_lib.cod My friend installed Eclipse with the Blackberry simulator. I'm ass...

Eclipse project layout for Android with premium features

I am about to embark on a project for android that will have a free version and a premium version. In VC++ land you would do this by adding preprocessor tags around the premium sections (or where the code would enter a premium section). I could have two projects with separate source trees, but a bug in one would require a fix in the ot...

How to find classes having member variable SomeTO in eclipse?

Eclipse nicely gives me object graph of "Is-A" or "Inheritance/Generisation/Specialization". relationship. But Is there any quick way to find "Has-A" or "Composition" relationship graph for classes in eclipse? ...

How to use Ant sources with Eclipse?

Hi all, my question relates to the Ant libs and source included with various Eclipse distributions. e.g. eclipse/plugins/org.apache.ant_1.7.1.v20090120-1145 and eclipse/plugins/org.apache.ant.source_1.7.1.v20090120-1145.jar How can I associate these together? What I'd like to do is set a breakpoint in the Ant Javac task, so I can confi...

Android library projects

Hi I created a libray android pakage i included a external jar (apache.commons) i marked the project as library. I create a new android project add library under andriod tab add project under source tab build it and it builds fine. As soon as i call something out of that class i get a java.lang.NoClassDefFoundError. What is going on....

Right-to-left eclipse appears when developing a plugin

My Windows machine is in a region using right-to-left text direction. However, eclipse behaves in a left-to-right manner, e.g. with menus and text alignment on the left side. This is good as it is my preferred layout. However, I am developing an eclipse plugin and whenever I launch my plugin as an "eclipse application", a new eclipse in...

what is the correct version of Eclipse for Coldfusion?

Hi Usually when one wants to create a new file in the Eclipse IDE , Java, Javascript, Colsdfusion PHP etc are provided as the options for the new files. I recently downloaded Eclipse for Coldfusion 8 and excecuted the file "software/dw/java/europa/J2EE-SDK-Europa-33-win32.zip" . Now when I want to create a New File "only JAVA " optio...

how to add struts or hibernate capabilities in Spring Source Tool?

generally by using my-eclipse we add struts,hibernate and jpa capabilities to our applications/projects, like this how to add structs or hibernate capabilities to our applications using Spring Source Tool? Spring Source tool is a version of eclipse ide. ...

Optimizing HttpURLConnection in Android

Hello there, this problem is bugging me: HttpURLConnection con = (HttpURLConnection)new URL(url).openConnection(); con.setRequestMethod("HEAD"); if (con.getResponseCode()!=200 ){dosomething()} Is this the correct way to set the Request Method, or is it already too late since I called URL.openConnection() and it already made the conne...

Android Eclipse - error trying to open or edit /res/values/strings.xml - NullPointerException

getting error: An error has occurred. See error log for more details. java.lang.NullPointerException when I attempt to edit this file in my eclipse Android sdk project. Not seeing anything in LogCat or the Console. I need to update this file to rename the Project. ...

Change hotkey for autocomplete selection

In Eclipse, I find it pretty annoying that Enter is the hotkey that selects an item from the Content Assist/Autocomplete list. Especially in PyDev where there is no end-of-line semicolon, pressing enter for a new line will instead give me whatever is selected in the Autocomplete list. Tab is a much better selection hotkey since I'm not...