Skip to content
Snippets Groups Projects
Commit 51f4de6d authored by Lukas Ladenberger's avatar Lukas Ladenberger
Browse files

working on observer view + cleanup

parent 7a079836
No related branches found
No related tags found
No related merge requests found
...@@ -141,7 +141,7 @@ public class SchedulerObjectDialog extends Dialog { ...@@ -141,7 +141,7 @@ public class SchedulerObjectDialog extends Dialog {
Button btAdd = new Button(comp, SWT.PUSH); Button btAdd = new Button(comp, SWT.PUSH);
btAdd.setText("Add"); btAdd.setText("Add");
btAdd.setImage(BMotionStudioImage btAdd.setImage(BMotionStudioImage
.getImage(EditorImageRegistry.IMG_ICON_ADD)); .getImage(EditorImageRegistry.IMG_ICON_NEW_WIZ));
btAdd.addSelectionListener(new SelectionAdapter() { btAdd.addSelectionListener(new SelectionAdapter() {
@Override @Override
public void widgetSelected(final SelectionEvent e) { public void widgetSelected(final SelectionEvent e) {
......
...@@ -68,7 +68,7 @@ public class WizardExecuteOperationByPredicate extends SchedulerWizard { ...@@ -68,7 +68,7 @@ public class WizardExecuteOperationByPredicate extends SchedulerWizard {
private ScrolledComposite c1; private ScrolledComposite c1;
@Override @Override
protected Control createContents(Composite parent) { public Control createWizardContent(Composite parent) {
final DataBindingContext dbc = new DataBindingContext(); final DataBindingContext dbc = new DataBindingContext();
......
...@@ -49,7 +49,7 @@ public class WizardExecuteOperationByPredicateMulti extends SchedulerWizard { ...@@ -49,7 +49,7 @@ public class WizardExecuteOperationByPredicateMulti extends SchedulerWizard {
private TableViewer tableViewer; private TableViewer tableViewer;
@Override @Override
protected Control createContents(Composite parent) { public Control createWizardContent(Composite parent) {
DataBindingContext dbc = new DataBindingContext(); DataBindingContext dbc = new DataBindingContext();
Composite container = new Composite(parent, SWT.NONE); Composite container = new Composite(parent, SWT.NONE);
...@@ -119,7 +119,7 @@ public class WizardExecuteOperationByPredicateMulti extends SchedulerWizard { ...@@ -119,7 +119,7 @@ public class WizardExecuteOperationByPredicateMulti extends SchedulerWizard {
Button btAdd = new Button(comp, SWT.PUSH); Button btAdd = new Button(comp, SWT.PUSH);
btAdd.setText("Add"); btAdd.setText("Add");
btAdd.setImage(BMotionStudioImage btAdd.setImage(BMotionStudioImage
.getImage(EditorImageRegistry.IMG_ICON_ADD)); .getImage(EditorImageRegistry.IMG_ICON_NEW_WIZ));
btAdd.addSelectionListener(new SelectionAdapter() { btAdd.addSelectionListener(new SelectionAdapter() {
@Override @Override
public void widgetSelected(SelectionEvent e) { public void widgetSelected(SelectionEvent e) {
......
...@@ -48,7 +48,7 @@ public class WizardExecuteScheduler extends SchedulerWizard { ...@@ -48,7 +48,7 @@ public class WizardExecuteScheduler extends SchedulerWizard {
private TableViewer tableViewer; private TableViewer tableViewer;
@Override @Override
protected Control createContents(Composite parent) { public Control createWizardContent(Composite parent) {
DataBindingContext dbc = new DataBindingContext(); DataBindingContext dbc = new DataBindingContext();
...@@ -123,7 +123,7 @@ public class WizardExecuteScheduler extends SchedulerWizard { ...@@ -123,7 +123,7 @@ public class WizardExecuteScheduler extends SchedulerWizard {
Button btAdd = new Button(comp, SWT.PUSH); Button btAdd = new Button(comp, SWT.PUSH);
btAdd.setText("Add"); btAdd.setText("Add");
btAdd.setImage(BMotionStudioImage btAdd.setImage(BMotionStudioImage
.getImage(EditorImageRegistry.IMG_ICON_ADD)); .getImage(EditorImageRegistry.IMG_ICON_NEW_WIZ));
btAdd.addSelectionListener(new SelectionAdapter() { btAdd.addSelectionListener(new SelectionAdapter() {
@Override @Override
public void widgetSelected(SelectionEvent e) { public void widgetSelected(SelectionEvent e) {
......
...@@ -183,7 +183,6 @@ ...@@ -183,7 +183,6 @@
name="Consistencychecking"> name="Consistencychecking">
</command> </command>
<command <command
defaultHandler="de.prob.ui.operationview.DoubleClickBehaviorHandler" defaultHandler="de.prob.ui.operationview.DoubleClickBehaviorHandler"
id="de.prob.ui.doubleclickbehaviour" id="de.prob.ui.doubleclickbehaviour"
...@@ -351,6 +350,11 @@ ...@@ -351,6 +350,11 @@
id="de.prob.ui.newcore.export" id="de.prob.ui.newcore.export"
name="Export for new Core"> name="Export for new Core">
</command> </command>
<command
defaultHandler="de.prob.ui.csp.StartCSPAnimationHandler"
id="de.prob.command.startCspAnimation"
name="Start CSP Animation">
</command>
</extension> </extension>
<extension <extension
point="org.eclipse.ui.handlers"> point="org.eclipse.ui.handlers">
...@@ -1134,6 +1138,33 @@ ...@@ -1134,6 +1138,33 @@
style="push"> style="push">
</command> </command>
</menuContribution> </menuContribution>
<menuContribution
allPopups="false"
locationURI="popup:org.eclipse.ui.navigator.ProjectExplorer#PopupMenu">
<command
commandId="de.prob.command.startCspAnimation"
label="Start CSP Animation"
style="push">
<visibleWhen>
<with
variable="selection">
<iterate
operator="or">
<and>
<instanceof
value="org.eclipse.core.resources.IResource">
</instanceof>
<test
forcePluginActivation="true"
property="org.eclipse.core.resources.extension"
value="csp">
</test>
</and>
</iterate>
</with>
</visibleWhen>
</command>
</menuContribution>
</extension> </extension>
<extension <extension
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment