How to find the IdRef for most menu commands

When working with menus it's often necessary to know the IdRef for the menu command that you want to work with.

A little hidden secret on how to see almost all of the menu command id's is to start JDeveloper from the command line, with the follow arguments:

-J-Dide.IdeAction.debug=true

This allows the user to get the internal identifier of just about every menu action in the tooltips.

e.g

c:\oracle\middleware\jdeveloper\jdeveloper.exe -J-Dide.IdeAction.debug=true


Comments:

I wonder if there are ways to find the values for parent-idref? What I am trying to do is adding some submenu to a menu item from Preferences'.

For example, this does add esdk.UserInformation directly to the preference. Say there is an item, "A" in preferences. How can I find the id of "A" in order to use parent-idref="/preferences/a" if the id of "A" were a?

Also can I find the list of system id's such as /preferences and /Project sort?

Thanks in advance.

page id="esdk.UserInformation" parent-idref="/preferences"

Posted by guest on March 13, 2013 at 01:45 AM PDT #

I'm afraid there isn't a way to get this information.

It hasn't been considered good practice to have an extension add items to a property panel that you don't already own.

Sorry

Posted by John 'JB' Brock on March 15, 2013 at 01:29 PM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

profile image
My name is John 'JB' Brock.
This Blog will focus on tips and tricks for working with the JDeveloper Extension SDK.
I hope to bring clarity to some of the mysteries around developing extensions for JDeveloper.


Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today