Package com.structurizr.view
Class SystemLandscapeView
java.lang.Object
com.structurizr.view.View
com.structurizr.view.ModelView
com.structurizr.view.StaticView
com.structurizr.view.SystemLandscapeView
- All Implemented Interfaces:
PropertyHolder
Represents a System Landscape view that sits "above" the C4 model,
showing the software systems and people in a given environment.
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds all software systems and all people to this view.voidAdds the default set of elements to this view.voidaddNearestNeighbours(Element element) Adds all software systems and people that are directly connected to the specified element.protected booleancanBeRemoved(Element element) protected voidcheckElementCanBeAdded(Element element) getModel()Gets the model that this view belongs to.getName()Gets the (computed) name of this view.booleanDeprecated.voidsetEnterpriseBoundaryVisible(boolean enterpriseBoundaryVisible) Deprecated.Methods inherited from class com.structurizr.view.StaticView
add, add, add, add, add, add, add, addAllPeople, addAllSoftwareSystems, addAnimation, getAnimations, remove, remove, remove, removeElementsThatAreUnreachableFrom, removeElementsWithTag, removeRelationshipsWithTagMethods inherited from class com.structurizr.view.ModelView
addElement, addNearestNeighbours, addRelationship, disableAutomaticLayout, enableAutomaticLayout, enableAutomaticLayout, enableAutomaticLayout, enableAutomaticLayout, getAutomaticLayout, getDimensions, getElements, getElementView, getMergeFromRemote, getPaperSize, getRelationships, getRelationshipView, getSoftwareSystem, getSoftwareSystemId, getViewSet, isElementInView, remove, removeElement, removeElementsWithNoRelationships, removeRelationshipsNotConnectedToElement, setDimensions, setLayoutMergeStrategy, setMergeFromRemote, setPaperSizeMethods inherited from class com.structurizr.view.View
addProperty, getDescription, getKey, getOrder, getProperties, getTitle, setDescription, setTitle
-
Method Details
-
getName
Gets the (computed) name of this view. -
getModel
Gets the model that this view belongs to. -
addDefaultElements
public void addDefaultElements()Adds the default set of elements to this view.- Specified by:
addDefaultElementsin classStaticView
-
addAllElements
public void addAllElements()Adds all software systems and all people to this view.- Specified by:
addAllElementsin classStaticView
-
addNearestNeighbours
Adds all software systems and people that are directly connected to the specified element.- Specified by:
addNearestNeighboursin classStaticView- Parameters:
element- an Element
-
isEnterpriseBoundaryVisible
Deprecated.Determines whether the enterprise boundary (to differentiate "internal" elements from "external" elements") should be visible on the resulting diagram.- Returns:
- true if the enterprise boundary is visible, false otherwise
-
setEnterpriseBoundaryVisible
Deprecated.Sets whether the enterprise boundary (to differentiate "internal" elements from "external" elements") should be visible on the resulting diagram.- Parameters:
enterpriseBoundaryVisible- true if the enterprise boundary should be visible, false otherwise
-
checkElementCanBeAdded
- Specified by:
checkElementCanBeAddedin classModelView
-
canBeRemoved
- Specified by:
canBeRemovedin classModelView
-