Class KeyBindingsManager
java.lang.Object
org.eclipse.tracecompass.tmf.ui.views.uml2sd.handlers.KeyBindingsManager
Singleton class that manages key-bindings for certain commands across multiple sequence diagram view instances.
- Version:
- 1.0
- Author:
- Bernd Hufmann
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a view list of managed view list.static KeyBindingsManager
Returns the KeyBindingsManager singleton instance.void
Removes a view from managed view listvoid
setFindEnabled
(boolean enabled) Enable / disable find actionvoid
Set the view in all supported actions
-
Method Details
-
getInstance
Returns the KeyBindingsManager singleton instance.- Returns:
- the KeyBindingsManager singleton instance
-
add
Adds a view list of managed view list.- Parameters:
viewId
- Id of SD view to add and to manage
-
remove
Removes a view from managed view list- Parameters:
viewId
- Id of SD view to remove
-
setSdView
Set the view in all supported actions- Parameters:
view
- to set in global actions
-
setFindEnabled
public void setFindEnabled(boolean enabled) Enable / disable find action- Parameters:
enabled
-true
for enabling elsefalse
-