01: /*
02:
03: The contents of this file are subject to the Mozilla Public License Version 1.1
04: (the "License") you may not use this file except in compliance with the License.
05:
06: You may obtain a copy of the License at http://www.mozilla.org/MPL/
07:
08: Software distributed under the License is distributed on an "AS IS" basis,
09: WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
10: for the specific language governing rights and limitations under the License.
11:
12: The Original Code is "BshInterpreter plugin for The Columba Project"
13:
14: The Initial Developer of the Original Code is Celso Pinto
15: Portions created by Celso Pinto are Copyright (C) 2005.
16: Portions created by Frederik Dietz and Timo Stich are Copyright (C) 2003.
17:
18: All Rights Reserved.
19:
20: */
21: package org.columba.core.gui.scripting;
22:
23: import java.util.List;
24:
25: import org.columba.core.scripting.IScriptsObserver;
26: import org.columba.core.scripting.model.ColumbaScript;
27:
28: /**
29: @author Celso Pinto (cpinto@yimports.com)
30: */
31: public interface ScriptManagerDocument {
32:
33: public void removeScript(ColumbaScript[] scripts);
34:
35: public void refreshScriptList();
36:
37: public ColumbaScript getScript(String path);
38:
39: public List getScripts();
40:
41: public void addObserver(IScriptsObserver obs);
42:
43: public void removeObserver(IScriptsObserver obs);
44:
45: }
|