use of org.yakindu.base.base.NamedElement in project statecharts by Yakindu.
the class RenameElementHandler method setContext.
@Override
public void setContext(AbstractRefactoring<NamedElement> refactoring, ISelection selection) {
NamedElement element = unwrap(selection);
refactoring.setContextObjects(Lists.newArrayList(element));
}
use of org.yakindu.base.base.NamedElement in project statecharts by Yakindu.
the class AbstractGeneratorEntryExecutor method logStart.
protected void logStart(GeneratorEntry entry) {
EObject elementRef = entry.getElementRef();
String elementName = elementRef instanceof NamedElement ? ((NamedElement) elementRef).getName() : elementRef.toString();
String targetProject = helper.getTargetProjectValue(entry).getStringValue();
logger.log(String.format("Generating '%s' to target project '%s' ...", elementName, targetProject));
}
Aggregations