开发者

plug-in spy menu in Eclipse- is there a reverse action for that?

I have a lot of commands that were initiated by users in the form of: org.eclipse.ltk.ui.refactoring.commands.renameResource.

Is there a way for me to know what does the above command does and where can I find it in the Eclipse menus?

开发者_JAVA技巧

(I dont have any problem to find commands like org.eclipse.ui.edit.rename in the menus. the real problem is to find the commands that are more complicated like the first one).


Is there a way for me to know what does the above command does

Its not that simple. Command is just an abstraction. The handler is the one that performs the action. There can be any number of handlers for a command, each could be doing different thing. Depending on the current state (like active view, selection, etc) a handler is associated with the command.

and where can I find it in the Eclipse menus?

Again AFAIK, there isn't a straight forward way to find that. You could use the Plugin Registry view and examine the menu contributions

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜