1 30 package com.genimen.djeneric.tools.specifier.interfaces; 31 32 import com.genimen.djeneric.repository.DjExtent; 33 import com.genimen.djeneric.repository.DjObject; 34 import com.genimen.djeneric.structure.ExtentUsage; 35 import com.genimen.djeneric.tools.specifier.exceptions.VetoException; 36 37 public interface ObjectModelListener 38 { 39 public void setStatusMessage(String msg, boolean isInformative); 40 41 public void beforeObjectCreated(ExtentUsage usage, DjObject obj) throws VetoException; 42 43 public void beforeObjectDeleted(ExtentUsage usage, DjObject obj) throws VetoException; 44 45 public void beforePropertyChanged(ExtentUsage usage, DjObject obj, int propertyIdx, String newValue) 46 throws VetoException; 47 48 public void afterObjectCreated(ExtentUsage usage, DjObject obj); 49 50 public void afterObjectDeleted(ExtentUsage usage, DjObject obj); 51 52 public void afterPropertyChanged(ExtentUsage usage, DjObject obj, int propertyIdx, String oldValue); 53 54 public void notifyViewersDelete(DjExtent extent); 55 } | Popular Tags |