Skip to content
Snippets Groups Projects
Commit 0c065a48 authored by GIRARDOT Raphael's avatar GIRARDOT Raphael Committed by MADELA Patrick
Browse files

- The "show view" action also selects the view (seems coherent with JAVAAPI-132)

- VlDockView.select() now works as expected (JAVAAPI-132)
- Minor code cleaning
parent e4e69119
No related branches found
No related tags found
No related merge requests found
......@@ -28,11 +28,13 @@ public class DockingUtils {
*/
public static AbstractAction generateShowViewAction(final IView view) {
AbstractAction action = new AbstractAction(view.getTitle()) {
private static final long serialVersionUID = 7366344574285043141L;
private static final long serialVersionUID = 1387050898689913657L;
@Override
public void actionPerformed(ActionEvent e) {
view.setVisible(true);
view.select();
}
};
action.putValue(AbstractAction.SMALL_ICON, view.getIcon());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment