use of org.freeplane.main.application.FreeplaneGUIStarter in project freeplane by freeplane.
the class ConvertibleTest method initStatics.
@BeforeClass
public static void initStatics() {
// we have to start Freeplane to create a Controller for script execution could we avoid that?
System.setProperty("org.freeplane.nosplash", "true");
final FreeplaneGUIStarter freeplaneGUIStarter = new FreeplaneGUIStarter();
final Controller controller = freeplaneGUIStarter.createController();
freeplaneGUIStarter.createModeControllers(controller);
ResourceController.getResourceController().setProperty(ScriptingPermissions.RESOURCES_EXECUTE_SCRIPTS_WITHOUT_ASKING, true);
}
Aggregations