protected void doModelUpdate(String name, String newValue) { Swimlane swimlane = (Swimlane) getSemanticElement(); if ("name".equals(name)) { swimlane.setName(newValue); } }
public void initialize(SemanticElement jpdlElement) { super.initialize(jpdlElement); Swimlane swimlane = (Swimlane) jpdlElement; swimlane.setName(getAttribute("name")); swimlane.addPropertyChangeListener(this); }