// set if this node is visible
glPanel.setNodeVisible(node, property.isVisible());
// Set the size of this node
Size nodeSize = property.getSize();
if (nodeSize != null) {
NodePreferencesIds.NodeSize sizeRepresentation =
NodePreferencesIds.NodeSize.convertSizeRepresentation(nodeSize);
glPanel.setNodeSize(node, sizeRepresentation);
}