Add a core bundle to keep separation between Workbench and web clean
[gpl/argeo-suite.git] / org.argeo.suite.workbench.rap / src / org / argeo / suite / workbench / fs / FsImages.java
diff --git a/org.argeo.suite.workbench.rap/src/org/argeo/suite/workbench/fs/FsImages.java b/org.argeo.suite.workbench.rap/src/org/argeo/suite/workbench/fs/FsImages.java
new file mode 100644 (file)
index 0000000..ec6304f
--- /dev/null
@@ -0,0 +1,12 @@
+package org.argeo.suite.workbench.fs;
+
+import org.argeo.suite.workbench.AsUiPlugin;
+import org.eclipse.swt.graphics.Image;
+
+/** Shared icons for the file system RAP workbench */
+public class FsImages {
+       final private static String BASE_PATH = "/theme/argeo-classic/icons/fs/";
+       // Various types
+       public final static Image ICON_FOLDER = AsUiPlugin.getImageDescriptor(BASE_PATH + "folder.gif").createImage();
+       public final static Image ICON_FILE = AsUiPlugin.getImageDescriptor(BASE_PATH + "file.gif").createImage();
+}