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 interfaceSelectionSupport.Handler<T>Handles single selection changes.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddHandler(SelectionSupport.Handler<T> handler)Adds a new handler.voidremoveHandler(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.
-
-