package de.csgis.geobricks.ui;

import de.csgis.geobricks.NonRequireDependency;
import de.csgis.geobricks.PluginDescriptor;
import de.csgis.geobricks.servlet.FilterDescriptor;
import de.csgis.geobricks.servlet.ServletDescriptor;

public class UIPlugin implements PluginDescriptor {
	public static final String ID = "ui";
	public static final String NAME = "UI";

	@Override
	public NonRequireDependency[] getNonRequireDependencies() {
		return new NonRequireDependency[] { new NonRequireDependency(
				"typeahead", "jslib/typeahead/0.10.2/typeahead.jquery.min") };
	}

	@Override
	public String getDefaultConfiguration() {
		return "{ui : []}";
	}

	@Override
	public String[] getStyleSheets() {
		return new String[] { "modules/accordion.css", "modules/title.css",
				"modules/toolbar.css", "modules/buttons.css",
				"modules/dialog.css", "modules/login.css",
				"modules/autocomplete.css" };
	}

	@Override
	public String getName() {
		return NAME;
	}

	@Override
	public String getId() {
		return ID;
	}

	@Override
	public String[] getModules() {
		return new String[] { "ui" };
	}

	@Override
	public FilterDescriptor[] getFilters() {
		return null;
	}

	@Override
	public ServletDescriptor[] getServlets() {
		return null;
	}
}

@@ -840,33 +840,8 @@
 s%22, 
-%22modules/login.css%22,%0A%09%09%09%09
 %22mod

Remove non existing css from UIPlugin descriptor