1 28 29 package org.objectweb.openccm.uml.transformation.ast; 30 31 import ispuml.mdaTransformation.RuleContext; 32 import ispuml.mdaTransformation.TransformationException; 33 import ispuml.mdaTransformation.ActionBase; 34 import ispuml.mdaTransformation.rules.xml.CompositeXmlAction; 35 36 37 40 public class PopCurrentScope extends CompositeXmlAction { 41 42 45 public PopCurrentScope() { 46 isSrcPropertyRequired = false; 49 isDstPropertyRequired = false; 50 action = new TransformAction(); 51 } 52 53 56 class TransformAction extends ActionBase { 57 62 public Object execute(Object bean, RuleContext request) throws TransformationException { 63 Scopes.popScope(); 64 return null; 65 } 66 67 } } 69 | Popular Tags |