本文整理匯總了Java中fr.inria.diverse.k3.al.annotationprocessor.Step類的典型用法代碼示例。如果您正苦於以下問題:Java Step類的具體用法?Java Step怎麽用?Java Step使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
Step類屬於fr.inria.diverse.k3.al.annotationprocessor包,在下文中一共展示了Step類的10個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: fire
import fr.inria.diverse.k3.al.annotationprocessor.Step; //導入依賴的package包/類
@Step
public static void fire(final Transition _self) {
final org.eclipse.gemoc.sample.legacyfsm.xsfsm.xsfsm.aspects.TransitionAspectTransitionAspectProperties _self_ = org.eclipse.gemoc.sample.legacyfsm.xsfsm.xsfsm.aspects.TransitionAspectTransitionAspectContext
.getSelf(_self);
fr.inria.diverse.k3.al.annotationprocessor.stepmanager.StepCommand command = new fr.inria.diverse.k3.al.annotationprocessor.stepmanager.StepCommand() {
@Override
public void execute() {
_privk3_fire(_self_, _self);
}
};
fr.inria.diverse.k3.al.annotationprocessor.stepmanager.IStepManager manager = fr.inria.diverse.k3.al.annotationprocessor.stepmanager.StepManagerRegistry
.getInstance().findStepManager(_self);
if (manager != null) {
manager.executeStep(_self, command, "Transition", "fire");
} else {
command.execute();
}
;
;
}
示例2: initializeModel
import fr.inria.diverse.k3.al.annotationprocessor.Step; //導入依賴的package包/類
@Step
@InitializeModel
public static void initializeModel(final StateMachine _self, final EList<String> args) {
final org.eclipse.gemoc.sample.legacyfsm.xsfsm.xsfsm.aspects.StateMachineAspectStateMachineAspectProperties _self_ = org.eclipse.gemoc.sample.legacyfsm.xsfsm.xsfsm.aspects.StateMachineAspectStateMachineAspectContext.getSelf(_self);
fr.inria.diverse.k3.al.annotationprocessor.stepmanager.StepCommand command = new fr.inria.diverse.k3.al.annotationprocessor.stepmanager.StepCommand() {
@Override
public void execute() {
_privk3_initializeModel(_self_, _self,args);
}
};
fr.inria.diverse.k3.al.annotationprocessor.stepmanager.IStepManager stepManager = fr.inria.diverse.k3.al.annotationprocessor.stepmanager.StepManagerRegistry.getInstance().findStepManager(_self);
if (stepManager != null) {
stepManager.executeStep(_self,command,"StateMachine","initializeModel");
} else {
command.execute();
}
;;
}
示例3: step
import fr.inria.diverse.k3.al.annotationprocessor.Step; //導入依賴的package包/類
@Step
public static void step(final State _self, final String inputString) {
final org.eclipse.gemoc.sample.legacyfsm.xsfsm.xsfsm.aspects.StateAspectStateAspectProperties _self_ = org.eclipse.gemoc.sample.legacyfsm.xsfsm.xsfsm.aspects.StateAspectStateAspectContext
.getSelf(_self);
fr.inria.diverse.k3.al.annotationprocessor.stepmanager.StepCommand command = new fr.inria.diverse.k3.al.annotationprocessor.stepmanager.StepCommand() {
@Override
public void execute() {
_privk3_step(_self_, _self, inputString);
}
};
fr.inria.diverse.k3.al.annotationprocessor.stepmanager.IStepManager manager = fr.inria.diverse.k3.al.annotationprocessor.stepmanager.StepManagerRegistry
.getInstance().findStepManager(_self);
if (manager != null) {
manager.executeStep(_self, command, "State", "step");
} else {
command.execute();
}
;
;
}
示例4: initialize
import fr.inria.diverse.k3.al.annotationprocessor.Step; //導入依賴的package包/類
@InitializeModel
@Step
public static void initialize(final Transformation _self, final List<String> args) {
final org.tetrabox.example.minitl.aspects.TransformationAspectTransformationAspectProperties _self_ = org.tetrabox.example.minitl.aspects.TransformationAspectTransformationAspectContext.getSelf(_self);
fr.inria.diverse.k3.al.annotationprocessor.stepmanager.StepCommand command = new fr.inria.diverse.k3.al.annotationprocessor.stepmanager.StepCommand() {
@Override
public void execute() {
_privk3_initialize(_self_, _self,args);
}
};
fr.inria.diverse.k3.al.annotationprocessor.stepmanager.IStepManager stepManager = fr.inria.diverse.k3.al.annotationprocessor.stepmanager.StepManagerRegistry.getInstance().findStepManager(_self);
if (stepManager != null) {
stepManager.executeStep(_self,command,"Transformation","initialize");
} else {
command.execute();
}
;;
}
示例5: execute
import fr.inria.diverse.k3.al.annotationprocessor.Step; //導入依賴的package包/類
@Main
@Step
public static void execute(final Transformation _self) {
final org.tetrabox.example.minitl.aspects.TransformationAspectTransformationAspectProperties _self_ = org.tetrabox.example.minitl.aspects.TransformationAspectTransformationAspectContext
.getSelf(_self);
fr.inria.diverse.k3.al.annotationprocessor.stepmanager.StepCommand command = new fr.inria.diverse.k3.al.annotationprocessor.stepmanager.StepCommand() {
@Override
public void execute() {
_privk3_execute(_self_, _self);
}
};
fr.inria.diverse.k3.al.annotationprocessor.stepmanager.IStepManager manager = fr.inria.diverse.k3.al.annotationprocessor.stepmanager.StepManagerRegistry
.getInstance().findStepManager(_self);
if (manager != null) {
manager.executeStep(_self, command, "Transformation", "execute");
} else {
command.execute();
}
;
;
}
示例6: match
import fr.inria.diverse.k3.al.annotationprocessor.Step; //導入依賴的package包/類
@Step
public static void match(final ObjectTemplate _self, final EObject o) {
final org.tetrabox.example.minitl.aspects.ObjectTemplateAspectObjectTemplateAspectProperties _self_ = org.tetrabox.example.minitl.aspects.ObjectTemplateAspectObjectTemplateAspectContext
.getSelf(_self);
fr.inria.diverse.k3.al.annotationprocessor.stepmanager.StepCommand command = new fr.inria.diverse.k3.al.annotationprocessor.stepmanager.StepCommand() {
@Override
public void execute() {
_privk3_match(_self_, _self, o);
}
};
fr.inria.diverse.k3.al.annotationprocessor.stepmanager.IStepManager manager = fr.inria.diverse.k3.al.annotationprocessor.stepmanager.StepManagerRegistry
.getInstance().findStepManager(_self);
if (manager != null) {
manager.executeStep(_self, command, "ObjectTemplate", "match");
} else {
command.execute();
}
;
;
}
示例7: construct
import fr.inria.diverse.k3.al.annotationprocessor.Step; //導入依賴的package包/類
@Step
public static void construct(final ObjectTemplate _self) {
final org.tetrabox.example.minitl.aspects.ObjectTemplateAspectObjectTemplateAspectProperties _self_ = org.tetrabox.example.minitl.aspects.ObjectTemplateAspectObjectTemplateAspectContext
.getSelf(_self);
fr.inria.diverse.k3.al.annotationprocessor.stepmanager.StepCommand command = new fr.inria.diverse.k3.al.annotationprocessor.stepmanager.StepCommand() {
@Override
public void execute() {
_privk3_construct(_self_, _self);
}
};
fr.inria.diverse.k3.al.annotationprocessor.stepmanager.IStepManager manager = fr.inria.diverse.k3.al.annotationprocessor.stepmanager.StepManagerRegistry
.getInstance().findStepManager(_self);
if (manager != null) {
manager.executeStep(_self, command, "ObjectTemplate", "construct");
} else {
command.execute();
}
;
;
}
示例8: check
import fr.inria.diverse.k3.al.annotationprocessor.Step; //導入依賴的package包/類
@Step
public static boolean check(final Binding _self, final EObject o) {
final org.tetrabox.example.minitl.aspects.BindingAspectBindingAspectProperties _self_ = org.tetrabox.example.minitl.aspects.BindingAspectBindingAspectContext
.getSelf(_self);
Object result = null;
fr.inria.diverse.k3.al.annotationprocessor.stepmanager.StepCommand command = new fr.inria.diverse.k3.al.annotationprocessor.stepmanager.StepCommand() {
@Override
public void execute() {
addToResult(_privk3_check(_self_, _self, o));
}
};
fr.inria.diverse.k3.al.annotationprocessor.stepmanager.IStepManager manager = fr.inria.diverse.k3.al.annotationprocessor.stepmanager.StepManagerRegistry
.getInstance().findStepManager(_self);
if (manager != null) {
manager.executeStep(_self, command, "Binding", "check");
} else {
command.execute();
}
result = command.getResult();
;
;
return (boolean) result;
}
示例9: assign
import fr.inria.diverse.k3.al.annotationprocessor.Step; //導入依賴的package包/類
@Step
public static void assign(final Binding _self) {
final org.tetrabox.example.minitl.aspects.BindingAspectBindingAspectProperties _self_ = org.tetrabox.example.minitl.aspects.BindingAspectBindingAspectContext
.getSelf(_self);
fr.inria.diverse.k3.al.annotationprocessor.stepmanager.StepCommand command = new fr.inria.diverse.k3.al.annotationprocessor.stepmanager.StepCommand() {
@Override
public void execute() {
_privk3_assign(_self_, _self);
}
};
fr.inria.diverse.k3.al.annotationprocessor.stepmanager.IStepManager manager = fr.inria.diverse.k3.al.annotationprocessor.stepmanager.StepManagerRegistry
.getInstance().findStepManager(_self);
if (manager != null) {
manager.executeStep(_self, command, "Binding", "assign");
} else {
command.execute();
}
;
;
}
示例10: apply
import fr.inria.diverse.k3.al.annotationprocessor.Step; //導入依賴的package包/類
/**
* Applies the rule to each possible match in the input model.
*/
@Step
public static void apply(final Rule _self) {
final org.tetrabox.example.minitl.aspects.RuleAspectRuleAspectProperties _self_ = org.tetrabox.example.minitl.aspects.RuleAspectRuleAspectContext
.getSelf(_self);
fr.inria.diverse.k3.al.annotationprocessor.stepmanager.StepCommand command = new fr.inria.diverse.k3.al.annotationprocessor.stepmanager.StepCommand() {
@Override
public void execute() {
_privk3_apply(_self_, _self);
}
};
fr.inria.diverse.k3.al.annotationprocessor.stepmanager.IStepManager manager = fr.inria.diverse.k3.al.annotationprocessor.stepmanager.StepManagerRegistry
.getInstance().findStepManager(_self);
if (manager != null) {
manager.executeStep(_self, command, "Rule", "apply");
} else {
command.execute();
}
;
;
}