eclipse-plugin

fonts on org.eclipse.swt.widgets.Composite are messed up on Linux

I extend org.eclipse.swt.widgets.Composite and create many widgets on it, (labels, table, text etc). The problem I am facing is that the labels' text is getting truncated on linux while it appears fine on windows. When I change the linux's font to gothic the truncation is little less but still there. Is there way to homogenize the wind...

Eclipse RCP: How to order perspective buttons belonging to different plugins?

My application has 5 plugins. Each plugin has a perspective of it's own and hence each perspective extension definition is under individual plugin's plugin.xml. Now, I want to control the order in which these perspectives appear in my application. How to do it? There is one main plugin that holds "ApplicationWorkBenchAdvisor.java". Th...

Writing to the Eclipse console

My plugin has to write to the eclipse console - for testing purpose I simplified my code, so that I only have the following: public void start(BundleContext context) throws Exception { super.start(context); plugin = this; System.out.println("Tecomp Plugin is running"); MessageConsole myConsole = new Mess...

How do I set an embedded Groovy scripts classpath?

I am trying to extend an Eclipse code builder (for generating DTOs from Hibernate VOs) - and it uses Groovy for its template system. The code it uses to create the groovy Script is a little weird (not what I see in the Groovy docs) but it works, mostly: GroovyShell shell = new GroovyShell(); script = shell.parse(source); Then, later...

Do any Eclipse plugins exist for COBOL development?

More specifically I am looking for tools for IBM Enterprise Cobol. ...

Eclipse Plugin API: how can I add javadoc support for specific platform plugins?

Hi, using Eclipse 3.4 Ganymede and I cannot find the way to add javadoc support for all platform plugin apis, but specifically to JFace e Ui Forms packages. Opening the property panel of any jar linked to the library named "plug-in dependecies" I receive the following message into the "Javadoc location" node: The current class pat...

Eclipse RCP : Perspective switcher window dialog sort problem.

In my application, when I select File->Open Perspective->Other it opens a dialog listing out all perspectives. My problem is that I want those perspectives to appear in a defined order (which they are not in this default perspective switcher). This is the same dialog that pops up on clicking an icon displayed to the extreme left before ...

How can I create a custom Eclipse Syntax Highlighter

I've been developing a compiler for a new language. I thought it would be neat to be able to demonstrate its development in a syntax aware environment. The language has quite a few custom keywords, and its structure is significantly different than common languages such as Java or C/C++. How can I develop a custom syntax highligher for...

Time to develop an option in Eclipse to modify a Java file source

I'm evaluating the possibility of developing an Eclipse plugin to modify the source code of some Java files. The Eclipse plugin should: add one menu option or context menu option to launch the modification process. add a key binding only alter the UI in that way when an editor has been open on a Java file. the modification process wou...

IDE plugins for developing JMX Model MBeans

I am looking for a plugin that helps developers create JMX Model MBeans that works with either Eclipse and/or Netbeans. I am aware of the JMX Plugin for Netbeans that allows for creating of simple MBeans but looking for something more advanced. ...

Eclipse plugin to roll up if and for?

Hi all I'm at university, and we were taught to use notepad to programme java to start with. I moved onto notepad++ and quickly onto eclipse. In notepad++, i could roll up (plus minus sign) if statements or for loop as well as methods and classes. I wondered if there is a plugin for eclipse that allows me to do the same? Also, are there...

IDE plugin's for developing multithreaded network applications

I am looking for a plugin that helps developers create multithreaded network applications that works with either Eclipse and/or Netbeans. Should allow for functionality such as: Graphical modeling of callbacks Configuring executors Creating custom SSL factories Wizards for creating various filter streams ...

How do I add my fragment to the list of required-plugins on an existing plugin

Hi, I currently have an existing plugin, which references a class from a required plugin. I have replaced this code with a reference to a class which is part of my fragment. I am facing two issues. If I import my fragment as a jar file, I am not able to see the changes I have made as the plugin running as an eclipse application result...

Eclipse PDE, Navigator View, TreeSelection - Obtaining the file type and name

I'm trying to obtain details of an Eclipse user's structured selection in the Navigator Tree view. At present I have the following which is based on the org.eclipse.ui.popMenus extension point: public void run(IAction action) { Shell shell = new Shell(); ISelection selection = workbenchPart.getSite().getSelectionProvider().getSelecti...

Problems occurred when invoking code from plug-in: "org.eclipse.jface" when using Checkstyle Plugin

Hi guys, I am trying to use the eclipse-cs plugin on Rational Software Architect 7.0.0.4. I recently uninstalled the older beta2 version and installed beta3. The plug-in itself works as was previously configured. But whenever I attempt to re-configure the check rules via Windows->Preferences->Checkstyle, I get the following error: Pro...

Eclipse Perforce Plugin and Defaulting the File Type Modifier so Version is Updated

We migrated our version control system from CVS to Perforce and our Java dev team is using the Perforce plug-in in Eclipse (Mac). The version is no longer updating on adds/edits. We are using the $Revision keyword in our javadoc. According to the Perforce site, you have to use the +k modifier, effectively changing the file type from text...

Eclipse IDE : How to zoom in on text?

I want the same effect FireFox have , when you use the scroll button in the mouse to zoom in and out on the current view. Is there something like it for eclipse? ...

API to edit web.xml from Eclipse plugin?

What is the easiest way to edit web.xml from an Eclipse plugin? (I'm looking for an API -- as opposed to using a PrintWriter etc.) ...

disable "Rename" menuitem in eclipse

I have defined my own project nature . I need to disable right-click->"Rename..." and Refactor->"Rename..." menuitems for projects which are associated with "MyProjectNature". Any clues as to how it can be achieved in eclipse plugins ? ...

Do you look at which variables a method uses before refactoring a large class into smaller ones?

Hi all, I am interested in exploring the idea that the relationship between methods and the member varialbes they use can give a hint to how the class could be broken up into smaller pieces. The idea is that a group of variables will be closely related to one responsibility and should be contained in one class according to SRP. For a t...