/** * Creates a system landscape view. * * @param key the key for the view (must be unique) * @param description a description of the view * @return an SystemLandscapeView object * @throws IllegalArgumentException if the key is not unique */ public SystemLandscapeView createSystemLandscapeView(String key, String description) { assertThatTheViewKeyIsSpecifiedAndUnique(key); SystemLandscapeView view = new SystemLandscapeView(model, key, description); view.setViewSet(this); systemLandscapeViews.add(view); return view; }
@Before public void setUp() { view = new SystemLandscapeView(model, "context", "Description"); }
ContainerInstance containerInstance = deploymentNode.add(container); SystemLandscapeView systemLandscapeView = new SystemLandscapeView(); systemLandscapeView.setKey("systemLandscape"); // this is used for the filtered view below systemLandscapeView.setElements(elementViewsFor(person, softwareSystem));