|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using ESRI.ArcGIS.Display;
|
|
|
|
|
|
|
|
|
|
namespace KGIS.Plugin.LayerProperty.Interface
|
|
|
|
|
{
|
|
|
|
|
public interface IDoStyleGallery
|
|
|
|
|
{
|
|
|
|
|
int ClassCount
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
}
|
|
|
|
|
int DoClassCount
|
|
|
|
|
{
|
|
|
|
|
get;
|
|
|
|
|
}
|
|
|
|
|
void AddItem(IStyleGalleryItem item);
|
|
|
|
|
List<string> get_Categories(string className);
|
|
|
|
|
IStyleGalleryClass get_Class(int index);
|
|
|
|
|
void ImportStyle(string fileName);
|
|
|
|
|
List<IDoStyleGalleryItem> get_Items(string ClassName, string styleSet, string Category);
|
|
|
|
|
void LoadStyle(string fileName, string ClassName);
|
|
|
|
|
void RemoveItem(IStyleGalleryItem Item);
|
|
|
|
|
void SaveStyle(string fileName, string styleSet, string ClassName);
|
|
|
|
|
void UpdateItem(IStyleGalleryItem Item);
|
|
|
|
|
bool AddDoItem(IDoStyleGalleryItem item);
|
|
|
|
|
bool AddDoItems(List<IDoStyleGalleryItem> items);
|
|
|
|
|
List<string> get_DoCategories(string className);
|
|
|
|
|
IDoStyleGalleryClass get_DoClass(int index);
|
|
|
|
|
IDoStyleGalleryClass get_DoClass(string className);
|
|
|
|
|
List<IDoStyleGalleryClass> get_Classes();
|
|
|
|
|
void ImportStyle2DB(string fileName);
|
|
|
|
|
void ImportStyle2DB(string fileName, string className);
|
|
|
|
|
int get_ItemsCount(string className, IDoStyleGalleryPath path, string category);
|
|
|
|
|
List<IDoStyleGalleryItem> get_Items(string className, IDoStyleGalleryPath path, string category);
|
|
|
|
|
void LoadDoStyle(IDoStyleGalleryPath path, string ClassName);
|
|
|
|
|
bool RemoveItem(IDoStyleGalleryItem Item);
|
|
|
|
|
bool UpdateItem(IDoStyleGalleryItem Item);
|
|
|
|
|
bool RemoveDoItems(IDoStyleGalleryPath path, string className);
|
|
|
|
|
bool Update();
|
|
|
|
|
void Clear();
|
|
|
|
|
}
|
|
|
|
|
}
|