1 30 package com.genimen.djeneric.tools.scriptengine.core; 31 32 import com.genimen.djeneric.repository.DjExtent; 33 import com.genimen.djeneric.repository.DjList; 34 import com.genimen.djeneric.repository.DjOql; 35 import com.genimen.djeneric.repository.DjPersistenceManager; 36 import com.genimen.djeneric.repository.DjSession; 37 import com.genimen.djeneric.repository.exceptions.DjenericException; 38 import com.genimen.djeneric.structure.EditorDefinition; 39 import com.genimen.djeneric.tools.scriptengine.core.util.DjScriptExecutionContext; 40 import com.genimen.djeneric.tools.scriptengine.core.util.DjScriptExecutionException; 41 import com.genimen.djeneric.tools.scriptengine.core.util.Variable; 42 import com.genimen.djeneric.tools.specifier.interfaces.DjenericResourceManager; 43 44 public interface ScriptRunnerContainer extends DjenericResourceManager 45 { 46 public void choose(String className, DjExtent extent, Variable destVariable, DjSession session, DjOql oql, 47 EditorEventDefinition[] events, String eventContext) throws DjScriptExecutionException; 48 49 public void edit(String editorName, DjSession session, DjList lst, EditorEventDefinition[] events, String eventContext) 50 throws DjScriptExecutionException; 51 52 public boolean editorExists(String editorName); 53 54 public EditorDefinition getEditorDefinition(String editorName); 55 56 public void dispatch(String className, EditorEventDefinition[] eventDefs, String title, String eventContext) 57 throws DjScriptExecutionException; 58 59 public void showPanel(String className, DjScriptExecutionContext scope) throws DjScriptExecutionException; 60 61 public DjPersistenceManager getPersistenceManager() throws DjenericException; 62 63 public void terminate(); 64 65 } | Popular Tags |