Package com.structurizr.view
Class SystemContextView
java.lang.Object
com.structurizr.view.View
com.structurizr.view.ModelView
com.structurizr.view.StaticView
com.structurizr.view.SystemContextView
- All Implemented Interfaces:
PropertyHolder
Represents the System Context view from the C4 model, showing how a software system fits into its environment,
in terms of the users (people) and other software system dependencies.
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds all software systems and all people.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) 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, getModel, 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. -
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.- 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
-