diff Postarc/Postarc/Feature/WorkspaceFactory.cs @ 0:1aca3d413885 tip

Initial import of Postarc
author Christian Lins <christian.lins@intevation.de>
date Fri, 05 Oct 2012 23:55:06 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Postarc/Postarc/Feature/WorkspaceFactory.cs	Fri Oct 05 23:55:06 2012 +0200
@@ -0,0 +1,101 @@
+/*
+ * Postarc
+ *
+ * Author:
+ * Christian Lins <christian.lins@intevation.de>
+ *
+ * Copyright:
+ * Copyright (C) 2012 Intevation GmbH <http://www.intevation.de/>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation, either version 3 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 Lesser General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Runtime.InteropServices;
+using ESRI.ArcGIS.Geodatabase;
+using ESRI.ArcGIS.esriSystem;
+
+namespace Postarc.Feature
+{
+    [Guid("28FB48CA-697A-4E30-80B1-E4424E9A4C4D")]
+    public class WorkspaceFactory : IWorkspaceFactory
+    {
+        private string clsid = "{28FB48CA-697A-4E30-80B1-E4424E9A4C4D}";
+
+        public bool ContainsWorkspace(string parentDirectory, IFileNames fileNames)
+        {
+            throw new NotImplementedException();
+        }
+
+        public bool Copy(IWorkspaceName workspaceName, string destinationFolder, out IWorkspaceName workspaceNameCopy)
+        {
+            throw new NotImplementedException();
+        }
+
+        public IWorkspaceName Create(string parentDirectory, string Name, IPropertySet connectionProperties, int hWnd)
+        {
+            throw new NotImplementedException();
+        }
+
+        public UID GetClassID()
+        {
+            UID uid = new UID();
+            uid.Value = clsid;
+            return uid;
+        }
+
+        public IWorkspaceName GetWorkspaceName(string parentDirectory, ESRI.ArcGIS.esriSystem.IFileNames fileNames)
+        {
+            throw new NotImplementedException();
+        }
+
+        public bool IsWorkspace(string fileName)
+        {
+            throw new NotImplementedException();
+        }
+
+        public bool Move(IWorkspaceName WorkspaceName, string destinationFolder)
+        {
+            throw new NotImplementedException();
+        }
+
+        public IWorkspace Open(ESRI.ArcGIS.esriSystem.IPropertySet ConnectionProperties, int hWnd)
+        {
+            throw new NotImplementedException();
+        }
+
+        public IWorkspace OpenFromFile(string fileName, int hWnd)
+        {
+            throw new NotImplementedException();
+        }
+
+        public ESRI.ArcGIS.esriSystem.IPropertySet ReadConnectionPropertiesFromFile(string fileName)
+        {
+            throw new NotImplementedException();
+        }
+
+        public esriWorkspaceType WorkspaceType
+        {
+            get { throw new NotImplementedException(); }
+        }
+
+        public string get_WorkspaceDescription(bool plural)
+        {
+            throw new NotImplementedException();
+        }
+    }
+}
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)