public class SysMLProfileManager
extends java.lang.Object
Constructor and Description |
---|
SysMLProfileManager() |
Modifier and Type | Method and Description |
---|---|
static void |
applyBlockProfileTo(org.eclipse.uml2.uml.Package element,
boolean withSubProfiles)
Applies the Block profile to the given element.
|
static void |
applyRequirementProfileTo(org.eclipse.uml2.uml.Package element)
Applies the Requirement profile and its subprofiles to the given element.
|
static org.eclipse.uml2.uml.Stereotype |
applySatisfyStereotype(org.eclipse.uml2.uml.Abstraction abs)
Applies the Satisfy stereotype to the given
Abstraction . |
static void |
applySysMLProfileTo(org.eclipse.uml2.uml.Package element,
boolean withSubProfiles)
Applies the SysML profile to the given element.
|
static void |
createModel(org.eclipse.uml2.uml.Model currentModel)
Initialize the model with the needed elements.
|
public static void applyRequirementProfileTo(org.eclipse.uml2.uml.Package element)
element
- the elementpublic static void applyBlockProfileTo(org.eclipse.uml2.uml.Package element, boolean withSubProfiles)
element
- the elementwithSubProfiles
- whether the subprofiles should also be appliedpublic static void applySysMLProfileTo(org.eclipse.uml2.uml.Package element, boolean withSubProfiles)
element
- the elementwithSubProfiles
- whether the subprofiles should also be appliedpublic static org.eclipse.uml2.uml.Stereotype applySatisfyStereotype(org.eclipse.uml2.uml.Abstraction abs)
Abstraction
.abs
- the abstractionpublic static void createModel(org.eclipse.uml2.uml.Model currentModel)
currentModel
- the model