Register new file extensions for the php-editor:
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / wizards / html / TableElementContentProvider.java
1 /*
2  * $Id: TableElementContentProvider.java,v 1.2 2005-05-06 00:57:33 stefanbjarni Exp $
3  * Copyright Narushima Hironori. All rights reserved.
4  */
5 package net.sourceforge.phpeclipse.wizards.html;
6
7 import org.eclipse.jface.viewers.IStructuredContentProvider;
8 import org.eclipse.jface.viewers.Viewer;
9
10 /**
11  * 
12  */
13 public class TableElementContentProvider implements IStructuredContentProvider {
14
15         public TableElementContentProvider() {
16                 super();
17         }
18
19         public Object[] getElements(Object inputElement) {
20                 TableElementModel model = (TableElementModel)inputElement;
21                 return model.getRows();
22         }
23         
24         public void dispose() {
25         }
26
27         public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
28
29         }
30
31 }