Package | Description |
---|---|
com.yakindu.bridges.ea.core.ui.utils |
This package contains a helper class to resolve EA models in an
EAResource via a progress dialog, a helper class to extract elements from a selection, and a static class that
provides a list of all registered primitive type languages. |
com.yakindu.bridges.ea.core.utils |
This package contains several helper classes that may be used when working with
EAResource in general, like retrieving EA-specific model element IDs
or converting an URI path to OS path. |
com.yakindu.bridges.ea.uml.extensions.stereotypes |
This package contains the default stereotype resolver
UniqueStereotypeResolver which
resolves a non-qualified stereotype if an unambiguous match in all registered Eclipse profiles can be found. |
com.yakindu.bridges.ea.uml.utils |
This package contains several helper classes when working with
EAResources . |
Modifier and Type | Method and Description |
---|---|
static EAResource |
SelectionUtil.extractEAResource(IFile file) |
static EAResource |
EAResourceUIUtils.loadEAResourceSilentWithProgressMonitorDialog(Shell shell,
IFile file,
boolean readOnly)
This method opens a
ProgressMonitorDialog and in its run method, calls
EAResourceUtils.loadEAResourceSilent(IFile, boolean, IProgressMonitor) for loading the given EA model. |
static EAResource |
EAResourceUIUtils.loadEAResourceSilentWithProgressMonitorDialog(Shell shell,
URI uri,
boolean readOnly)
This method opens a
ProgressMonitorDialog and in its run method, calls
EAResourceUtils.loadEAResourceSilent(URI, boolean, IProgressMonitor) for loading the given EA model. |
Modifier and Type | Method and Description |
---|---|
static EAResource |
EAResourceUtils.loadEAResourceSilent(IFile file,
boolean readOnly,
org.eclipse.core.runtime.IProgressMonitor monitor)
This helper is a convenience method for loading an eap-file read-only inside a new resource set without error
reporting.
|
static EAResource |
EAResourceUtils.loadEAResourceSilent(URI uri,
boolean readOnly,
org.eclipse.core.runtime.IProgressMonitor monitor)
This helper method is a convenience method for loading an eap-file read-only inside a new resource set without
error reporting:
|
Modifier and Type | Method and Description |
---|---|
Stereotype |
UniqueStereotypeResolver.getMatchingStereotype(java.util.List<Profile> registeredProfiles,
java.lang.String stereotypeName,
EAResource resource,
Element stereotypedElement) |
Modifier and Type | Method and Description |
---|---|
static UMLResource |
EAResourceUMLUtils.exportEapToUmlResource(EAResource eaResource,
URI umlResourceUri,
org.eclipse.core.runtime.IProgressMonitor monitor)
This call exports an EA model into a
UML model ; make sure to save it afterwards because it is
not yet saved! |
static UMLResource |
EAResourceUMLUtils.exportEapToUmlResource(EAResource eaResource,
URI umlResourceUri,
org.eclipse.core.runtime.IProgressMonitor monitor,
Copier copier)
This call exports an EA model into a
UML model ; make sure to save it afterwards because it is
not yet saved! |
static Resource |
EAResourceUMLUtils.getEADatatypesResource(EAResource eaResource)
The built-in primitive types of EA models are stored in the
t_datatypes table. |
static java.util.Map<java.lang.String,java.lang.Integer> |
EAResourceUMLUtils.repairMissingTypeReferences(EAResource resource,
boolean dryRun)
Type references inside EA models are often stored in two columns, one for the type name, one for its ID.
|
Copyright (c) 2015 itemis AG, and others. All rights reserved.