eclipse

get ITextViewer from IEDitorPart (Eclipse)

Eclipse RCP question I open file with: IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage(); IEditorPart editorPart = IDE.openEditor(page, file); I also get document with: IDocument doc = ((ITextEditor)editorPart).getDocumentProvider().getDocument(editorPart.getEditorInput()); I need to get to...

Eclipse 3.2 or 3.4?

Is there really a big difference between Eclipse 3.2 and 3.4? I am currently using 3.2. ...

how to repackage eclipse for my team

Hi all, I'd like to set up eclipse with a bunch of plugins and DB connection configurations, etc and re-zip it up so my team-mates and new starters can all be working on the same platform easily. It seems that installing plugins is fine, but when I add in custom jars (e.g. ivy2, ojdbc, etc) they all save with full, absolute paths whic...

Getting JBoss 4.2.2 work on Eclipse 3.2

Hi guys, I am on a very very slow Internet connection where downloading big packages like Eclipse or JBoss is next to impossible. I often have to buy books that come with CDs to install such things on my home PC. I recently could get Eclipse 3.2 with WTP and JBoss 4.2.2 (for EJB3). But sadly found that the JBoss server definitions in ec...

Use GWT+Eclipse to develop and deploy JSR-168 portlets

I have a GWT app that I want to build as a Portlet. I have already done that with Liferay but the portlet generated (.war file) cannot be deployed into Apache Pluto. I would like to know if anybody has some HOWTO info about how to build JSR-168 portlets (with GWT and Eclipse) that can be deployed in any JSR-168 compliant portal. I'm not...

Jump into a Python Interactive Session mid-program?

Hey I was wondering... I am using the pydev with eclipse and I'm really enjoying the powerful debugging features, but I was wondering: Is it possible to set a breakpoint in eclipse and jump into the interactive python interpreter during execution? I think that would be pretty handy ;) edit: I want to emphasize that my goal is not to j...

Eclipse RCP Image Application: How Do I Lay Out My Images?

Hi, I have an Eclipse plugin that displays a view. What I want to do is display n images in the view in a single row with a centered label under each image. I want to view to be scrollable. I also want each image to be re-sized when the dimensions of the view (ScrolledComposite? Composite?) change so it utilizes the available vertica...

Specifying a target folder for Eclipse 3.4+ plugins when installing via Software Updates

After searching around I see that eclipse 3.4/3.5 now allow you to use their 'dropin' folder to manually install plugins. This works well in a situation where you have already downloaded the feature and plugin files, however in cases where you use the Software Updates feature to simply point to a URL and download a plugin, you don't app...

Installing a plain plugin jar in Eclipse 3.5

Since Eclipse 3.5 there seems to be no option to have drop a plugin jar ( not a feature ) in the Eclipse base directory and have it picked up at next startup. Is there any possiblity to have plain plugins jars installed in Eclipse 3.5? ...

Get the parent of an IStructuredSelection (eclipse-rcp)?

I have a TreeViewer in a view and need to get the parent (if it exists) of an item selected. Nothing seems to work and google yields no answers.. mBacktestTree.addDoubleClickListener(new IDoubleClickListener() { public void doubleClick(DoubleClickEvent event) { IWorkbenchPage page = getSite().getPage(); TreeViewe...

Eclipse + AppEngine =? autocomplete

I was doing some beginner AppEngine dev on a Windows box and installed Eclipse for that. I liked the autocompletion I got with the objects and functions. I moved my dev environment over to my Macbook, and installed Eclipse Ganymede. I installed the AppEngine SDK and Eclipse plug in. However, when I am typing out code now, the autocom...

How to properly set Firefox as External Web Browser of Eclipse on Mac OS X

The default setting "/Applications/Firefox.app/Contents/MacOS/firefox-bin" tries to start a new instance of Firefox every time, which is refused blatantly by Firefox if there is already one. Then I tried to use the "open" magic and set it to: Name: Firefox Location: /usr/bin/open Parameters: -a /Applications/Firefox.app %URL% which s...

Eclipse PDT (3.4) freezes while loading (ubunutu 3.4, java sun 1.6)

hi I am trying to run eclipse pdt on ubuntu 8.04 with sun java 1.6 - the workbench screen loads up for a while and freezes, I get an ".SWTError: XPCOM error -2147467262" after that. Any idea how to get ride of it? ...

J2EE + Eclipse, What plugins do you use? And What for?

Hey Guys, I want to start working with J2EE, used to .NET What plugins do you use for java&j2ee on eclipse? Interesting things would be, Database Javascript UML UI Hibernate(are there plugins to work with hibernate?) Anything else that you use that helps your work. Cordially, ...

Does eclipse.org have a user feedback forum?

I'm not talking about bug reporting. How do they decide what features to put in new releases? Presumably there is some stream of user commentary somewhere that informs their decision making process. The IDE seems so flexible it's hard to imagine that it isn't being driven by some communal wish list. Ideally they would have something li...

How to create Genmodel and model code from ecore programmatically using EMF API?

Hello, are there any tutorials available for doing so? ...

How should I set up Eclipse when preparing for a presentation or demo?

If I'm presenting code usually I show it in a syntax-highlighting text editor. But I've been doing more "live coding" in some presentations recently where it's important to show off some IDE tooling. How should I set up Eclipse when preparing for a presentation or demo? Is there a way to save and switch out presenter settings? Is the...

Eclipse Workspace Does Not Save (Vista)

I've recently upgraded to Eclipse 3.4 (Ganymede), but I'm experiencing some intermittent issues with my workspace saving and loading on shutdown/startup. The problems seems to be intermittent but occurs more frequently than not. When I start Eclipse, the workspace does not load with the previously opened files and settings (no files ar...

How do I set ${user} in Eclipse to get the correct @author tag?

I am using Eclipse and every time code is created, @author is set to the value of ${user}. Unfortunately,${user} seems to contain my windows login id. Is there a way to override this through Eclipse? I couldn't find the option. ...

How to build only upon saving in FDT?

Is it possible to set up FDT so that it only builds the workspace when I save (as opposed to constantly or manually) like it does in Flash Builder (previously Flex Builder) and if so, how? ...