1 30 package com.genimen.djeneric.tools.specifier.interfaces; 31 32 import com.genimen.djeneric.repository.DjList; 33 import com.genimen.djeneric.repository.DjSession; 34 import com.genimen.djeneric.repository.exceptions.DjenericException; 35 import com.genimen.djeneric.structure.EditorDefinition; 36 import com.genimen.djeneric.structure.ExtentUsage; 37 import com.genimen.djeneric.tools.specifier.tree.DjenericTreeNode; 38 39 public interface ObjectEditor extends SpecifierPanel 40 { 41 public void construct(EditorDefinition editorDefinition, DjList objects) throws Exception ; 42 43 public void setSession(DjSession enclosingSession); 44 45 public void setEventContext(String contextPrefix); 46 47 public void registerEvent(String eventName, String eventTitle, String eventOption); 48 49 public void addEditorEventListener(EditorEventListener lsnr); 50 51 public void removeEditorEventListener(EditorEventListener lsnr); 52 53 public void setSelectedIndexOfMaster(int index) throws DjenericException; 54 55 public void initializeUsage(ExtentUsage usageDef) throws DjenericException; 56 57 public void setAssociatedTreeNode(DjenericTreeNode node) throws DjenericException; 58 59 public DjList getMasterObjects(); 60 61 public String getTitle(); 62 63 public void apply() throws DjenericException; 64 65 } | Popular Tags |