Package org.esa.snap.rcp.util
Interface SelectionSupport<T>
public interface SelectionSupport<T>
Utility which allows for registering handlers which are informed about single selection changes.
- Since:
- SNAP 2.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Handles single selection changes. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addHandler
(SelectionSupport.Handler<T> handler) Adds a new handler.void
removeHandler
(SelectionSupport.Handler<T> handler) Removes an existing handler.
-
Method Details
-
addHandler
Adds a new handler.- Parameters:
handler
- The handler.
-
removeHandler
Removes an existing handler.- Parameters:
handler
- The handler.
-