Package | Description |
---|---|
org.eclipse.uml2.uml | |
org.eclipse.uml2.uml.editor.actions | |
org.eclipse.uml2.uml.editor.presentation | |
org.eclipse.uml2.uml.profile.standard | |
org.eclipse.uml2.uml.util |
Modifier and Type | Interface and Description |
---|---|
interface |
Model
A representation of the model object 'Model'
|
interface |
Profile
A representation of the model object 'Profile'
|
Modifier and Type | Method and Description |
---|---|
Package |
Package.createNestedPackage(java.lang.String name)
Creates a new
Package , with the specified 'Name', and appends it to the 'Nested Package' reference list |
Package |
Package.createNestedPackage(java.lang.String name,
org.eclipse.emf.ecore.EClass eClass)
Creates a new
Package , with the specified 'Name', and appends it to the 'Nested Package' reference list |
Package |
UMLFactory.createPackage()
Returns a new object of class 'Package'
|
Package |
ProfileApplication.getApplyingPackage()
Returns the value of the 'Applying Package' container reference.
|
Package |
PackageImport.getImportedPackage()
Returns the value of the 'Imported Package' reference.
|
Package |
PackageMerge.getMergedPackage()
Returns the value of the 'Merged Package' reference.
|
Package |
Element.getNearestPackage()
Retrieves the nearest package that owns (either directly or indirectly) this element, or the element itself (if it is a package)
|
Package |
Package.getNestedPackage(java.lang.String name)
Retrieves the first
Package with the specified 'Name' from the 'Nested Package' reference list |
Package |
Package.getNestedPackage(java.lang.String name,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass,
boolean createOnDemand)
Retrieves the first
Package with the specified 'Name' from the 'Nested Package' reference list |
Package |
Package.getNestingPackage()
Returns the value of the 'Nesting Package' reference.
|
Package |
Type.getPackage()
Returns the value of the 'Package' reference.
|
Package |
PackageMerge.getReceivingPackage()
Returns the value of the 'Receiving Package' container reference.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.common.util.EList<Package> |
NamedElement.allOwningPackages()
The query allOwningPackages() returns the set of all the enclosing Namespaces of this NamedElement, working outwards, that are Packages, up to but not including the first such Namespace that is not a Package.
|
org.eclipse.emf.common.util.EList<Package> |
Namespace.getImportedPackages()
Retrieves the packages imported by this namespace
|
org.eclipse.emf.common.util.EList<Package> |
Package.getNestedPackages()
Returns the value of the 'Nested Package' reference list.
|
Modifier and Type | Method and Description |
---|---|
PackageImport |
Profile.createMetamodelReference(Package importedPackage)
Creates a new
PackageImport , with the specified 'Imported Package', and appends it to the 'Metamodel Reference' reference list |
PackageImport |
Namespace.createPackageImport(Package importedPackage)
Creates a new
PackageImport , with the specified 'Imported Package', and appends it to the 'Package Import' containment reference list |
PackageImport |
Namespace.createPackageImport(Package package_,
VisibilityKind visibility)
Creates an import of the specified package into this namespace with the specified visibility.
|
PackageMerge |
Package.createPackageMerge(Package mergedPackage)
Creates a new
PackageMerge , with the specified 'Merged Package', and appends it to the 'Package Merge' containment reference list |
PackageImport |
Profile.getMetamodelReference(Package importedPackage)
Retrieves the first
PackageImport with the specified 'Imported Package' from the 'Metamodel Reference' reference list |
PackageImport |
Profile.getMetamodelReference(Package importedPackage,
boolean createOnDemand)
Retrieves the first
PackageImport with the specified 'Imported Package' from the 'Metamodel Reference' reference list |
PackageImport |
Namespace.getPackageImport(Package importedPackage)
Retrieves the first
PackageImport with the specified 'Imported Package' from the 'Package Import' containment reference list |
PackageImport |
Namespace.getPackageImport(Package importedPackage,
boolean createOnDemand)
Retrieves the first
PackageImport with the specified 'Imported Package' from the 'Package Import' containment reference list |
PackageMerge |
Package.getPackageMerge(Package mergedPackage)
Retrieves the first
PackageMerge with the specified 'Merged Package' from the 'Package Merge' containment reference list |
PackageMerge |
Package.getPackageMerge(Package mergedPackage,
boolean createOnDemand)
Retrieves the first
PackageMerge with the specified 'Merged Package' from the 'Package Merge' containment reference list |
void |
ProfileApplication.setApplyingPackage(Package value)
Sets the value of the '
Applying Package ' container reference |
void |
PackageImport.setImportedPackage(Package value)
Sets the value of the '
Imported Package ' reference |
void |
PackageMerge.setMergedPackage(Package value)
Sets the value of the '
Merged Package ' reference |
void |
Package.setNestingPackage(Package value)
Sets the value of the '
Nesting Package ' reference |
void |
Type.setPackage(Package value)
Sets the value of the '
Package ' reference |
void |
PackageMerge.setReceivingPackage(Package value)
Sets the value of the '
Receiving Package ' container reference |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<Type> |
ImportTypeAction.getChoiceOfValues(Package package_) |
protected java.util.List<Type> |
ImportPrimitiveTypeAction.getChoiceOfValues(Package package_) |
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.emf.ecore.ENamedElement |
UMLEditor.UMLPasteFromClipboardCommand.getAppliedDefinition(Package nearestPackage,
Stereotype stereotype) |
Modifier and Type | Method and Description |
---|---|
Package |
ModelLibrary.getBase_Package()
Returns the value of the 'Base Package' reference
|
Package |
Framework.getBase_Package()
Returns the value of the 'Base Package' reference
|
Modifier and Type | Method and Description |
---|---|
void |
ModelLibrary.setBase_Package(Package value)
Sets the value of the '
Base Package ' reference |
void |
Framework.setBase_Package(Package value)
Sets the value of the '
Base Package ' reference |
Modifier and Type | Field and Description |
---|---|
protected Package |
UMLUtil.PackageMerger.receivingPackage
Deprecated.
Use the
UMLUtil.PackageMerger.receivingElement , instead. |
Modifier and Type | Field and Description |
---|---|
protected java.util.Collection<Package> |
UMLUtil.PackageMerger.mergedPackages
Deprecated.
Use the
UMLUtil.PackageMerger.mergedElements , instead |
protected java.util.Collection<Package> |
UMLUtil.UML2EcoreConverter.packages |
Modifier and Type | Method and Description |
---|---|
static Package |
UMLUtil.getPackage(org.eclipse.emf.ecore.EPackage definition)
Retrieves the package for which the specified package represents a
definition.
|
static Package |
UMLUtil.getPackage(org.eclipse.emf.ecore.EPackage definition,
org.eclipse.emf.ecore.EObject context) |
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<Package> |
UMLUtil.convertFromEcore(org.eclipse.emf.ecore.EPackage ePackage,
java.util.Map<java.lang.String,java.lang.String> options)
Converts the specified Ecore package (and its contents) to UML using the
specified options.
|
static java.util.Collection<Package> |
UMLUtil.convertFromEcore(org.eclipse.emf.ecore.EPackage ePackage,
java.util.Map<java.lang.String,java.lang.String> options,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Converts the specified Ecore package (and its contents) to UML using the
specified options, reporting problems to the specified diagnostics,
within the specified context.
|
protected java.util.Collection<Package> |
UMLUtil.PackageMerger.getAllMergedPackages(Package package_) |
java.lang.Iterable<Package> |
UMLUtil.ProfileApplicationHelper.getOtherApplyingPackages(Package package_) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
UMLUtil.UML2EcoreConverter.casePackage(Package package_) |
java.lang.Object |
UMLUtil.Profile2EPackageConverter.casePackage(Package package_) |
T |
UMLSwitch.casePackage(Package object)
Returns the result of interpreting the object as an instance of 'Package'
|
static java.util.Collection<org.eclipse.emf.ecore.EPackage> |
UMLUtil.convertToEcore(Package package_,
java.util.Map<java.lang.String,java.lang.String> options)
Converts the specified package (and its contents) to Ecore using the
specified options.
|
static java.util.Collection<org.eclipse.emf.ecore.EPackage> |
UMLUtil.convertToEcore(Package package_,
java.util.Map<java.lang.String,java.lang.String> options,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Converts the specified package (and its contents) to Ecore using the
specified options, reporting problems to the specified diagnostics,
within the specified context.
|
protected java.util.Collection<Package> |
UMLUtil.PackageMerger.getAllMergedPackages(Package package_) |
protected static org.eclipse.emf.ecore.EPackage |
UMLUtil.getEPackage(Package package_) |
java.lang.Iterable<Package> |
UMLUtil.ProfileApplicationHelper.getOtherApplyingPackages(Package package_) |
static java.util.Map<org.eclipse.emf.ecore.EObject,java.util.List<org.eclipse.emf.ecore.EObject>> |
UMLUtil.merge(Package package_,
java.util.Map<java.lang.String,java.lang.String> options)
Merges the contents of (all of) the packages merged by the specified
package using the specified options.
|
static java.util.Map<org.eclipse.emf.ecore.EObject,java.util.List<org.eclipse.emf.ecore.EObject>> |
UMLUtil.merge(Package package_,
java.util.Map<java.lang.String,java.lang.String> options,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Merges the contents of (all of) the packages merged by the specified
package using the specified options, reporting problems to the specified
diagnostics, within the specified context.
|
java.util.Map<org.eclipse.emf.ecore.EObject,java.util.List<org.eclipse.emf.ecore.EObject>> |
UMLUtil.PackageMerger.merge(Package package_,
java.util.Map<java.lang.String,java.lang.String> options,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Merges the contents of (all of) the packages merged by the specified
package using the specified options, reporting problems to the
specified diagnostics, within the specified context.
|
boolean |
UMLValidator.validatePackage_validateElementsPublicOrPrivate(Package package_,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
Validates the validateElementsPublicOrPrivate constraint of 'Package'
|
boolean |
UMLValidator.validatePackage(Package package_,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |