Browse Source

renamed ExecutionScope to ExecutionContext

Andreas Mülder 13 years ago
parent
commit
4137469f01

+ 4 - 4
plugins/org.yakindu.sct.simulation.ui/src/org/yakindu/sct/simulation/ui/view/DeclarationView.java

@@ -136,7 +136,7 @@ public class DeclarationView extends ViewPart implements IDebugContextListener,
 
 	public void setEventViewerInput() {
 		if (activeSession != null) {
-			List<ExecutionEvent> events = activeSession.getExecutionScope()
+			List<ExecutionEvent> events = activeSession.getExecutionContext()
 					.getDeclaredEvents();
 
 			eventViewer.setInput(events);
@@ -163,7 +163,7 @@ public class DeclarationView extends ViewPart implements IDebugContextListener,
 	private void setVariableViewerInput() {
 		if (activeSession != null) {
 			List<ExecutionVariable> variables = activeSession
-					.getExecutionScope().getVariables();
+					.getExecutionContext().getVariables();
 			variableViewer.setInput(variables);
 		}
 	}
@@ -242,12 +242,12 @@ public class DeclarationView extends ViewPart implements IDebugContextListener,
 		if (!(selectedSession == activeSession) && selectedSession != null) {
 			if (activeSession != null) {
 				activeSession.removeSimulationListener(this);
-				activeSession.getExecutionScope()
+				activeSession.getExecutionContext()
 						.removeExecutionContextListener(this);
 			}
 			activeSession = selectedSession;
 			selectedSession.addSimulationListener(this);
-			selectedSession.getExecutionScope().addExecutionContextListener(
+			selectedSession.getExecutionContext().addExecutionContextListener(
 					this);
 			clearViewerInput(true);
 			setEventViewerInput();

+ 1 - 1
plugins/org.yakindu.sct.simulation.ui/src/org/yakindu/sct/simulation/ui/view/editing/ScopeSlotEditingSupport.java

@@ -58,7 +58,7 @@ public abstract class ScopeSlotEditingSupport extends PublicEditingSupport {
 			return;
 		if (element instanceof ExecutionVariable) {
 			provider.getActiveSession()
-					.getExecutionScope()
+					.getExecutionContext()
 					.setVariableValue(((ExecutionVariable) element).getName(),
 							value);
 		}