Q: Is it possible to use the context menus predefined by Eclipse and
combine them with SAP Action Frameworks?
A: Generally no. It is not clear how actions from the Eclipse standard
model are accessed at runtime.
Q: I would like to implement my own actions without Selena elements but UI
controls instead. How do I proceed?
A: In principle, you proceed in the same way as described above (Task 1).
If you write your own actions, the relevant Action Provider class inherits from
com.tssap.util.action.ObjectActionProvider (instead of com.tssap.selena.model.extension.ElementActionProvider). Additionally,
your single action classes must implement the util interface com.tssap.util.action.ISingleAction
and
your multi-element action classes must implement the interface com.tssap.util.action.IMultiAction. An example
implementation can be found in the util example plug-in com.tssap.util.examples.
Q: The above description covers dynamic context
menus in detail, but how do I proceed if I want to create static context menus?
You must construct the menu structure for the
context menu in accordance with the menu data structure hierarchy. Create the
context menu instance using the instructor of the class com.tssap.util.ui.menu.context.StaticContextMenu.