Search in sources :

Example 1 with ContainerNodeFigure

use of com.cubrid.cubridmanager.ui.replication.editor.figures.ContainerNodeFigure in project cubrid-manager by CUBRID.

the class ContainerNodePart method refreshVisuals.

/**
	 * @see com.cubrid.cubridmanager.ui.replication.editor.parts.NodePart#refreshVisuals()
	 */
protected void refreshVisuals() {
    super.refreshVisuals();
    ContainerNodeFigure figure = (ContainerNodeFigure) getFigure();
    figure.setName(((Node) this.getModel()).getName());
    if (getContainerNode() instanceof HostNode) {
        figure.setIcon(CubridManagerUIPlugin.getImage("icons/navigator/host.png"));
    }
}
Also used : ContainerNodeFigure(com.cubrid.cubridmanager.ui.replication.editor.figures.ContainerNodeFigure) HostNode(com.cubrid.cubridmanager.ui.replication.editor.model.HostNode)

Aggregations

ContainerNodeFigure (com.cubrid.cubridmanager.ui.replication.editor.figures.ContainerNodeFigure)1 HostNode (com.cubrid.cubridmanager.ui.replication.editor.model.HostNode)1