public interface SelectionSubscriber extends TransientObject
SelectionSubscriber
for managing selection events
Selection.createSelectionSubscriber()
Modifier and Type | Interface and Description |
---|---|
static interface |
SelectionSubscriber.OnSelectionChangeCallback
Prototype for a callback which is called at the end of a series of changes to the set of
selected objects.
|
Modifier and Type | Method and Description |
---|---|
void |
activate()
Activate the subscriber so that it will receive selection change notifications.
|
void |
deactivate()
Deactivate the subscriber so that it will not receive selection change notifications.
|
boolean |
isActive()
Is the subscriber active?
|
void |
registerOnSelectionChangeCallback(SelectionSubscriber.OnSelectionChangeCallback callbackToRegister)
Register a callback which is called at the end of a series of changes to the set of
selected objects.
|
_value, dispose, printTestData, printTestData
void activate() throws NXException, RemoteException
NXException
RemoteException
void deactivate() throws NXException, RemoteException
NXException
RemoteException
boolean isActive() throws NXException, RemoteException
NXException
RemoteException
void registerOnSelectionChangeCallback(SelectionSubscriber.OnSelectionChangeCallback callbackToRegister) throws NXException, RemoteException
callbackToRegister
- CallbackNXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.