/*
 *  Freeplane - mind map editor
 *  Copyright (C) 2011 dimitry
 *
 *  This file author is dimitry
 *
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package org.freeplane.features.styles;

import org.freeplane.core.util.TextUtils;
import org.freeplane.features.attribute.AttributeRegistry;
import org.freeplane.features.icon.IconRegistry;
import org.freeplane.features.map.MapModel;
import org.freeplane.features.map.NodeChangeAnnouncer;

/**
 * @author Dimitry Polivaev
 * Feb 6, 2011
 */
class StyleMapModel extends MapModel {
	private static final String STYLES = "styles";

	StyleMapModel(IconRegistry iconRegistry, AttributeRegistry attributeRegistry, NodeChangeAnnouncer nodeChangeAnnouncer) {
		super(iconRegistry, nodeChangeAnnouncer);
		addExtension(attributeRegistry);
	}

	@Override
	public String getTitle() {
		return TextUtils.getText(STYLES);
	}
}
