|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IExtensionAccelerators
Provides access to a method that creates extension accelerators.
IExtensionAccelerators is implemented by extensions to define keyboard accelerators. This interface is not normally called from client code
The CreateAccelerators method creates the accelerators for the extension. This method is called when the accelerator table is created during application startup, when a new document is created, or when a document is opened.
If you want any of the commands in your extension to have keyboard accelerators associated with them, your extension needs to implement IExtensionAccelerators. In your class module for your extension you would implement both IExtension and IExtensionAccelerators.
IAccelerator
,
IExtension
,
IAcceleratorTable
Method Summary | |
---|---|
void |
createAccelerators()
Called to create the keyboard accelerators for this extension. |
Method Detail |
---|
void createAccelerators() throws IOException, AutomationException
The CreateAccelerators method creates the accelerators for the extension. This method is called when the accelerator table is created during application startup, when a new document is created, or when a document is opened.
When you use the CreateAccelerators method to assign an accelerator to one of the commands in your extension, you should check to make sure that no other command is currently using the key combination that you want to use.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IAccelerator
,
IAcceleratorTable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |