@Override protected void beforeReconstruction() { super.beforeReconstruction(); lineStyleChoiceList = new LineStyleChoiceList(); bentStyleChoiceList = new BentStyleChoiceList(); lineStyleChoiceList.setSelectedIndex(selectedLineStyle); bentStyleChoiceList.setSelectedIndex(selectedBentStyle); }
@Override public void setTransitionPoints(Point2D[] transitionPoints) { super.setTransitionPoints(transitionPoints); if (null == transitionPoints || 0 == transitionPoints.length) { // setBentStyle(BentStyle.AUTO); } else { setBentStyle(BentStyle.FREE); } }