improved codetemplate wizards; new html tag wizards
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / wizards / html / TableElementContentProvider.java
diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/wizards/html/TableElementContentProvider.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/wizards/html/TableElementContentProvider.java
new file mode 100644 (file)
index 0000000..23cd731
--- /dev/null
@@ -0,0 +1,30 @@
+/*
+ * $Id: TableElementContentProvider.java,v 1.1 2004-10-05 20:51:57 jsurfer Exp $
+ * Copyright Narushima Hironori. All rights reserved.
+ */
+package net.sourceforge.phpeclipse.wizards.html;
+
+import org.eclipse.jface.viewers.*;
+
+/**
+ * 
+ */
+public class TableElementContentProvider implements IStructuredContentProvider {
+
+       public TableElementContentProvider() {
+               super();
+       }
+
+       public Object[] getElements(Object inputElement) {
+               TableElementModel model = (TableElementModel)inputElement;
+               return model.getRows();
+       }
+       
+       public void dispose() {
+       }
+
+       public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
+
+       }
+
+}