super();
textTransformers = new LinkedList<IContentTransformer>();
this.modeController = modeController;
final MapController mapController = modeController.getMapController();
final ReadManager readManager = mapController.getReadManager();
final WriteManager writeManager = mapController.getWriteManager();
final NodeTextBuilder textBuilder = new NodeTextBuilder();
textBuilder.registerBy(readManager, writeManager);
writeManager.addExtensionElementWriter(DetailTextModel.class, textBuilder);
writeManager.addExtensionAttributeWriter(ShortenedTextModel.class, textBuilder);
modeController.addAction(new ToggleDetailsAction());
modeController.addAction(new SetShortenerStateAction());
// modeController.addAction(new ToggleNodeNumberingAction());
addTextTransformer(new FormatContentTransformer(this, 50));