Revision 43557 trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app.document.table.app/org.gvsig.app.document.table.app.mainplugin/src/main/java/org/gvsig/app/project/documents/table/gui/GeneralTablePropertiesPageFactory.java
GeneralTablePropertiesPageFactory.java | ||
---|---|---|
2 | 2 |
package org.gvsig.app.project.documents.table.gui; |
3 | 3 |
|
4 | 4 |
import org.gvsig.app.project.documents.table.TableDocument; |
5 |
import org.gvsig.app.project.documents.view.ViewDocument; |
|
6 | 5 |
import org.gvsig.propertypage.PropertiesPage; |
7 | 6 |
import org.gvsig.propertypage.PropertiesPageFactory; |
8 | 7 |
|
9 | 8 |
|
10 | 9 |
public class GeneralTablePropertiesPageFactory implements PropertiesPageFactory { |
11 | 10 |
|
11 |
@Override |
|
12 | 12 |
public boolean isVisible(Object obj) { |
13 | 13 |
// Always if enabled this page |
14 | 14 |
return true; |
15 | 15 |
} |
16 | 16 |
|
17 |
@Override |
|
18 |
public String getName() { |
|
19 |
return "General"; |
|
20 |
} |
|
21 |
|
|
22 |
@Override |
|
17 | 23 |
public PropertiesPage create(Object obj) { |
18 | 24 |
return new GeneralTablePropertiesPage((TableDocument)obj); |
19 | 25 |
} |
20 | 26 |
|
27 |
@Override |
|
21 | 28 |
public String getGroupID() { |
22 | 29 |
return TableDocument.TABLE_PROPERTIES_PAGE_GROUP; |
23 | 30 |
} |
Also available in: Unified diff