com.esri.arcgis.controls
Class IToolbarControlEventsOnBuddyChangedEvent
java.lang.Object
java.util.EventObject
com.esri.arcgis.controls.IToolbarControlEventsOnBuddyChangedEvent
- All Implemented Interfaces:
- Serializable
public class IToolbarControlEventsOnBuddyChangedEvent
- extends EventObject
Description
Fires when the SetBuddyControl method is used.
Any custom commands that are added to the ToolbarControl must be written in such a way as to ask the ToolbarControl for its Buddy every time an operation is requested to ensure they are always working with the current Buddy. Custom commands need to do one of two things:
ICommand::OnCreate will only get called once for each command that is added to the ToolbarControl the first time the Buddy is set. Using the SetBuddyControl method to change the buddy a subsequent time will not call ICommand::OnCreate, but will fire the OnBuddyChanged event.
Product Availability
Available with ArcGIS Engine.
- See Also:
- Serialized Form
|
Method Summary |
void |
init()
|
IToolbarControlEventsOnBuddyChangedEvent
public IToolbarControlEventsOnBuddyChangedEvent(Object source)
init
public void init()