1 package org.argeo.cms.ui; 2 3 import java.util.EventObject; 4 5 /** Notify of the edition lifecycle */ 6 public class CmsEditionEvent extends EventObject { 7 private static final long serialVersionUID = 950914736016693110L; 8 9 public final static Integer START_EDITING = 0; 10 public final static Integer STOP_EDITING = 1; 11 12 private final Integer type; 13 14 public CmsEditionEvent(Object source, Integer type) { 15 super(source); 16 this.type = type; 17 } 18 19 public Integer getType() { 20 return type; 21 } 22 23 }