X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=jcr%2Forg.argeo.cms.ui%2Fsrc%2Forg%2Fargeo%2Fcms%2Fui%2FCmsEditionEvent.java;fp=jcr%2Forg.argeo.cms.ui%2Fsrc%2Forg%2Fargeo%2Fcms%2Fui%2FCmsEditionEvent.java;h=872142bcab77a9ca214ba654507bc0a9ce3bb838;hb=8282011b0e20e80704b209ad55fa9fb132e16280;hp=0000000000000000000000000000000000000000;hpb=633a8acd189cc22f06944d278879601189be1bc8;p=lgpl%2Fargeo-commons.git diff --git a/jcr/org.argeo.cms.ui/src/org/argeo/cms/ui/CmsEditionEvent.java b/jcr/org.argeo.cms.ui/src/org/argeo/cms/ui/CmsEditionEvent.java new file mode 100644 index 000000000..872142bca --- /dev/null +++ b/jcr/org.argeo.cms.ui/src/org/argeo/cms/ui/CmsEditionEvent.java @@ -0,0 +1,23 @@ +package org.argeo.cms.ui; + +import java.util.EventObject; + +/** Notify of the edition lifecycle */ +public class CmsEditionEvent extends EventObject { + private static final long serialVersionUID = 950914736016693110L; + + public final static Integer START_EDITING = 0; + public final static Integer STOP_EDITING = 1; + + private final Integer type; + + public CmsEditionEvent(Object source, Integer type) { + super(source); + this.type = type; + } + + public Integer getType() { + return type; + } + +}