Eclipse plugin development is adding menus to pop-up menus.
The menu itself can be added and works, but changing the name of the menu does not take effect.
The menu is defined by the following code:
<extension point="org.eclipse.ui.commands">
<command defaultHandler="link.arata.mybatishelper.MyBatisHelperCommand"
id="link.arata.mybatishelper.MyBatisHelperCommand" name="%XMLFileOpenAction.label">
</command>
</extension>
The name itself is defined by its properties and is described as follows:
XMLFileOpenAction.label=Open the corresponding XML file
The first name you define is correct, but changing the value of the property does not change the name you defined first.
If you change other parts of the program, that part will be reflected properly.
How does it take effect?
Tried
Environment
I have tried various versions of Eclipse and found out the following.
The menu does not change the name of the
- Eclipse 4.5
- Eclipse 4.4
- Eclipse 4.3
It will be changed
- Eclipse 4.2
- Eclipse 3.7
Yes, I tried the Windows version of Eclipse 4.5, but the menu didn't change.
As it cannot be helped, I would like to develop it with Eclipse 4.2.
© 2024 OneMinuteCode. All rights reserved.