eclipse

View Menu with submenu

I'm working on an EclipsePluginProject. I don't have much(nearly nothing) experience with UIs under java. I added a View Option Menu and some actions following this post. IMenuManager dropDownMenu = getViewSite().getActionBars().getMenuManager(); dropDownMenu.add(new Action("Action1") { @Override public void run() { //do...

View available methods ruby

Hi, how can I view all the available methods on an object in ruby. I'm using the aptana IDE when I type File. no methods are displayed. I'm coming from an eclipse/java background. Thanks ...

How do I link an XSD to an XML file in Eclipse?

How do I link an XSD to an XML file in Eclipse? The xml file that I am editing is not in the same directory as the xsd file but both are in the workspace. ...

How can I install the BlackBerry v5.0.0 component pack into Eclipse?

I'm trying to install the latest v5.0.0 "beta 2" BlackBerry OS Component Pack into Eclipse 3.4.2 with BlackBerry Eclipse plugin v1.0.0.67, but have hit a few problems. Has anybody found an easy way to do this? I had no trouble installing the v4.5.0 and v4.7.0 Component Packs. It's rather strange that BlackBerry are shipping new phones...

How to add a second source directory to an Eclipse project

I have a C project in Eclipse that stores its files in two directories at the same level along with a bunch of other stuff that I do not need to have in the project. /path/ /code_I_want /bad_stuff/ /more_code_i_want/ /huge_pile_of_other_code/ Edit: The source directory is a Clearcase VOB mount point so I can't co...

Best Eclipse Plugins for java development making use of spring/ struts /hibernate?

I am looking for plugins which make developer's life easy while using technologies like Struts/ Spring/ Hibernate. For instance, here is a requirement: If I were to change an Struts Action, I should be able to list out all the Struts Actions for my webapp, right click and add a method/ do some changes. So, basically, I need to know w...

How to debug compiled Java code in Eclipse

Hi, I wonder if there are any solutions for Eclipse IDE to debug Java code for which I have no source, i.e. to debug dynamically decompiled code, step through it, etc.? I tried to use JD-Eclipse, JadClipse, and these plug-ins work great if I want to look at some class files, but as I debug, I get "Source not found." - how can I "attach" ...

In Eclipse CDT shared resource folder that is built differently for the project

Hi, I have a set of Eclipse c projects that will all refer to a common shared base of code (a mix of .c and .h files in the same folder) but will be built that code differently on a per project basis. The common code base may be edited from within each project but these edits will be fixes to be carried across all the projects. The com...

Can't install Eclipse Valgrind plugin

I'm trying to install Valgrind (0.4.0) plugin in Eclipse from technology.linuxtools Update Site (http://download.eclipse.org/technology/linuxtools/update) but I get the following error: Cannot complete the request. See the details. Cannot find a solution satisfying the following requirements org.eclipse.swt [3.4.1.v3449c]. A...

Error installing Eclipse PDT in Ubuntu 9.10

Hi, I installed my Eclipse via the Ubuntu Software Center. Afterwhich, I follow the instruction in this wiki (http://wiki.eclipse.org/PDT/Installation#Eclipse%5F3.5%5F.2F%5FGalileo%5F.2F%5FPDT%5F2.2) and I met with the following errors: Cannot complete the install because one or more required items could not be found. Software being ...

C++ Eclipse Galileo getting it to display line numbers - how?

EDIT: jldupont's suggestion (see below) did the trick Window -> Preferences -> General -> Editors -> Text Editors -> Show line numbers I just installed Eclipse Galileo (first time) and am programing in C++ and couldn't get the editor to display the line numbers... When i Googled it I got these directions: Go to Window -> Pre...

Printing entire project

I want to print every source code file in a Rails app (Ruby) and an Android App (Java). Are there plugins for Netbeans, Eclipse or Notepad++ which I can use for this? I don't want to code anything, I just want to click on a menu (or type a command) that says: print every file in this project (with the syntax highlighting provided by the...

Show function/statement declaration after selecting closing brace in Eclipse?

I'm wondering if you can do something similar to this functionality (available with Zend Studio 5.1) in Eclipse. There is an image of it in action here: http://tinypic.com/r/2d1pao1/6 As you can see, it doesn't just put a box around the starting brace like Eclipse does, it actually shows you the declaration. This is especially handy whe...

Remote C++ Debugging with RSE

I'm stuck after step 3 in trying to setup remote cross-debugging with Eclipse/RSE: Installed RSE 3.1 on Eclipse 3.5 Setup a SSH connection profile to my remote device built binaries using a cross-compiler Now I can't find the Eclipse option to transfer the binaries to my device and debug using gdb. Under Debug Configurations, I can't...

FDT 3 Enterprise, can't add breakpoints.

I've been using FDT for a long long time, on my new machine, with the Enterprise edition, I cannot add breakpoints on the editors gutter, and the debugger doesn't show any variables when testing with the external player. Any ideas on how to fix, is it some obscure Eclipse setting, or and FDT setting? ...

Error launching external scanner info generator (sh -c 'g++ -E -P -v -dD )

Error launching external scanner info generator (sh -c 'g++ -E -P -v -dD ) (Cannot run program "make": Launching failed) More precisely, the error messages are: Error Launching external scanner info generator - gcc link problem on MingGW Error launching external scanner info generator (sh -c 'g++ -E -P -v -dD C:/Documents and Set...

Block selection in eclipse

Does anyone know if block selection (or rectangular selection) is possible in eclipse? Maybe there's a plugin? I haven't been able to find one myself yet... ...

What is the difference between bendpoints in JBPM 3 plugin for Eclipse and JPBM 4 plugin for Eclipse?

In JBPM 3 plugin for Eclipse, bendpoints are represented using four integers: <transition name=""> <label x="5" y="-10"/> <bendpoint w1="36" h1="-37" w2="43" h2="39"/> </transition> In the source code, there is a class called Bendpoint, which stores two Dimension objects whose values are represented by w1, h1, w2 and h2. This seem...

How to debug a connection failure between Jboss and eclipse debugger.

I have setup eclipse to attach to a local JVM. But when I try to do the same for a machine over the network I get "connection timed out exception". How do I go about debugging this issue? I tried: lsof -i :8787 on the remote machine, and it appears that a java process is in fact listening on that port. What else could be wrong and h...

Howto start eclipse in JDK?

Hi, I just installed a Maven plug-in into eclipse the first time. Now there is a message on eclipse startup, that i should start eclipse in jdk not jre to make Maven components run fine. There is a -vm arguement which I used in the eclipse.ini: -vm C:\Program Files (x86)\Java\ But the message is still there after restart. Now I tried...