use of org.csstudio.opibuilder.widgets.figures.AbstractWebBrowserFigure in project yamcs-studio by yamcs.
the class WebBrowserEditPart method registerPropertyChangeHandlers.
/**
* {@inheritDoc}
*/
@Override
protected void registerPropertyChangeHandlers() {
// URL
IWidgetPropertyChangeHandler urlHandler = new IWidgetPropertyChangeHandler() {
@Override
public boolean handleChange(final Object oldValue, final Object newValue, final IFigure refreshableFigure) {
((AbstractWebBrowserFigure<?>) refreshableFigure).setUrl((String) newValue);
return false;
}
};
setPropertyChangeHandler(WebBrowserModel.PROP_URL, urlHandler);
}
Aggregations