Search in sources :

Example 56 with InstanceObject

use of org.osate.aadl2.instance.InstanceObject in project osate-plugin by sireum.

the class ReachBackwardHandler method execute.

@SuppressWarnings("restriction")
@Override
public Object execute(ExecutionEvent event) throws ExecutionException {
    final Boolean isImplDiagram = false;
    IWorkbenchWindow window = HandlerUtil.getActiveWorkbenchWindowChecked(event);
    Shell shell = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell();
    List<DiagramElement> des = SelectionUtil.getSelectedDiagramElements(SelectionHelper.getDiagramSelection(), // getSelectedDiagramElem(event)
    true);
    List<InstanceObject> ios = des.stream().flatMap(de -> {
        Object bo = de.getBusinessObject();
        List<InstanceObject> io = new ArrayList<InstanceObject>();
        if (bo != null && bo instanceof InstanceObject) {
            io.add(((InstanceObject) bo));
        }
        return io.stream();
    }).collect(Collectors.toList());
    List<String> criterions = ios.stream().map(io -> io.getInstanceObjectPath()).collect(Collectors.toList());
    if (!ios.isEmpty()) {
        MessageConsole console = displayConsole("Awas Console");
        try {
            Aadl model = Util.getAir(ios.get(0).getSystemInstance(), true, console);
            Model awasModel = org.sireum.awas.slang.Aadl2Awas$.MODULE$.apply(model);
            SymbolTable st = org.sireum.awas.symbol.SymbolTable$.MODULE$.apply(awasModel, new ConsoleTagReporter());
            FlowGraph<FlowNode, FlowEdge<FlowNode>> graph = org.sireum.awas.flow.FlowGraph$.MODULE$.apply(awasModel, st, false);
            AwasGraph awasgraph = new AwasGraphImpl(graph, st);
            String query = "t = reach backward " + "{" + String.join(",", criterions) + "}";
            Map<String, Collector> qres = awasgraph.queryEvaluator(query);
            if (qres.isEmpty()) {
                MessageDialog.openError(window.getShell(), "Sireum", "Empty result");
            } else {
                final DiagramService diagramService = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getService(DiagramService.class);
                SystemInstance si = ios.get(0).getSystemInstance();
                Resource resource = si.eResource();
                List<Collector> lc = new ArrayList<Collector>(qres.values());
                Set<AgeEditor> ads = AwasUtil.awasGraphUri2AgeDiagramEditor(lc.get(0).getGraph(), isImplDiagram, st, resource, diagramService);
                AwasUtil.highlightDiagrams(ads, lc.get(0), isImplDiagram, st, resource);
            }
        } catch (URISyntaxException e1) {
            // // TODO Auto-generated catch block
            e1.printStackTrace();
        } catch (IOException e1) {
            // TODO Auto-generated catch block
            e1.printStackTrace();
        } catch (Exception e3) {
            e3.printStackTrace();
            String m2 = "Could not invoke visualizer.  Please make sure Awas is configured correctly.\n\n" + e3.getLocalizedMessage();
            MessageDialog.openError(window.getShell(), "Sireum", m2);
        }
    } else {
        String m3 = "Please select a component or port from the instance diagram";
        MessageDialog.openError(window.getShell(), "Sireum", m3);
    }
    return null;
}
Also used : ExecutionEvent(org.eclipse.core.commands.ExecutionEvent) DiagramElement(org.osate.ge.internal.diagram.runtime.DiagramElement) Element(org.osate.aadl2.Element) AbstractSireumHandler(org.sireum.aadl.osate.handlers.AbstractSireumHandler) URISyntaxException(java.net.URISyntaxException) AwasGraphImpl(org.sireum.awas.awasfacade.AwasGraphImpl) IWorkbenchWindow(org.eclipse.ui.IWorkbenchWindow) ArrayList(java.util.ArrayList) HandlerUtil(org.eclipse.ui.handlers.HandlerUtil) AgeEditor(org.osate.ge.gef.ui.editor.AgeEditor) IStatus(org.eclipse.core.runtime.IStatus) SelectionHelper(org.sireum.aadl.osate.util.SelectionHelper) Map(java.util.Map) Collector(org.sireum.awas.awasfacade.Collector) FlowGraph(org.sireum.awas.flow.FlowGraph) MessageDialog(org.eclipse.jface.dialogs.MessageDialog) AwasUtil(org.sireum.aadl.osate.awas.util.AwasUtil) SystemInstance(org.osate.aadl2.instance.SystemInstance) Shell(org.eclipse.swt.widgets.Shell) PlatformUI(org.eclipse.ui.PlatformUI) DiagramService(org.osate.ge.internal.services.DiagramService) Aadl(org.sireum.hamr.ir.Aadl) SelectionUtil(org.osate.ge.internal.ui.util.SelectionUtil) SymbolTable(org.sireum.awas.symbol.SymbolTable) Set(java.util.Set) IOException(java.io.IOException) ExecutionException(org.eclipse.core.commands.ExecutionException) MessageConsole(org.eclipse.ui.console.MessageConsole) Model(org.sireum.awas.ast.Model) Collectors(java.util.stream.Collectors) IProgressMonitor(org.eclipse.core.runtime.IProgressMonitor) FlowEdge(org.sireum.awas.flow.FlowEdge) FlowNode(org.sireum.awas.flow.FlowNode) List(java.util.List) Util(org.sireum.aadl.osate.util.Util) Resource(org.eclipse.emf.ecore.resource.Resource) ConsoleTagReporter(org.sireum.util.ConsoleTagReporter) AwasGraph(org.sireum.awas.awasfacade.AwasGraph) InstanceObject(org.osate.aadl2.instance.InstanceObject) AwasGraph(org.sireum.awas.awasfacade.AwasGraph) ArrayList(java.util.ArrayList) URISyntaxException(java.net.URISyntaxException) ConsoleTagReporter(org.sireum.util.ConsoleTagReporter) DiagramElement(org.osate.ge.internal.diagram.runtime.DiagramElement) InstanceObject(org.osate.aadl2.instance.InstanceObject) AwasGraphImpl(org.sireum.awas.awasfacade.AwasGraphImpl) Shell(org.eclipse.swt.widgets.Shell) AgeEditor(org.osate.ge.gef.ui.editor.AgeEditor) SystemInstance(org.osate.aadl2.instance.SystemInstance) Aadl(org.sireum.hamr.ir.Aadl) Collector(org.sireum.awas.awasfacade.Collector) ArrayList(java.util.ArrayList) List(java.util.List) FlowEdge(org.sireum.awas.flow.FlowEdge) IWorkbenchWindow(org.eclipse.ui.IWorkbenchWindow) MessageConsole(org.eclipse.ui.console.MessageConsole) Resource(org.eclipse.emf.ecore.resource.Resource) SymbolTable(org.sireum.awas.symbol.SymbolTable) IOException(java.io.IOException) URISyntaxException(java.net.URISyntaxException) IOException(java.io.IOException) ExecutionException(org.eclipse.core.commands.ExecutionException) Model(org.sireum.awas.ast.Model) InstanceObject(org.osate.aadl2.instance.InstanceObject) DiagramService(org.osate.ge.internal.services.DiagramService) FlowNode(org.sireum.awas.flow.FlowNode)

Example 57 with InstanceObject

use of org.osate.aadl2.instance.InstanceObject in project osate-plugin by sireum.

the class AwasServer method handleFindDef.

@Override
public Option<Protocol> handleFindDef(String hash, scala.collection.immutable.Set<String> uris) {
    SymbolTable st = org.sireum.awas.symbol.SymbolTable$.MODULE$.apply(awasModel, new ConsoleTagReporter());
    String uri = JavaConverters.asJavaCollectionConverter(uris).asJavaCollection().iterator().next();
    Resource resource = si.eResource();
    Option<org.sireum.awas.ast.Node> t = SymbolTableHelper.uri2Node(uri, st);
    if (t.isDefined() && t.get().auriFrag().isDefined()) {
        EObject eo = resource.getResourceSet().getEObject(URI.createURI(t.get().auriFrag().get()), true);
        if (eo instanceof InstanceObject) {
            org.osate.ui.UiUtil.gotoInstanceObjectSource(page, (InstanceObject) eo);
        }
    }
    return Option.empty();
}
Also used : InstanceObject(org.osate.aadl2.instance.InstanceObject) EObject(org.eclipse.emf.ecore.EObject) Resource(org.eclipse.emf.ecore.resource.Resource) SymbolTable(org.sireum.awas.symbol.SymbolTable) ConsoleTagReporter(org.sireum.util.ConsoleTagReporter)

Example 58 with InstanceObject

use of org.osate.aadl2.instance.InstanceObject in project osate-plugin by sireum.

the class ReachForwardHandler method execute.

@SuppressWarnings("restriction")
@Override
public Object execute(ExecutionEvent event) throws ExecutionException {
    final Boolean isImplDiagram = false;
    IWorkbenchWindow window = HandlerUtil.getActiveWorkbenchWindowChecked(event);
    Shell shell = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell();
    List<DiagramElement> des = SelectionUtil.getSelectedDiagramElements(SelectionHelper.getDiagramSelection(), // getSelectedDiagramElem(event)
    true);
    List<InstanceObject> ios = des.stream().flatMap(de -> {
        Object bo = de.getBusinessObject();
        List<InstanceObject> io = new ArrayList();
        if (bo != null && bo instanceof InstanceObject) {
            io.add(((InstanceObject) bo));
        }
        return io.stream();
    }).collect(Collectors.toList());
    List<String> criterions = ios.stream().map(io -> io.getInstanceObjectPath()).collect(Collectors.toList());
    if (!ios.isEmpty()) {
        MessageConsole console = displayConsole("Awas Console");
        try {
            Aadl model = Util.getAir(ios.get(0).getSystemInstance(), true, console);
            Model awasModel = org.sireum.awas.slang.Aadl2Awas$.MODULE$.apply(model);
            SymbolTable st = org.sireum.awas.symbol.SymbolTable$.MODULE$.apply(awasModel, new ConsoleTagReporter());
            FlowGraph<FlowNode, FlowEdge<FlowNode>> graph = org.sireum.awas.flow.FlowGraph$.MODULE$.apply(awasModel, st, false);
            AwasGraph awasgraph = new AwasGraphImpl(graph, st);
            String query = "t = reach forward " + "{" + String.join(",", criterions) + "}";
            Map<String, Collector> qres = awasgraph.queryEvaluator(query);
            if (qres.isEmpty()) {
                MessageDialog.openError(window.getShell(), "Sireum", "Empty result");
            } else {
                final DiagramService diagramService = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getService(DiagramService.class);
                SystemInstance si = ios.get(0).getSystemInstance();
                Resource resource = si.eResource();
                ComponentImplementation cii = InstanceUtil.getComponentImplementation(si, 0, null);
                // cii.eResource().getResourceSet().get
                List<Collector> lc = new ArrayList<Collector>(qres.values());
                Set<AgeEditor> ads = AwasUtil.awasGraphUri2AgeDiagramEditor(lc.get(0).getGraph(), isImplDiagram, st, resource, diagramService);
                AwasUtil.highlightDiagrams(ads, lc.get(0), isImplDiagram, st, resource);
            }
        } catch (URISyntaxException e1) {
            // // TODO Auto-generated catch block
            e1.printStackTrace();
        } catch (IOException e1) {
            // TODO Auto-generated catch block
            e1.printStackTrace();
        } catch (Exception e3) {
            e3.printStackTrace();
            String m2 = "Could not invoke visualizer.  Please make sure Awas is configured correctly.\n\n" + e3.getLocalizedMessage();
            MessageDialog.openError(window.getShell(), "Sireum", m2);
        }
    } else {
        String m3 = "Please select a component or port from the instance diagram";
        MessageDialog.openError(window.getShell(), "Sireum", m3);
    }
    return null;
}
Also used : ExecutionEvent(org.eclipse.core.commands.ExecutionEvent) DiagramElement(org.osate.ge.internal.diagram.runtime.DiagramElement) Element(org.osate.aadl2.Element) AbstractSireumHandler(org.sireum.aadl.osate.handlers.AbstractSireumHandler) URISyntaxException(java.net.URISyntaxException) AwasGraphImpl(org.sireum.awas.awasfacade.AwasGraphImpl) IWorkbenchWindow(org.eclipse.ui.IWorkbenchWindow) ComponentImplementation(org.osate.aadl2.ComponentImplementation) ArrayList(java.util.ArrayList) HandlerUtil(org.eclipse.ui.handlers.HandlerUtil) AgeEditor(org.osate.ge.gef.ui.editor.AgeEditor) IStatus(org.eclipse.core.runtime.IStatus) SelectionHelper(org.sireum.aadl.osate.util.SelectionHelper) Map(java.util.Map) Collector(org.sireum.awas.awasfacade.Collector) FlowGraph(org.sireum.awas.flow.FlowGraph) MessageDialog(org.eclipse.jface.dialogs.MessageDialog) AwasUtil(org.sireum.aadl.osate.awas.util.AwasUtil) InstanceUtil(org.osate.aadl2.instance.util.InstanceUtil) SystemInstance(org.osate.aadl2.instance.SystemInstance) Shell(org.eclipse.swt.widgets.Shell) PlatformUI(org.eclipse.ui.PlatformUI) DiagramService(org.osate.ge.internal.services.DiagramService) Aadl(org.sireum.hamr.ir.Aadl) SelectionUtil(org.osate.ge.internal.ui.util.SelectionUtil) SymbolTable(org.sireum.awas.symbol.SymbolTable) Set(java.util.Set) IOException(java.io.IOException) ExecutionException(org.eclipse.core.commands.ExecutionException) MessageConsole(org.eclipse.ui.console.MessageConsole) Model(org.sireum.awas.ast.Model) Collectors(java.util.stream.Collectors) IProgressMonitor(org.eclipse.core.runtime.IProgressMonitor) FlowEdge(org.sireum.awas.flow.FlowEdge) FlowNode(org.sireum.awas.flow.FlowNode) List(java.util.List) Util(org.sireum.aadl.osate.util.Util) Resource(org.eclipse.emf.ecore.resource.Resource) ConsoleTagReporter(org.sireum.util.ConsoleTagReporter) AwasGraph(org.sireum.awas.awasfacade.AwasGraph) InstanceObject(org.osate.aadl2.instance.InstanceObject) ComponentImplementation(org.osate.aadl2.ComponentImplementation) AwasGraph(org.sireum.awas.awasfacade.AwasGraph) ArrayList(java.util.ArrayList) URISyntaxException(java.net.URISyntaxException) ConsoleTagReporter(org.sireum.util.ConsoleTagReporter) DiagramElement(org.osate.ge.internal.diagram.runtime.DiagramElement) InstanceObject(org.osate.aadl2.instance.InstanceObject) AwasGraphImpl(org.sireum.awas.awasfacade.AwasGraphImpl) Shell(org.eclipse.swt.widgets.Shell) AgeEditor(org.osate.ge.gef.ui.editor.AgeEditor) SystemInstance(org.osate.aadl2.instance.SystemInstance) Aadl(org.sireum.hamr.ir.Aadl) Collector(org.sireum.awas.awasfacade.Collector) ArrayList(java.util.ArrayList) List(java.util.List) FlowEdge(org.sireum.awas.flow.FlowEdge) IWorkbenchWindow(org.eclipse.ui.IWorkbenchWindow) MessageConsole(org.eclipse.ui.console.MessageConsole) Resource(org.eclipse.emf.ecore.resource.Resource) SymbolTable(org.sireum.awas.symbol.SymbolTable) IOException(java.io.IOException) URISyntaxException(java.net.URISyntaxException) IOException(java.io.IOException) ExecutionException(org.eclipse.core.commands.ExecutionException) Model(org.sireum.awas.ast.Model) InstanceObject(org.osate.aadl2.instance.InstanceObject) DiagramService(org.osate.ge.internal.services.DiagramService) FlowNode(org.sireum.awas.flow.FlowNode)

Example 59 with InstanceObject

use of org.osate.aadl2.instance.InstanceObject in project osate-plugin by sireum.

the class AwasServer method handleHighlight.

@SuppressWarnings("restriction")
@Override
public Option<Protocol> handleHighlight(scala.collection.immutable.Map<String, String> urisColor) {
    Map<String, String> toHighlight = new HashMap<>(JavaConverters.mapAsJavaMapConverter(urisColor).asJava());
    SymbolTable st = org.sireum.awas.symbol.SymbolTable$.MODULE$.apply(awasModel, new ConsoleTagReporter());
    Resource resource = si.eResource();
    // final DiagramService diagramService = PlatformUI.getWorkbench().getActiveWorkbenchWindow()
    // .getService(DiagramService.class);
    // AgeDiagramEditor ade = diagramService.openOrCreateDiagramForBusinessObject(si, true, true);
    // toHighlight.entrySet().stream()
    Set<InstanceObject> ios = new HashSet<InstanceObject>();
    Map<URI, String> iUri = toHighlight.entrySet().stream().flatMap(kkk -> {
        Option<org.sireum.awas.ast.Node> t = SymbolTableHelper.uri2Node(kkk.getKey(), st);
        Map<URI, String> res = new HashMap<URI, String>();
        if (t.isDefined() && t.get().auriFrag().isDefined()) {
            EObject eo = resource.getResourceSet().getEObject(URI.createURI(t.get().auriFrag().get()), true);
            if (eo instanceof InstanceObject) {
                res.put(new EObjectURIWrapper(eo).getUri(), kkk.getValue());
                ios.add((InstanceObject) eo);
            }
        }
        return res.entrySet().stream();
    }).collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue));
    Set<DiagramElement> des = new HashSet<DiagramElement>();
    // des.addAll(AwasUtil.getAllDiagramElements(ade.getDiagramBehavior().getAgeDiagram()));
    // Set<IProject> projects = new HashSet();
    // projects.add(project);
    AwasServerHandler.highlightInstanceDiagram(iUri, si);
    return Option.empty();
}
Also used : DiagramElement(org.osate.ge.internal.diagram.runtime.DiagramElement) URI(org.eclipse.emf.common.util.URI) MessageDigest(java.security.MessageDigest) AwasSerializer(org.sireum.awas.ast.AwasSerializer) HashMap(java.util.HashMap) HashSet(java.util.HashSet) Protocol(org.sireum.awas.peti.Protocol) Map(java.util.Map) PetiImpl(org.sireum.awas.peti.PetiImpl) BigInteger(java.math.BigInteger) EObjectURIWrapper(org.osate.aadl2.modelsupport.EObjectURIWrapper) SystemInstance(org.osate.aadl2.instance.SystemInstance) AwasServerHandler(org.sireum.aadl.osate.awas.handlers.AwasServerHandler) SymbolTable(org.sireum.awas.symbol.SymbolTable) Set(java.util.Set) EObject(org.eclipse.emf.ecore.EObject) Model(org.sireum.awas.ast.Model) Option(scala.Option) Collectors(java.util.stream.Collectors) StandardCharsets(java.nio.charset.StandardCharsets) IWorkbenchPage(org.eclipse.ui.IWorkbenchPage) NoSuchAlgorithmException(java.security.NoSuchAlgorithmException) Resource(org.eclipse.emf.ecore.resource.Resource) SymbolTableHelper(org.sireum.awas.symbol.SymbolTableHelper) JavaConverters(scala.collection.JavaConverters) ConsoleTagReporter(org.sireum.util.ConsoleTagReporter) InstanceObject(org.osate.aadl2.instance.InstanceObject) HashMap(java.util.HashMap) Resource(org.eclipse.emf.ecore.resource.Resource) SymbolTable(org.sireum.awas.symbol.SymbolTable) ConsoleTagReporter(org.sireum.util.ConsoleTagReporter) URI(org.eclipse.emf.common.util.URI) InstanceObject(org.osate.aadl2.instance.InstanceObject) DiagramElement(org.osate.ge.internal.diagram.runtime.DiagramElement) EObject(org.eclipse.emf.ecore.EObject) EObjectURIWrapper(org.osate.aadl2.modelsupport.EObjectURIWrapper) Option(scala.Option) HashMap(java.util.HashMap) Map(java.util.Map) HashSet(java.util.HashSet)

Example 60 with InstanceObject

use of org.osate.aadl2.instance.InstanceObject in project osate-plugin by sireum.

the class AwasServer method handleClear.

@SuppressWarnings("restriction")
@Override
public Option<Protocol> handleClear(scala.collection.immutable.Set<String> uris) {
    Set<String> toClear = new HashSet<String>();
    toClear.addAll(JavaConverters.setAsJavaSet(uris));
    SymbolTable st = org.sireum.awas.symbol.SymbolTable$.MODULE$.apply(awasModel, new ConsoleTagReporter());
    Resource resource = si.eResource();
    Set<URI> iUri = toClear.stream().flatMap(mapper -> {
        Option<org.sireum.awas.ast.Node> t = SymbolTableHelper.uri2Node(mapper, st);
        Set<URI> res = new HashSet();
        if (t.isDefined() && t.get().auriFrag().isDefined()) {
            EObject eo = resource.getResourceSet().getEObject(URI.createURI(t.get().auriFrag().get()), true);
            if (eo instanceof InstanceObject) {
                res.add(new EObjectURIWrapper(eo).getUri());
            }
        }
        return res.stream();
    }).collect(Collectors.toSet());
    // des.addAll(AwasUtil.getAllDiagramElements(ade.getDiagramBehavior().getAgeDiagram()));
    // Set<IProject> projects = new HashSet();
    // projects.add(project);
    AwasServerHandler.clearInstanceDiagram(iUri, si);
    return Option.empty();
}
Also used : DiagramElement(org.osate.ge.internal.diagram.runtime.DiagramElement) URI(org.eclipse.emf.common.util.URI) MessageDigest(java.security.MessageDigest) AwasSerializer(org.sireum.awas.ast.AwasSerializer) HashMap(java.util.HashMap) HashSet(java.util.HashSet) Protocol(org.sireum.awas.peti.Protocol) Map(java.util.Map) PetiImpl(org.sireum.awas.peti.PetiImpl) BigInteger(java.math.BigInteger) EObjectURIWrapper(org.osate.aadl2.modelsupport.EObjectURIWrapper) SystemInstance(org.osate.aadl2.instance.SystemInstance) AwasServerHandler(org.sireum.aadl.osate.awas.handlers.AwasServerHandler) SymbolTable(org.sireum.awas.symbol.SymbolTable) Set(java.util.Set) EObject(org.eclipse.emf.ecore.EObject) Model(org.sireum.awas.ast.Model) Option(scala.Option) Collectors(java.util.stream.Collectors) StandardCharsets(java.nio.charset.StandardCharsets) IWorkbenchPage(org.eclipse.ui.IWorkbenchPage) NoSuchAlgorithmException(java.security.NoSuchAlgorithmException) Resource(org.eclipse.emf.ecore.resource.Resource) SymbolTableHelper(org.sireum.awas.symbol.SymbolTableHelper) JavaConverters(scala.collection.JavaConverters) ConsoleTagReporter(org.sireum.util.ConsoleTagReporter) InstanceObject(org.osate.aadl2.instance.InstanceObject) HashSet(java.util.HashSet) Set(java.util.Set) Resource(org.eclipse.emf.ecore.resource.Resource) SymbolTable(org.sireum.awas.symbol.SymbolTable) ConsoleTagReporter(org.sireum.util.ConsoleTagReporter) URI(org.eclipse.emf.common.util.URI) InstanceObject(org.osate.aadl2.instance.InstanceObject) EObject(org.eclipse.emf.ecore.EObject) EObjectURIWrapper(org.osate.aadl2.modelsupport.EObjectURIWrapper) Option(scala.Option) HashSet(java.util.HashSet)

Aggregations

InstanceObject (org.osate.aadl2.instance.InstanceObject)77 PropertyExpression (org.osate.aadl2.PropertyExpression)38 ComponentInstance (org.osate.aadl2.instance.ComponentInstance)36 Property (org.osate.aadl2.Property)35 PropertyNotPresentException (org.osate.aadl2.properties.PropertyNotPresentException)31 SystemInstance (org.osate.aadl2.instance.SystemInstance)27 InstanceReferenceValue (org.osate.aadl2.instance.InstanceReferenceValue)24 ArrayList (java.util.ArrayList)19 ListValue (org.osate.aadl2.ListValue)17 NamedElement (org.osate.aadl2.NamedElement)17 ConnectionInstance (org.osate.aadl2.instance.ConnectionInstance)15 Element (org.osate.aadl2.Element)14 Classifier (org.osate.aadl2.Classifier)13 FeatureInstance (org.osate.aadl2.instance.FeatureInstance)12 List (java.util.List)11 EObject (org.eclipse.emf.ecore.EObject)11 Resource (org.eclipse.emf.ecore.resource.Resource)10 ComponentClassifier (org.osate.aadl2.ComponentClassifier)10 SystemOperationMode (org.osate.aadl2.instance.SystemOperationMode)10 URI (org.eclipse.emf.common.util.URI)9