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 Classes Modifier and Type Interface Description static interface
SelectionSupport.Handler<T>
Handles single selection changes.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addHandler(SelectionSupport.Handler<T> handler)
Adds a new handler.void
removeHandler(SelectionSupport.Handler<T> handler)
Removes an existing handler.
-
-
-
Method Detail
-
addHandler
void addHandler(@NonNull SelectionSupport.Handler<T> handler)
Adds a new handler.- Parameters:
handler
- The handler.
-
removeHandler
void removeHandler(@NonNull SelectionSupport.Handler<T> handler)
Removes an existing handler.- Parameters:
handler
- The handler.
-
-