aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/pshelf/org.eclipse.nebula.widgets.pshelf.css/src/org/eclipse/nebula/widgets/pshelf/css/internal/PShelfElementProvider.java')
-rw-r--r--widgets/pshelf/org.eclipse.nebula.widgets.pshelf.css/src/org/eclipse/nebula/widgets/pshelf/css/internal/PShelfElementProvider.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/widgets/pshelf/org.eclipse.nebula.widgets.pshelf.css/src/org/eclipse/nebula/widgets/pshelf/css/internal/PShelfElementProvider.java b/widgets/pshelf/org.eclipse.nebula.widgets.pshelf.css/src/org/eclipse/nebula/widgets/pshelf/css/internal/PShelfElementProvider.java
new file mode 100644
index 0000000..d0fe6ce
--- /dev/null
+++ b/widgets/pshelf/org.eclipse.nebula.widgets.pshelf.css/src/org/eclipse/nebula/widgets/pshelf/css/internal/PShelfElementProvider.java
@@ -0,0 +1,16 @@
+package org.eclipse.nebula.widgets.pshelf.css.internal;
+
+import org.eclipse.e4.ui.css.core.dom.IElementProvider;
+import org.eclipse.e4.ui.css.core.engine.CSSEngine;
+import org.eclipse.nebula.widgets.pshelf.PShelf;
+import org.w3c.dom.Element;
+
+@SuppressWarnings("restriction")
+public class PShelfElementProvider implements IElementProvider {
+
+ @Override
+ public Element getElement(Object element, CSSEngine engine) {
+ return new PShelfElement((PShelf) element, engine);
+ }
+
+}