public interface Actionable
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Runnable> |
actions(java.lang.Object... target)
Return a map with command names (potentially localized) and a Runnable.
|
java.lang.String |
title(java.lang.Object... target)
Provide a title for an element.
|
java.lang.String |
tooltip(java.lang.Object... target)
Return a tooltip for the given target or the encompassing entity if null
is passed.
|
java.util.Map<java.lang.String,java.lang.Runnable> actions(java.lang.Object... target) throws java.lang.Exception
target
- the target object, null if commands for the encompassing
entity is sought (e.g. the repo itself).java.lang.Exception
java.lang.String tooltip(java.lang.Object... target) throws java.lang.Exception
target
- the target, any number of parameters to identifyjava.lang.Exception
java.lang.String title(java.lang.Object... target) throws java.lang.Exception
target
- the target, any number of parameters to identifyjava.lang.Exception