1
2
3
4
5
6
7 package pl.edu.agh.cast.schema.action;
8
9 import org.eclipse.ui.IWorkbenchPart;
10
11 import pl.edu.agh.cast.schema.figure.ConnectionType;
12 import pl.edu.agh.cast.schema.util.Messages;
13
14
15
16
17
18
19 public class SingleConnectionAction extends ChangeConnectionTypeAction {
20
21 public static final String ID = "singleConnectionTypeChanged";
22
23 public static final String MENU_TEXT = Messages.ConnectionTypeChangedAction_0;
24
25 public SingleConnectionAction(IWorkbenchPart part) {
26 super(part, ConnectionType.SINGLE_CONNECTION);
27 }
28
29 @Override
30 public String getId() {
31 return ID;
32 }
33
34 @Override
35 public String getText() {
36 return MENU_TEXT;
37 }
38 }