eclipse

How to reopen a viewpart from menu?

Hi, i have one perspective and one viewpart. The viewpart is shown as soon as the program opens. The viewpart should be the only one and should be closeable. I have two problems with that behaviour: I want the perspective to be shown empty, just a background image should being shown. (How do I do that?) I want to open the ...

Trouble getting Android emulator to run in eclipse

Hi there, I'm new to Android and Eclipse. I'm Trying to run the SDK Samples on the Emulator in Eclipse 3.5 Most of the time the AVD Manager hangs when I try to create a new AVD. When I manage to create an AVD and try to start the emulator I get this: emulator: ERROR: no search paths found in this AVD's configuration weird, the AVD's...

Eclipse Gurus: where can I find information to make a theme for the IDE? (I wish similar to Chrome)

Hello, I suppose that similar to Chrome is impossible as all window api are not designed to make the wonderful cool effect of Chrome. However where can I start to make a theme for Eclipse? ...

PreferencePage or FieldEditorPreferencePage

What is the best approach to do PreferencePage in eclipse? ...

Eclipse thinks my project is an Android project - can I remove without starting over?

I created a project, probably as an Android project without thinking. I then did a lot of work bringing in source, etc. but it is not an Android target. However, when I start up Eclipse, it keeps popping-up a dialog reminding me that I have not established the Adroid device settings. How can I make it stop -- without restarting the wo...

Stuck on emulator screen in Eclipse with Android Development?

I've followed this tutorial: http://anandhansubbiah.com/blog/writing-your-first-android-application/, but no matter what I do, and what I change, when I run the app, all I see is the image below. Is there something I must press to start developing? Did I add starting code. I'm completely stumped... ...

Eclipse: view a document using custom spacing, save using the file's spacing

I have a silly use case for eclipse: At work, they use 2 spaces for a tab character. Indentation looks really squashed and I'm finding it obstructs readability. Now, I can't set Eclipse to use 4 spaces for a tab as it'll edit any files I change, and obviously don't want to violate the coding standards. So, can I have a custom view on...

Determining if an offset is in between line numbers?

hi I need to determine if a given selection is in between a start line and an end line. I have an ILineRange and a given offset within the viewport of eclipse. (I need to know, if the selection (from a remote party) was made within the current viewport of the local user. Unfortunately, I cannot get an ILineRange from the selection. I mus...

How to remove a file from SVN synchronization?

Working with Eclipse and SVN, how do I definitely remove a file from list to never synchronize it? ...

Eclipse JDT API documentation, preferrably CHM format

I am going to need to do some development with Eclipse JDT while on holiday. I will be off-line for the most of the time and therefore I will not be able to access the Eclipse JDT API documentation on the Web. I can't find a link to download the documentation in ZIP or PDF or, best of all, CHM format. Does anyone have a copy? Could you p...

How to import .class file in a .java file?

Hi, What i need to do is as follows: I have a bigloo scheme program (*.scm), then using the bigloo frameworks jvm a class file is generated. I want to use this .class file from a .java file. That is, i need to import this(.class) file as i want to use some functions defined in the scheme file which is now a .class file. How do i do it...

Android - Display HTML Formatted String

I need an example of how to display the strings that I have marked up with simple html into a TextView. I have found "Spanned fromHtml(String source)", but I don't know how to plug it into my java code. Here is my Java: package com.SorenWinslow.TriumphHistory; import android.app.ListActivity; import android.os.Bundle; import android.w...

Using branched svn repository in Eclipse without Subversive/Subclipse

How can I use a new branch in Eclipse if I'm not using Subversive or Subclipse? Do I have to checkout the new branch and import that as a new project into Eclipse? Is there an easier way to do it, or is using Subversive or Subclipse the only reasonable way? I know there are many discussions on the pros/cons of Subversive or Subclipse ...

Use packages from plain old Java project in eclipse plugin project

I have the following setup: eclipse a standard Java project (A) an eclipse plugin project (B) How (if possible) can I use packages from A within B without first compiling a JAR file from A and adding it to B? Thanks! ...

Java class in JavaFX-project in Eclipse

I recently started learning JavaFX. At the moment I can't build any JavaFX project with Java class in Eclipse. For every input I get error "package does not exist" Path to JRE is set in project's properties. Same class compiles if it is Java-project (not JavaFx). What should I check in project settings or Eclipse prefferences? ...

Did anyone create the Java Code Formatter Profile for Eclipse IDE that conforms to the Android Code Style Rules?

Android Code Style Guide defines "Android Code Style Rules". To conform to these rules one have to change quite a number of settings of the Java Code Formatter (Window->Preferences->Java->Code Style->Formatter) default profile (in Eclipse IDE). Did anyone manage to configure the formatter to follow the "Android Code Style Rules" already...

Eclispe RCP SWT menus for Windows and Mac OS

Hi, how do I configure an Eclipse RCP command style menu to match the different menu structures on Windows and on Mac OS? Mac OS X menu example http://images.apple.com/macosx/refinements/images/services_menu_20090902.jpg Windows menu example http://www.flamingpear.com/images/psp8menu.gif In the example you see, the differences in the...

Where does Eclipse save the list of files to open on startup?

Question: where does Eclipse store the list of files it opens on startup? Background: Having installed a plugin into Eclipse which promptly crashed, my Eclipse workspace is in a bit of a state. When started, the building workspace task pauses indefinitely at 20%. Before I uninstall the plugin I want to give it another chance. I have a f...

Opening IProject properties when another (adaptable to IProject) object is selected

I have a custom view displaying a hierarchy model of the current project. The root element is of class MyProject which is my own class, but it represents one Eclipse IProject, and it's adaptable to IProject. I have a "properties" menu option in the popup menu for that view, and I'd like to open up IProject's properties when a MyProject ...

Tags/Documentation with SVN Project in Eclipse?

I've searched around with this and haven't found any clear answers. I'm using Eclipse PDT. It seems that if I create a PHP Project, tags work (@todo, etc). However, if I create a project from SVN (still PHP based), tags don't work at all. Does anyone know how to make tags and doc generation work on a per project basis and still import ...