public interface IPickingService
This service allows edition of GUI fields representing the type of an attribute, parameter... by clicking on the new type in:
IPickingProvider interface.
IPickingClient interface. IPickingProvider interface. When the user clicks on an picking enabled field :
IPickingProvider.
IPickingProvider: IPickingService, that forwards it to the client
IPickingService, that forwards it to the clientIPickingService IPickingProvider IPickingProvider,
IPickingClient| Modifier and Type | Method and Description |
|---|---|
void |
endPickingSession(IPickingClient client)
Abort the picking.
|
boolean |
hoverElement(IElement target)
Ask the picking client whether it accepts the given element.
|
void |
registerPickingProvider(IPickingProvider pickingProvider)
Registers an element picking provider .
|
void |
selectElement(IElement target)
Tell the picking client to pick the given element.
|
void |
startPickingSession(IPickingClient client)
Begin a picking session.
|
void |
unregisterPickingProvider(IPickingProvider pickingProvider)
Remove an element picking provider.
|
void registerPickingProvider(IPickingProvider pickingProvider)
The provider will be called each time a picking session is opened or closed by a IPickingClient.
pickingProvider - The provider to add.void unregisterPickingProvider(IPickingProvider pickingProvider)
pickingProvider - The provider to remove.boolean hoverElement(IElement target)
target - The model elementvoid selectElement(IElement target)
target - The model elementvoid startPickingSession(IPickingClient client)
client - The client that begins the picking session.void endPickingSession(IPickingClient client)
Calling this method cause the call of the pickingAborted on all picking clients.
client - The client to end picking on.