use of com.cubrid.cubridmanager.ui.mondashboard.editor.figure.HAConnectionFigure in project cubrid-manager by CUBRID.
the class HAConnectionPart method refreshVisuals.
/**
* refresh Visuals
*/
protected void refreshVisuals() {
HAConnectionFigure conn = (HAConnectionFigure) getFigure();
MonitorConnection model = (MonitorConnection) getModel();
conn.setLabel(model.getLabel());
super.refreshVisuals();
}
use of com.cubrid.cubridmanager.ui.mondashboard.editor.figure.HAConnectionFigure in project cubrid-manager by CUBRID.
the class HAConnectionPart method createFigure.
/**
* create figure used by edit part.
*
* @return IFigure connectin figure
*/
protected IFigure createFigure() {
HAConnectionFigure conn = new HAConnectionFigure();
conn.setTargetDecoration(new PolygonDecoration());
conn.setConnectionRouter(new ManhattanConnectionRouter());
conn.setForegroundColor(CONNECTION_DEFAULT_COLOR);
conn.setLineWidth(3);
return conn;
}
Aggregations