示例#1
0
  /**
   * Insert the method's description here. Creation date: (28.1.2001 13:12:23)
   *
   * @param field com.cosylab.vdct.vdb.VDBFieldData
   */
  public void fieldValueChanged(VDBFieldData field) {
    Record visualRecord = (Record) Group.getRoot().findObject(getName(), true);
    if (visualRecord == null) {
      // com.cosylab.vdct.Console.getInstance().println("o) Internal error: no visual representation
      // of record "+getName()+" found.");
      return;
    }

    com.cosylab.vdct.inspector.InspectorManager.getInstance().updateProperty(visualRecord, field);
    visualRecord.fieldChanged(field);
  }
示例#2
0
  /**
   * Insert the method's description here. Creation date: (9.12.2000 18:13:17)
   *
   * @param newComment java.lang.String
   */
  public void setComment(java.lang.String newComment) {
    comment = newComment;

    Inspectable visualObj = (Inspectable) Group.getRoot().findObject(getName(), true);
    if (visualObj == null) {
      // com.cosylab.vdct.Console.getInstance().println("o) Internal error: no visual representation
      // of record "+getName()+" found.");
      return;
    }

    com.cosylab.vdct.inspector.InspectorManager.getInstance().updateCommentProperty(visualObj);
  }