Package com.projity.document

Examples of com.projity.document.ObjectEvent


    updateScheduling(this,newlyCreated,ObjectEvent.CREATE);
    //objectEventManager.fireCreateEvent(eventSource,newlyCreated,hierarchyInfo);

  }
  public void updateScheduling(Object source,Object newlyCreated,int type){
    ObjectEvent evt = ObjectEvent.getInstance(source,newlyCreated,type,null);
    getSchedulingAlgorithm().objectChanged(evt);
    evt.recycle();
  }
View Full Code Here


    ObjectEvent evt = ObjectEvent.getInstance(source,newlyCreated,type,null);
    getSchedulingAlgorithm().objectChanged(evt);
    evt.recycle();
  }
  public void updateScheduling(Object source,Object newlyCreated,int type,Field field){
    ObjectEvent evt = ObjectEvent.getInstance(source,newlyCreated,type,null);
    evt.setField(field);
    getSchedulingAlgorithm().objectChanged(evt);
    evt.recycle();
  }
View Full Code Here

    updateScheduling(this,newlyCreated,ObjectEvent.CREATE);
    //objectEventManager.fireCreateEvent(eventSource,newlyCreated,hierarchyInfo);

  }
  public void updateScheduling(Object source,Object newlyCreated,int type){
    ObjectEvent evt = ObjectEvent.getInstance(source,newlyCreated,type,null);
    getSchedulingAlgorithm().objectChanged(evt);
    evt.recycle();
  }
View Full Code Here

    ObjectEvent evt = ObjectEvent.getInstance(source,newlyCreated,type,null);
    getSchedulingAlgorithm().objectChanged(evt);
    evt.recycle();
  }
  public void updateScheduling(Object source,Object newlyCreated,int type,Field field){
    ObjectEvent evt = ObjectEvent.getInstance(source,newlyCreated,type,null);
    evt.setField(field);
    getSchedulingAlgorithm().objectChanged(evt);
    evt.recycle();
  }
View Full Code Here

* @param algo
* @param object
*/  public void fireOutputEvents(Object algo, Object object) {
    Iterator i = outputFields.iterator();
 
    ObjectEvent objectEvent = ObjectEvent.getInstance(algo);
    objectEvent.setObject(object);
    Field field;
    while (i.hasNext()) {
      if (isInterrupted()) // if interrupted, don't keep going
        break;
      field = (Field)i.next();
      objectEvent.setField(field);
      document.getObjectEventManager().fire(objectEvent);
    }
    objectEvent.recycle();
  }
View Full Code Here

TOP

Related Classes of com.projity.document.ObjectEvent

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.