Class ViewsLibrary
java.lang.Object
com.dassault_systemes.modeler.foundation.project.service.ModelElementProjectService<ModelElementProject>
com.dassault_systemes.modeler.kerml.libraries.AbstractLibrary
com.dassault_systemes.modeler.sysml.libraries.standard.ViewsLibrary
- All Implemented Interfaces:
com.dassault_systemes.modeler.foundation.project.service.DisposableService
Access helper for the views standard library.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classWrapper for the as interconnection diagram rendering usage library element.static classWrapper for the as textual notation rendering usage library element.static classWrapper for the as tree diagram rendering usage library element.static classWrapper for the graphical rendering rendering definition library element.static classWrapper for the rendering rendering definition library element.static classWrapper for the renderings rendering usage library element.static classWrapper for the tabular rendering rendering definition library element.static classWrapper for the textual rendering rendering definition library element.static classWrapper for the viewpoint checks viewpoint usage library element.static classWrapper for the viewpoint check viewpoint definition library element.static classWrapper for the views view usage library element.static classWrapper for the view view definition library element. -
Constructor Summary
ConstructorsConstructorDescriptionViewsLibrary(ModelElementProject project) Creates a new views library instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns as interconnection diagram.Returns as textual notation.Returns as tree diagram.static ViewsLibrarygetInstance(BaseElement element) Returns the library instance for the project that owns the given element.static ViewsLibrarygetInstanceByProject(ModelElementProject project) Returns the library instance for the given project.protected final Set<com.dassault_systemes.modeler.kerml.libraries.TypeWrapper> Returns get type wrappers.Returns graphical rendering.booleanReturns whether this library is semantic.Returns the names of the packages that belong to this library.Returns rendering.Returns renderings.Returns tabular rendering.Returns textual rendering.View()Returns view.Returns viewpoint check.Returns viewpoint checks.views()Returns views.Methods inherited from class com.dassault_systemes.modeler.kerml.libraries.AbstractLibrary
findFunctionInLibrary, findLibraryPackage, findPackage, getLibraryPackages, getNamespace, initializedMethods inherited from class com.dassault_systemes.modeler.foundation.project.service.ModelElementProjectService
disposeService, getIfPresent, getOrCreateInstance, getOrCreateInstanceWithNullSupport, getReferencedProject
-
Constructor Details
-
ViewsLibrary
Creates a new views library instance.- Parameters:
project- the project
-
-
Method Details
-
getInstanceByProject
Returns the library instance for the given project.- Parameters:
project- the project- Returns:
- get instance by project
-
getInstance
Returns the library instance for the project that owns the given element.- Parameters:
element- the element- Returns:
- get instance
-
isSemantic
public boolean isSemantic()Returns whether this library is semantic.- Specified by:
isSemanticin classAbstractLibrary- Returns:
trueif semantic;falseotherwise
-
packagesNames
Returns the names of the packages that belong to this library.- Specified by:
packagesNamesin classAbstractLibrary- Returns:
- packages names
-
View
Returns view.- Returns:
- view
-
ViewpointCheck
Returns viewpoint check.- Returns:
- viewpoint check
-
Rendering
Returns rendering.- Returns:
- rendering
-
TextualRendering
Returns textual rendering.- Returns:
- textual rendering
-
GraphicalRendering
Returns graphical rendering.- Returns:
- graphical rendering
-
TabularRendering
Returns tabular rendering.- Returns:
- tabular rendering
-
views
Returns views.- Returns:
- views
-
viewpointChecks
Returns viewpoint checks.- Returns:
- viewpoint checks
-
renderings
Returns renderings.- Returns:
- renderings
-
asTextualNotation
Returns as textual notation.- Returns:
- as textual notation
-
asTreeDiagram
Returns as tree diagram.- Returns:
- as tree diagram
-
asInterconnectionDiagram
Returns as interconnection diagram.- Returns:
- as interconnection diagram
-
getTypeWrappers
Returns get type wrappers.- Specified by:
getTypeWrappersin classAbstractLibrary- Returns:
- get type wrappers
-