public IconController(final ModeController modeController) {
super();
stateIconProviders = new LinkedList<IStateIconProvider>();
iconHandlers = new CombinedPropertyChain<Collection<MindIcon>, NodeModel>(false);
// this.modeController = modeController;
final MapController mapController = modeController.getMapController();
final ReadManager readManager = mapController.getReadManager();
final WriteManager writeManager = mapController.getWriteManager();
final IconBuilder textBuilder = new IconBuilder(this, IconStoreFactory.create());
textBuilder.registerBy(readManager, writeManager);
addIconGetter(IPropertyHandler.STYLE, new IPropertyHandler<Collection<MindIcon>, NodeModel>() {
public Collection<MindIcon> getProperty(final NodeModel node, final Collection<MindIcon> currentValue) {
final MapStyleModel model = MapStyleModel.getExtension(node.getMap());