@Override protected void doPropertyChange(PropertyChangeEvent evt) { if (evt.getPropertyName().equalsIgnoreCase(InstallOptionsModel.PROPERTY_TXTCOLOR)) { ILinkFigure figure2 = (ILinkFigure) getFigure(); figure2.setTxtColor((RGB) evt.getNewValue()); setNeedsRefresh(true); } else if (evt.getPropertyName().equalsIgnoreCase(InstallOptionsModel.PROPERTY_MULTILINE)) { setNeedsRefresh(true); } else { super.doPropertyChange(evt); } }
@Override protected void createEditPolicies() { super.createEditPolicies(); installEditPolicy( InstallOptionsExtendedEditPolicy.ROLE, new InstallOptionsLinkExtendedEditPolicy(this)); }