]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - CmsEditable.java
bc952c3021b6755908902058379fd0e71706ee1f
1 package org
.argeo
.cms
.ui
;
3 /** Abstraction of a simple edition life cycle. */
4 public interface CmsEditable
{
6 /** Whether the calling thread can edit, the value is immutable */
7 public Boolean
canEdit();
9 public Boolean
isEditing();
11 public void startEditing();
13 public void stopEditing();
15 public static CmsEditable NON_EDITABLE
= new CmsEditable() {
18 public void stopEditing() {
22 public void startEditing() {
26 public Boolean
isEditing() {
31 public Boolean
canEdit() {