Public Member Functions | |
| long | addId (in long category, in AString idName, in long importance) | 
| Add new id.   | |
| long | getId (in long category, in AString idName) | 
| Return id for name.   | |
| boolean | hasId (in long category, in AString idName) | 
| Check if id exists.   | |
| void | removeId (in long category, in AString idName) | 
| Remove id.   | |
| long | getIconId (in AString idName) | 
| Icon ID.   | |
| void | duplicateIcon (in AString sourceCommandID, in AString targetCommandID) | 
| Add icon to the command.   | |
| void | addIconFromFile (in long commandId, in AString aUrl) | 
| Add icon from the file.   | |
Public Attributes | |
| const long | CAT_TOOLBAR = 1 | 
| Category type: Toolbar.  | |
| const long | CAT_DIALOGBAR = 2 | 
| Category type: Dialogbar.  | |
| const long | CAT_COMMAND_MAIN = 3 | 
| Category type: main command.  | |
| const long | CAT_COMMAND_VIEW = 4 | 
| Category type: view command.  | |
Manager is responsible for command id translation.
| void addIconFromFile | ( | in long | commandId, | |
| in AString | aUrl | |||
| ) | 
Add icon from the file.
Add new icon to the manager
| commandId | Command ID | |
| aUrl | icon URL | 
| long addId | ( | in long | category, | |
| in AString | idName, | |||
| in long | importance | |||
| ) | 
Add new id.
Add new id to the manager.
| category | Category of the ID | |
| idName | name of the id | |
| importance | Importance of the id | 
| void duplicateIcon | ( | in AString | sourceCommandID, | |
| in AString | targetCommandID | |||
| ) | 
Add icon to the command.
Associate existing icon with the command
| sourceCommandID | id of source command with icon | |
| targetCommandID | id of target command name | 
| long getIconId | ( | in AString | idName | ) | 
Icon ID.
Return id of the corresponding icon
| idName | Name of the command | 
| long getId | ( | in long | category, | |
| in AString | idName | |||
| ) | 
Return id for name.
Function return id of the command.
| category | Category of command 
  | |
| idName | string representation of command | 
| boolean hasId | ( | in long | category, | |
| in AString | idName | |||
| ) | 
Check if id exists.
Function check if given id exists.
| category | Category to check id | |
| idName | name of the command | 
| void removeId | ( | in long | category, | |
| in AString | idName | |||
| ) | 
Remove id.
Remove id from the manager.
| category | Category of the ID | |
| idName | name of the id |