eclipse-plugin

what does the following lines of code mean in eclipse plugin.xml?

<menu label="%RunMenu.label" path="additions" id="org.eclipse.ui.run"> <separator name="stepGroup"> </separator> <groupMarker name="stepIntoGroup"> </groupMarker> <groupMarker ...

how to plugins gwt for eclipse 3.4.x in linux

Im using eclipse 3.4.1 , i want to install gwt using eclipse plugins. how to install gwt in linux. Thanks is advance. ...

org.eclipse.jface.dialogs.MessageDialog.openQuestion How to interact?

I am working on an eclipse plugin. One of the files has this code org.eclipse.jface.dialogs.MessageDialog.openQuestion(null, some function , "Do you agree?"); This part of the code pops up a dialog box with a message and has two options, yes or no. I want to display a new dialog box for yes and n...

Help with Blackberry development

I just installed Eclipse Classic to develop a BB app in Java.. Im following this steps bit im stuck trying to install the BlackBerry Java Plug-in item cause it tells me the plugin requires 'org.eclipse.ui' but I cant figure out how to install that.. Im pretty sure I need to add a repository to the eclispe sites but I cant find the addres...

Right-to-left eclipse appears when developing a plugin

My Windows machine is in a region using right-to-left text direction. However, eclipse behaves in a left-to-right manner, e.g. with menus and text alignment on the left side. This is good as it is my preferred layout. However, I am developing an eclipse plugin and whenever I launch my plugin as an "eclipse application", a new eclipse in...

Bundle-ManifestVersion=2 vs. Bundle-ManifestVersion=1

Background: We are building an eclipse RCP plugin with Maven and generating the MANIFEST.MF file with the Apache Felix plugin. This plugin is part of a bigger RCP framework that is developed internally in our company. The problem: The Felix plugin sets Bundle-ManifestVersion=2 in the MANIFEST.MF file. When we use this manifest file...

How does the enable and disable options work for these actions in eclipse?

Actions in the Run menu such as Toggle Break Point, Toggle Line Break Point etc.. will be enabled when a .java file is opened and will be disabled for any other type of files. similarly the step over, step into etc will be enabled when we are debugging a java program and will be disabled otherwise. So i wanted to know how enabling and d...

Platform.getBundle().getEntry() - how to get complete file URI

I am trying to generate the fullURI of a file(a .javajet template) to read it a generate code out of it. When I get the Platform.getBundle(pluginId()).getEntry("/") it gives me the following string : bundleentry://1074.fwk5184781/templates/FlowMain.javajet which is obviously wrong and hence the template file is not found. The code is as...

reliable free XML plugin for Eclipse (Helios)

Reliable, free, XML plug-in for Eclipse. The good ones seem to be for pay and most of the free ones seem to be either very old or in beta (or alpha or pre-alpha!) What is your favorite? I don't need anything advanced, just a robust, honest piece of sw that does basic xml manipulation tasks. ps: I like the ones that can can be installed...

Simple XML Schema to POJO converter

I am using Eclipse to build a Android application. Because I use intensely web service I want to be able to create from XML schema some pojos For instance: <xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/VO.Service.Entities" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/VO.Service...

Wysywig literate programming (or viewing generated documentation on-the-fly)

I use a lot of illustrations, diagrams and equations to document C++ and python codes, and a way to do this is to inline them with doxygen. The problem is that, when coding, they are not directly available in the code (unless I use ascii-art for this purpose). Is there an automatic, quick and fast way to, while coding, view the generate...

Changing Eclipse colors from a plug-in - where can I change, e.g., Java -> Editor -> Syntax Coloring?

Dear All: I thought I could write an Eclipse plug-in to alter my theme automatically for GNOME Darklooks. I made a simple test: /** * */ package org.misha680.darklooks.actions; import org.eclipse.jface.resource.ColorRegistry; import org.eclipse.swt.graphics.RGB; import org.eclipse.ui.IStartup; import org.eclipse.ui.PlatformUI; imp...

Eclipse equals() template where null String == empty String

Question This question was originally to find out if anyone knows of a way to modify the Eclipse equals() and hashCode() templates to generate the following pattern for Strings (making null equivalent to ""). if ([value] == null || [value].length() == 0) { if (other.[value] != null && other.[value].length() > 0) { return fal...

JETEmitter translated class file not found.

I am not able to generate the translated class file from the .javajet template. The .javajet template in itself is a very simple one : <%@ jet package="translated" class="FlowMain" %> public class FlowMain { public static void main(String args[]) throws Exception { } } After generating the translated .java file, the .class file...

Eclipse Plugin Read Std Error

I am trying to write an Eclipse plugin which needs to read the std error inside eclipse. E.g. the red text that appears in the console. I cannot find the correct extension point for something like this. The best I could find was org.eclipse.ui.console.consolePatternMatchListeners but this just matches console lines regardless of their o...

[Eclipse] How can I launch different workspaces with different sets of plugins?

When using different workspaces for different SDKs, e.g. Appengine, Android & basic Java development, how can I make sure, only the required plugins are loaded when launching the desired workspace? ...

Eclipse RCP: Target platform - Eclipse vs. Equinox?

Hi, I'm just starting with OSGi and Eclipse RCP. Could someone explain to me the difference between "Eclipse" and "Equinox" as the target platform, when creating a new eclipse plugin project? I still know that Equinox is Eclipse's implementation of OSGi. I read in some articles that eclipse rcp is also based on Equinox. So where is the d...

Is there a StyleCop-like plug-in for Eclipse?

I want to program in Java and would like something that works like StyleCop in Visual Studio. Does anyone know about something like that? ...

Is there a Java Bytecode to Eclipse AST parser?

Can you recommend some library that presents Java bytecode as Eclipse's Java AST (ie. with nodes descending from org.eclipse.jdt.core.dom.ASTNode) ? ...

Copy/paste on my ViewPart popup menu?

Hello, in my ViewPart I set copy/paste handlers IHandlerService handlerService = (IHandlerService) getViewSite().getService( IHandlerService.class); handlerService.activateHandler( ActionFactory.PASTE.getCommandId(), new PasteFavoritesHandler() ); handlerService.activateHandler( ActionFactory.COPY.getCommandId(), new CopyFavoritesHan...