use of org.palladiosimulator.pcm.usagemodel.UsageModel in project Palladio-Editors-Sirius by PalladioSimulator.
the class UsageModelCreationWizard method init.
@Override
protected void init(IStructuredSelection selection) {
String viewpointName = Activator.VIEWPOINT_NAME;
viewpoint = Activator.getDefault().getViewpoint();
String ext = Activator.getDefault().getViewpoint().getModelFileExtension();
modelCreationPage = new ModelCreationPage(selection, viewpointName + " Creation Wizard", "new" + viewpointName, ext);
representationDescription = Activator.getDefault().getRepresentationDescription();
String defaultRepresentationName = "new " + Activator.REPRESENTATION_NAME;
this.representationCreationPage.setDefaultRepresentationName(defaultRepresentationName);
UsageModel obj = UsagemodelFactory.eINSTANCE.createUsageModel();
modelObject = obj;
}
Aggregations