eclipse

I am not getting code assist for a particular type of object in Eclipse

I have class in one package. and I am creating an instance of this class in another class which is in different package. When i want to use any methods on this object, i can use ctrl+space for code assist which shows all reachable methods which i can use. But in this case it is not showing any, even public setters and getters. So wanted ...

how to create editable spinner in android?

friends, can any one guide me how to create editable spinner in android? any help would be appriciated. ...

How to write maven buil script to execute java

Hello, How can I execute java program during the build, or after the build has just finished, is it possible to do this directly from pom: mvn exec:java -Dexec.mainClass=org.sonatype.mavenbook.weather.Main EDIT Lets say I wanna execute org.eclipse.content.MyClass how would I needed to write code? This builds the project but it does...

Undo closed tab in Eclipse?

I was wondering if it were possible in Eclipse PDT to reopen a closed tab by mistake. For example in Firefox I can do Ctrl + Shift + t. ...

Can I set an attached device as default launch target?

In Eclipse I am developing an application using google apis (maps) on a Nexus One. When I launch the application for debugging on the device i get: "Automatic Target Mode: Unable to detect device compatibility. Please select a target device." and the "Android Device Chooser" pops up. I can select the Nexus One and everything is ok. It...

Eclipse 3.5: Implementing my own context menu for a MultipageEditorPart --> no viewer involved

Hello! :-) In my current RCP-project i use a MultipageEditorPart. It has various pages, with simple SWT composites on it. The composites contain some Text and Combo elements. When the user right clicks onto the editor page, I want a context menu to open. This menu holds a command for creating a new editor page, with a composite on it. ...

Java Eclipse debugger getting results of method calls

I have a relatively complex object which among other things has a ConcurrentHashMap inside it. Within the debugger i'd like to see the results of calling the .size() method but I dont actually want this in my code nor do I want to put it in. . Above you can see what I have avail but id love to be able to somehow call/see the results ...

Set a content-typ in eclipse infocenter for *.xsd files?

We have a java server running an eclipse infocenter. The setup is standard; pretty much according to the help. One of our plugin helps have links to a XSD file and we want to be able to display that. The problem is that the XSD schema is shown as text/plain instead of text/xml. How can we set the content type of the filetypes? Edit: T...

Eclipse CDT - Copy static resource file to bin_dir

So my problem: I have a C++ project in CDT 6.0 on Eclipse 3.5, and I now have a static resource file (a .properties for log4cxx) that needs to be copied to the build folder. This file is accessed at runtime to configure the log4cxx subsystem, and it needs to be available in the same directory as the executable. For example, the Debug/ fo...

NoClassDefFoundError - Eclipe and Android

Hello. I'm having a problem trying to run an Android app which, up until adding a second external library to its build path, was working fine. Since having added the scoreninja jar, I now get a NoClassDefFoundError when I try to run the app. Here's the message: 02-11 21:45:26.154: ERROR/AndroidRuntime(3654): java.lang.NoClassDefFoundEr...

Flex Builder Debugger doesn't display local variables

Hi all, I am using the Flex Builder 3 debugger almost every day and it's starting to be a real pain that the 'Variables' tab in the 'Flex Debugging' view doesn't show local variables, only 'this' is displayed. Also I can not add Watch Expressions for local variables. Am I forgetting something here or is the debugger just very limited...

how to configure hibernate 3.3 in eclipse galileo?

i am working on galileo but i am not able to find the plugin for hibernate 3.3 can anybody send me the plugin link please. it's urgent. and also send me the spring 2.x latest version plugin also. Thanks in advance, Bhuvan Yadav. ...

Why does the maven eclipse plugin break the maven jetty plugin?

I would like to have the maven eclipse plugin regenerate my .classpath whenever a build is run, and I did so by using the following configuration: <!-- Generate a new .classpath each time the build is run, but don't try to download sources or javadocs --> <profile> <id>elipse-update</id> <acti...

New .h file in Eclipse yields a #define constant

So I'm chugging along in learning C++ and I'm starting to use Eclipse. As I create my .h files, I get this strange #define constant at the top: #ifndef CLASSNAME_H_ #define CLASSNAME_H_ #endif /* CLASSNAME_H_ */ So, what gives? Am I supposed to use CLASSNAME_H_ for something? (I should note that "classname" is just a filler. So, fo...

Better IDE not build using Java in Linux?

First of all i love Eclipse but Eclipse in linux sucks coz java in linux (I'm using Ubuntu) is the a bad idea thus making Eclipse really slow and CPU intensive. My question is there a IDE that is somehow like Eclipse (not like pure notepad alike or command like,vi or emacs alike) that is not build from Java in Ubuntu? Thanks Update: I'...

How to load an eclipse plug-in

I have recently developed an Eclipse plugin, however the plugin does not seem to load in Eclipse (3.4.2). If I go to Help > About Eclipse Platform > Configuration Details I see the pluging listed file:/C:/Program Files/eclipse/ganymede/plugins/de.vogella.plugin.htmlconverter_1.0.0.jar However it does not seem to work. I know the p...

How to replace uppercase letters to lowercase letters using regex in Eclipse?

I'd like to go through all of my source code files and replace every occurence of k_Xyyy with k_xyyy (switch the first letter after k_ from uppercase to lowercase). I'm using the eclipse dialog to search and replace multiple files. Right now I have the regex \bk_([A-Z]). How do I specify the replacement string of the regex? ...

Is there any way to make Eclipse's handling of projects and workspaces work like Visual Studio?

In other words, one folder, one project. Copy the folder, you've copied the whole project. One project open in the IDE at a time. Self-contained. Simple. ...

Eclipse Generate All getters setters in package

hi, Is there a way to generate all getters and setters in an entire package in eclipse? Thanks. ...

Changing the title on an editor when the input changes due to file rename

Hi, how would I go about updating the title bar of an Eclipse editor when the file input changes to reflect the new filename? For instance, when the file is renamed but you still have an editor open on the file. Everything I've done so far has failed, even when following the official guidelines on doing this (using special interfaces, cl...