eclipse

How to setup an Eclipse Project with multiple Subprojects (OSGi-Bundles)

Sherlog is an OSGi-based log analyzer, if I import this project as an workspace snapshot I receive lot's of projects in my workspace, but I would prefere to have them as subprojects in a project. The other option would be to checkout from svn, but then I face other problems (I don't know how to setup the dependencies for automatically...

Eclipse Java EE - Galileo - Unable to view plugins

I am new to Eclipse so I am having a hard time troubleshooting this problem. I have a new installation of Eclipse Java EE - Galileo on Windows, and I am unable to see any changes made in the IDE after installing plugins. I have verified that the plugins are installed via installation details, but see no changes made. For example, after...

Eclipse: Java Enum auto-completion of switch case

Is there a CTRL+space -like way of "auto-constructing" a switch case around a given Java Enum in Eclipse? I'd like a stub with all Enum cases... EDIT: Dupe of http://stackoverflow.com/questions/868261/is-there-a-template-or-something-for-generating-a-switch-statement-for-java-enum ? :-( ...

Eclipse keyboard shortcuts: "alt+shift+" vs. "shift+" vs. "ctrl+alt+" etc. -- Is there an underlying logic?

There are a zillion questions on SO about keyboard shortcuts in Eclipse, but there's I've always wondered if there is an underlying logic to the decisions of which shortcuts would be ctrl+alt+[some letter], and which would be just ctrl+[some letter] etc. Obviously there is a need to use a variety of combinations because there are only so...

server window not seen in eclipse3.1

I have just installed eclipse3.1 but server window not found in that.I have seen in windows >> show View >> Others but still not there . ...

Eclipse CDT: Import source / header files into my new project, without duplicating them

Hi all, Im sure there is a very simple solution for this. I have a bunch of .cpp / .h files from a project, say in directory ~/files On the other hand, I want to create a c++ project using eclipse to work on those files, so I put my workspace on ~/wherever. Then I create a c++ project: ~/wherever/project, and include the source files ...

Showing a view in Eclipse

Hi. I'm developing a plug-in in Eclipse and I want to show a view. I'm using this: PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().showView("org.eclipse.ui.articles.MyView"); however it's being added on the right not at the set of views where I want it to be displayed. How can I specify the location? Thanks a...

eclipse galileo not responding ubuntu 64-bit

I'm having a problem with eclipse galileo on ubuntu 64-bit system. when ever i open it the splash scree turns gray but keeps loading and then when eclipse opens it shows the secure storage password request and hangs. I dont know what could be wrong, it used to work fine before, if you have or had the same problem please tell me what to d...

Android app using 2.x APIs that will also run on 1.x

I'm working on an Android app in which I would like to use multi-touch. However, I do not want to completely leave out those still running a 1.x OS phone. How do you program the app so that you can use the 2.x multi-touch APIs (or any other higher level API for that matter) and still allow it to gracefully degrade on 1.x systems. If yo...

Can't finish Eclipse Plug-in Project Wizard when choosing RCP

I'm trying create a RCP Application with Eclipse, but I can't get past the 'Content' screen of the New Plug-in Project Wizard. When I select 'yes' for "Rich Client Application, Would you like to create a rich client application" it disables the Next and the Finish Button. I first thought it is due to my target platform which is Eclips...

Can I enforce code style policy in eclipse IDE for c++ code??

I want that whatever code style i defined in eclipse editor ..should be followed by coders, so can i enforce it as program will not even build without satisfying all the rules??? ...

Eclipse JDT Formatter lineSplit: auto-wrapping of string literals

Can I automatically reformat Java code in Eclipse so that no lines exceed 80 characters in length, with string literals being split and concatenated using "+"? Example: String s = "very long "| <- imagine this column to be the 80 chars margin + "string"; | All wrapping seems to work but string splitting... Thanks! This i...

Supported Layout Managers in Eclipse Visual Editor

I'm evaluating GUI builder tools for Swing. In the Eclipse Visual Editor 1.4 the list of the (natively) supported layout managers seems a bit short to me. Still no support for FormsLayout or TableLayout? The official documentation is a bit vague on the issue. ...

How do I use an SWT Control to render the content of an SWT/JFace table?

I have a JFace TableViewer with an SWT Table, and I would like to custom render the content of some cells. I would like to use an SWT Control to render the cell content. I would prefer to have only one instance of the Control doing the rendering, but if I have to instantiate one for each row, that would be acceptable. Next, the soluti...

Android: how to change the time in emulator?

Hey guys, Ive noticed that the time in my emulator for android projects is wrong. Its one hour behind. How do I go about changing the time and can I do it in eclipse? Thanks ...

How to manage Libraries/jar files in eclipse?

I might be missing something but how do you manage Java projects in eclipse that need a lot of Jar files. I know maven manages libraries well if there are new updates but maybe I'm missing something, is there a way that eclipse can update new jar files (it would be especially useful for projects using apache-commons, say). I don't want ...

Debugging ADT Eclipse Plugin Install

I've installed the Android SDK and the ADT plugin, but Android doesn't show up in the Window>Preferences... dialog. I'm running Galileo. If I go to the Installation Details part of the About Eclipse dialog, it says that I have 0.9.6 of Android DDMS and Android Development Tools. I can run adb from the command line. I tried going around ...

How to add resource files during build on J2ee (eclipse + jboss)

hi, i'm trying to run a web servlet project in eclipse 3.4 using jboss 4.2.2 as my web server. im using the wtp plugin and everything looks good (can run and debug). but some of the files/resources are not included on the war file. in my "WebContent/WEB-INF" folder, i have "properries", "config", and "lib" folders. but it seems like w...

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...

Problem with CommandFinder class...

and I'm not sure why... Hello Everbody! I'm trying to make my first steps with SWTBot. I'm trying to test an Eclipse RCP Application. In one test i'm trying to call a command to save a dirty editor. But an assertion after the call, tells me that the editor is still dirty. An the data in the dirty editor is not showing up in the databas...