]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics/src/org/simantics/ModelBrowserPreferences.java
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics / src / org / simantics / ModelBrowserPreferences.java
diff --git a/bundles/org.simantics/src/org/simantics/ModelBrowserPreferences.java b/bundles/org.simantics/src/org/simantics/ModelBrowserPreferences.java
new file mode 100644 (file)
index 0000000..84512ff
--- /dev/null
@@ -0,0 +1,33 @@
+/*******************************************************************************\r
+ * Copyright (c) 2012 Association for Decentralized Information Management\r
+ * in Industry THTH ry.\r
+ * All rights reserved. This program and the accompanying materials\r
+ * are made available under the terms of the Eclipse Public License v1.0\r
+ * which accompanies this distribution, and is available at\r
+ * http://www.eclipse.org/legal/epl-v10.html\r
+ *\r
+ * Contributors:\r
+ *     Semantum Oy - initial API and implementation\r
+ *******************************************************************************/\r
+package org.simantics;\r
+\r
+import org.simantics.internal.Activator;\r
+\r
+/**\r
+ * @author Tuukka Lehtonen <tuukka.lehtonen@semantum.fi>\r
+ */\r
+public class ModelBrowserPreferences {\r
+\r
+    public static final String  P_NODE                       = Activator.PLUGIN_ID;\r
+\r
+    /**\r
+     * Preference for defining the enabled state of virtual graph autosave.\r
+     */\r
+    public static final String  P_ONTOLOGY_VISIBILITY        = "ontology.visibility"; //$NON-NLS-1$\r
+\r
+    public static final String     ONTOLOGY_VISIBILITY_SHARED = "shared";\r
+    public static final String     ONTOLOGY_VISIBILITY_ALL = "all";\r
+\r
+    public static final String     DEFAULT_ONTOLOGY_VISIBILITY = ONTOLOGY_VISIBILITY_SHARED;\r
+    \r
+}\r