Package com.projity.undo

Examples of com.projity.undo.FieldEdit


            field.setText(objectRef,""+newValue,context);
          else   
            field.setValue(objectRef,source,newValue,context);
          UndoableEditSupport undoableEditSupport=objectRef.getDataFactory().getUndoController().getEditSupport();
          if (undoableEditSupport!=null){
            undoableEditSupport.postEdit(new FieldEdit(field,objectRef,value,oldValue,this,context));
          }
        }
       
      }
    } catch (FieldParseException e) {
View Full Code Here


    Object oldValue=completedField.getValue(schedule);
    if (oldValue==null) oldValue=new Long(schedule.getActualStart());
    Object value=new Long(completed);
    completedField.setValue(schedule,eventSource,value);
    if (undoableEditSupport!=null&&!(eventSource instanceof UndoableEdit)){
      undoableEditSupport.postEdit(new FieldEdit(completedField,schedule,value,oldValue,eventSource,null));
    }
  }
View Full Code Here

TOP

Related Classes of com.projity.undo.FieldEdit

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.