Questions tagged [plugin.xml]
50 questions
1
vote
0 answers
How to add condition checks in eclipse plugin.xml file?
I need to hide a menu item (File -> Exit) that is not relevant to me. I could do this using org.eclipse.ui.activities extension. The following code works great:

Raj Shrikrishnan
- 39
- 2
1
vote
1 answer
Eclipse CDT plugin - action restricted to function name
Currently I am developing a plugin for Eclipse CDT. I have successfully made an action declaration in my plugin.xml file.

Cegy
- 89
- 10
1
vote
1 answer
Cordova-android 7 issue when copying png using source-file
I'm trying to troubleshoot a problem with a cordova plugin running under cordova-android 7.0 and I've found that the issue is copying .png files using the source-file tag in plugin.xml, however I can't find any documentation about this. Does anyone…

LiamRyan
- 1,892
- 4
- 32
- 61
1
vote
1 answer
cordova plugin.xml framework replaces my build.gradle
I write as below
But my build.gradle file under platforms/android/IMKit is replaced by cordova with its own one. How to avoid cordova replacing my build.gradle file.

poordeveloper
- 2,272
- 1
- 23
- 36
1
vote
1 answer
Main toolbar is not shown in Eclipse RCP application
I have an application on Eclipse RCP 3.x and tried to add a main toolbar via plugin.xml.
After running the application I don't see it, the toolbar is not visible.
I don't understand what's wrong in the code.

Aleksandr Korotkov
- 92
- 1
- 10
1
vote
1 answer
How to I add an item to *all* Source-menus in an Eclipse-plugin?
I am developing a plugin for Eclipse Luna using the SDK version 4.4.2. I would like to add a command to all instances of the Source menu (on the menu bar, in the context-menu, and in the popup resulting from Alt-Shift-S. The following code…

user2615350
- 263
- 2
- 13
1
vote
1 answer
How to add an item to the refactoring popup menu in Eclipse plug-in
I have written a simple Eclipse plug-in and wanted to extend the Refactor (alt+shit+T) menu with a new item that would invoke my code.
Unfortunately, after having spent hours researching the possible solutions, I have failed.
I tried some solutions…

siledh
- 3,268
- 2
- 16
- 29
1
vote
0 answers
enabledwhen without using property tester class
I have a tree created using TreeViewer. I want to disable a menu item say "Expand All" when user right clicks on the last tree item (i.e., tree item does not have a child). Using PropertyTester i am able to achieve this.
plugin.xml…

MIM
- 499
- 3
- 11
- 30
1
vote
3 answers
JFace/SWT: What is the best way to add a toolbar with Commands to a Section?
I have a Section and want to add a toolbar to it. I'm able to do it programmatically using the Actions but the requirement is to do it as much declaratively (in plugin.xml) as I can. So I'd like to define a Command and a Handler for each toolbar…

janhink
- 4,943
- 3
- 29
- 37
1
vote
1 answer
eclipse plugin development - right click preferences menu?
I'm developing eclipse plugin.
When right clicking and chose 'preferences' in my editor plugin it shows the eclipse 'General' tree item with 2 sub tree items - 'Appearance' & 'Editors'.
Under 'Editors' there another tree item 'Text Editors' which is…

Tomer.Epstein
- 269
- 1
- 3
- 10
1
vote
1 answer
How to place custom menubar item at desired location in Map menu
I have added my custom menu item using my own custom plugin.
But the placement of this plugin at my desired location is something which I am trying to achieve.
This is what I have now
This is what I want to implement
How can we place the custom…

Angela Sim
- 137
- 1
- 21
1
vote
1 answer
When exactly plugin.xml files from dependencies of my plugin are loaded?
I vahe eclipse rcp app. In my plugin A I use 3rd party plugin B.
In plugin B there is plugin.xml with some extensions. In my plugin A I have added some extensions to extensions defined in plugin B, and it works.
Now I tried to overwrite some values…
ajuc
0
votes
2 answers
Invalid preference page path: Security
I have an error when I launch my eclipse-rcp application:
!ENTRY org.eclipse.ui 4 4 2012-02-24 17:00:14.011
!MESSAGE Invalid preference page path: Security
What is it?
My application has p2.
I see that this error is correlated with the extension:…

Tommaso Bicego
- 113
- 1
- 15
0
votes
1 answer
Eclipse RCP toolbar state updates not triggering programmatically
What I am trying to do: I am trying to programmatically trigger the showing / hiding / enabling / disabling of an icon on the toolbar. This does not work. However I do see the show / hide / enable / disable functionality 'kick in' whenever the view…

Dave Carpeneto
- 1,042
- 2
- 12
- 23
0
votes
1 answer
Custom icon doesn't show up in Intellij Actions
I am adding custom icon to my intellij plugin action.
videoicon is a 16*16 custom icon.
My action toolbar…

Nick Fury
- 23
- 3