16171819202122232425
XYLayout layout = new XYLayout(); figure.setLayoutManager(layout); figure.setForegroundColor(ColorConstants.black); Border line = new LineBorder(new Color(null, 0, 0, 0)); figure.setBorder(line); return figure; }
99100101102103104105106107108109
} @Override public void setSelected(int value) { super.setSelected(value); Border border = getFigure().getBorder(); if (border instanceof LineBorder) { if (value != EditPart.SELECTED_NONE) { ((LineBorder) border).setWidth(2); } else {