use of org.freeplane.features.highlight.HighlightController in project freeplane by freeplane.
the class FreeplaneHeadlessStarter method createController.
public Controller createController() {
try {
Controller controller = new Controller(applicationResourceController);
Controller.setCurrentController(controller);
applicationResourceController.init();
LogUtils.createLogger();
FreeplaneGUIStarter.showSysInfo();
final HeadlessMapViewController mapViewController = new HeadlessMapViewController();
controller.setMapViewManager(mapViewController);
controller.setViewController(new HeadlessUIController(controller, mapViewController, ""));
controller.addExtension(HighlightController.class, new HighlightController());
FilterController.install();
FormatController.install(new FormatController());
final ScannerController scannerController = new ScannerController();
ScannerController.install(scannerController);
scannerController.addParsersForStandardFormats();
ModelessAttributeController.install();
TextController.install();
TimeController.install();
LinkController.install();
IconController.installConditionControllers();
HelpController.install();
FilterController.getCurrentFilterController().getConditionFactory().addConditionController(70, new LogicalStyleFilterController());
MapController.install();
NodeHistory.install(controller);
return controller;
} catch (final Exception e) {
LogUtils.severe(e);
throw new RuntimeException(e);
}
}
Aggregations