Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2014-12-08 10:23:57 +0000
committerHenrik Rentz-Reichert2014-12-08 10:23:57 +0000
commitf7091e69b744678f7fee8a90c939583e24fda2e3 (patch)
treeda075ee0c127b821a10eeec5c1c47a122d5c159c /plugins/org.eclipse.etrice.core.fsm
parentf98dcd973aa82ad5064f93f288c65dc603860940 (diff)
downloadorg.eclipse.etrice-f7091e69b744678f7fee8a90c939583e24fda2e3.tar.gz
org.eclipse.etrice-f7091e69b744678f7fee8a90c939583e24fda2e3.tar.xz
org.eclipse.etrice-f7091e69b744678f7fee8a90c939583e24fda2e3.zip
bug 454403: the defaults for 'save on focus lost' should be true
https://bugs.eclipse.org/bugs/show_bug.cgi?id=454403 Change-Id: Ieb2e9ac48709073e10af3699b19b29c5ca330346
Diffstat (limited to 'plugins/org.eclipse.etrice.core.fsm')
-rw-r--r--plugins/org.eclipse.etrice.core.fsm/xtend-gen/org/eclipse/etrice/core/fsm/scoping/FSMScopeProvider.java48
1 files changed, 39 insertions, 9 deletions
diff --git a/plugins/org.eclipse.etrice.core.fsm/xtend-gen/org/eclipse/etrice/core/fsm/scoping/FSMScopeProvider.java b/plugins/org.eclipse.etrice.core.fsm/xtend-gen/org/eclipse/etrice/core/fsm/scoping/FSMScopeProvider.java
index ea1e9d6de..561233dfd 100644
--- a/plugins/org.eclipse.etrice.core.fsm/xtend-gen/org/eclipse/etrice/core/fsm/scoping/FSMScopeProvider.java
+++ b/plugins/org.eclipse.etrice.core.fsm/xtend-gen/org/eclipse/etrice/core/fsm/scoping/FSMScopeProvider.java
@@ -175,13 +175,17 @@ public class FSMScopeProvider extends AbstractDeclarativeScopeProvider {
comp = _base_1;
final HashSet<State> covered = CollectionLiterals.<State>newHashSet();
final ArrayList<State> states = CollectionLiterals.<State>newArrayList();
- while ((!Objects.equal(comp, null))) {
+ boolean _notEquals_1 = (!Objects.equal(comp, null));
+ boolean _while = _notEquals_1;
+ while (_while) {
{
StateGraph _stateMachine = comp.getStateMachine();
this.recursivelyAddStates(_stateMachine, covered, states);
ModelComponent _base_2 = comp.getBase();
comp = _base_2;
}
+ boolean _notEquals_2 = (!Objects.equal(comp, null));
+ _while = _notEquals_2;
}
for (final State s : states) {
QualifiedName _statePath = this.getStatePath(s);
@@ -196,8 +200,8 @@ public class FSMScopeProvider extends AbstractDeclarativeScopeProvider {
State _target = ((RefinedState) _eContainer_3).getTarget();
StateGraph _subgraph = _target.getSubgraph();
sg = _subgraph;
- boolean _notEquals_1 = (!Objects.equal(sg, null));
- if (_notEquals_1) {
+ boolean _notEquals_2 = (!Objects.equal(sg, null));
+ if (_notEquals_2) {
EList<State> _states = sg.getStates();
for (final State s_1 : _states) {
String _name = s_1.getName();
@@ -226,16 +230,20 @@ public class FSMScopeProvider extends AbstractDeclarativeScopeProvider {
if (_not) {
ModelComponent _base = comp.getBase();
comp = _base;
- while ((!Objects.equal(comp, null))) {
+ boolean _notEquals = (!Objects.equal(comp, null));
+ boolean _while = _notEquals;
+ while (_while) {
{
StateGraph _stateMachine = comp.getStateMachine();
- boolean _notEquals = (!Objects.equal(_stateMachine, null));
- if (_notEquals) {
+ boolean _notEquals_1 = (!Objects.equal(_stateMachine, null));
+ if (_notEquals_1) {
QualifiedName _fullyQualifiedName = this._iQualifiedNameProvider.getFullyQualifiedName(comp);
final int acNameSegments = _fullyQualifiedName.getSegmentCount();
StateGraph _stateMachine_1 = comp.getStateMachine();
final TreeIterator<EObject> iter = _stateMachine_1.eAllContents();
- while (iter.hasNext()) {
+ boolean _hasNext = iter.hasNext();
+ boolean _while_1 = _hasNext;
+ while (_while_1) {
{
final EObject obj = iter.next();
if ((obj instanceof Transition)) {
@@ -245,11 +253,15 @@ public class FSMScopeProvider extends AbstractDeclarativeScopeProvider {
scopes.add(_create);
}
}
+ boolean _hasNext_1 = iter.hasNext();
+ _while_1 = _hasNext_1;
}
}
ModelComponent _base_1 = comp.getBase();
comp = _base_1;
}
+ boolean _notEquals_1 = (!Objects.equal(comp, null));
+ _while = _notEquals_1;
}
}
return new SimpleScope(IScope.NULLSCOPE, scopes);
@@ -307,9 +319,27 @@ public class FSMScopeProvider extends AbstractDeclarativeScopeProvider {
*/
private StateGraph getStateGraph(final EObject obj) {
EObject ctx = obj.eContainer();
- while (((!(ctx instanceof StateGraph)) && (!Objects.equal(ctx.eContainer(), null)))) {
+ boolean _and = false;
+ if (!(!(ctx instanceof StateGraph))) {
+ _and = false;
+ } else {
EObject _eContainer = ctx.eContainer();
- ctx = _eContainer;
+ boolean _notEquals = (!Objects.equal(_eContainer, null));
+ _and = _notEquals;
+ }
+ boolean _while = _and;
+ while (_while) {
+ EObject _eContainer_1 = ctx.eContainer();
+ ctx = _eContainer_1;
+ boolean _and_1 = false;
+ if (!(!(ctx instanceof StateGraph))) {
+ _and_1 = false;
+ } else {
+ EObject _eContainer_2 = ctx.eContainer();
+ boolean _notEquals_1 = (!Objects.equal(_eContainer_2, null));
+ _and_1 = _notEquals_1;
+ }
+ _while = _and_1;
}
if ((ctx instanceof StateGraph)) {
return ((StateGraph)ctx);

Back to the top