1 |
mojays |
2 |
package appl.ext; |
2 |
|
|
|
3 |
alfonx |
78 |
import static edu.bonn.xulu.appl.XuluConstants.XULUGUI_RES; |
4 |
mojays |
2 |
import appl.util.XuluFrameAdapter; |
5 |
|
|
import edu.bonn.xulu.gui.XuluInternalFrame; |
6 |
|
|
import edu.bonn.xulu.plugin.appl.AbstractMenuPlugin; |
7 |
|
|
/** |
8 |
|
|
* The configuration plug-in. |
9 |
|
|
* |
10 |
|
|
* @see XuluConfig |
11 |
|
|
* @see ConfigurationEditorGUI |
12 |
|
|
* @see ConfigurationEditorEngine |
13 |
|
|
* @author Dominik Appl |
14 |
|
|
*/ |
15 |
|
|
public class ConfigurationEditorPlugin extends AbstractMenuPlugin { |
16 |
|
|
|
17 |
|
|
/* |
18 |
|
|
* (non-Javadoc) |
19 |
|
|
* |
20 |
|
|
* @see edu.bonn.xulu.plugin.appl.AbstractMenuPlugin#createPluginApplication() |
21 |
|
|
*/ |
22 |
|
|
|
23 |
|
|
@Override |
24 |
|
|
protected XuluInternalFrame createPluginApplication() throws Exception { |
25 |
|
|
ConfigurationEditorGUI GUI = new ConfigurationEditorEngine().getGUI(); |
26 |
|
|
return new XuluFrameAdapter(XULUGUI_RES |
27 |
|
|
.getString("Menu_Advanced_Preferences"), GUI); |
28 |
|
|
} |
29 |
|
|
|
30 |
|
|
/** |
31 |
|
|
* |
32 |
|
|
*/ |
33 |
|
|
public ConfigurationEditorPlugin() { |
34 |
|
|
super(4, XULUGUI_RES.getString("Menu_Advanced_Preferences")); |
35 |
|
|
|
36 |
|
|
} |
37 |
|
|
|
38 |
|
|
} |