/**
   * DOCUMENT ME!
   *
   * @param nv DOCUMENT ME!
   * @param o DOCUMENT ME!
   */
  public void applyToNodeView(NodeView nv, Object o, VisualPropertyDependency dep) {
    if ((o == null) || (nv == null)) return;

    if (dep != null && dep.check(VisualPropertyDependency.Definition.NODE_SIZE_LOCKED)) return;

    double width = ((Number) o).doubleValue();
    double difference = width - nv.getWidth();

    if (Math.abs(difference) > 0.1) nv.setWidth(width);
  }
  public boolean constrained(VisualPropertyDependency dep) {
    if (dep == null) return false;

    return dep.check(VisualPropertyDependency.Definition.NODE_SIZE_LOCKED);
  }