Details
-
Enhancement
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
Description
Add "quick actions" to specific preview panes for selected resources. These actions are a shortcut for clicking on "View", editing the resource and saving the changes.
An example would be to turn on statistics or in general toggle common boolean attributes. Besides changing boolean attributes, it might make sense to provide quick actions for other attribute types such as number and text as well.
The quick actions should be described in a generic way (pseudo code):
class QuickAction { String id; String name; // localised String resource; String attribute; // type is read from r-r-d }
If a preview pane implements
interface HasQuickActions {
List<QuickAction> quickActions();
}
the finder takes care of reading and showing the quick actions in a common way.