Property | Type | Description | |
---|---|---|---|
AppState | AppStateSettings | ||
ShapeAccentColor | Color |
Method | Description | |
---|---|---|
GetMenuItems ( ) : List |
||
OpenFile ( bool saveDsd = true ) : void | ||
OpenFileSync ( bool saveDsd = true ) : |
Open the file synchronously.
|
|
Subscribe ( Mode serviceMode ) : void |
Method | Description | |
---|---|---|
CreateService ( string name, System.Guid id, string folder = "", string relativeFolder = "" ) : |
||
OnFileOpenedEvent ( FileOpenedEventArgs e ) : void | ||
ProcessFile ( ) : |
Process the file. Returns an exception iff this did not work, and null otherwise. Perhaps a little ugly.
|
Method | Description | |
---|---|---|
CreateDsd ( ) : void |
Create default PoI types in case we are opening a shape file, for example.
|
|
LoadDsd ( ) : bool | ||
LoadOrCreateDataServiceDescription ( bool create ) : bool |
Initialize the ShapeService by either creating a new DSD, or by loading an existing one.
|
|
RestartService ( ) : void |
Stops and then starts the service again.
|
|
SelectColor ( ) : void | ||
SetShapeColor ( string color ) : void |
protected static CreateService ( string name, System.Guid id, string folder = "", string relativeFolder = "" ) : |
||
name | string | |
id | System.Guid | |
folder | string | |
relativeFolder | string | |
return |
protected OnFileOpenedEvent ( FileOpenedEventArgs e ) : void | ||
e | FileOpenedEventArgs | |
return | void |
public OpenFileSync ( bool saveDsd = true ) : |
||
saveDsd | bool | Whether to save a data description file (dsd) too. |
return |
protected static AppStateSettings AppState | ||
return | AppStateSettings |