mButton.addActionListener(this);
script = "";
}
public void actionPerformed(final ActionEvent arg0) {
final IScriptEditorStarter plugin = (IScriptEditorStarter) Controller
.getCurrentModeController().getExtension(
IScriptEditorStarter.class);
if (plugin != null) {
final IScriptEditorStarter starter = plugin;
final String resultScript = starter.startEditor(script);
if (resultScript != null) {
script = resultScript;
firePropertyChangeEvent();
}
}