svn-gvsig-desktop / 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 @ 41707
History | View | Annotate | Download (690 Bytes)
1 |
|
---|---|
2 |
package org.gvsig.app.project.documents.table.gui; |
3 |
|
4 |
import org.gvsig.app.project.documents.table.TableDocument; |
5 |
import org.gvsig.app.project.documents.view.ViewDocument; |
6 |
import org.gvsig.propertypage.PropertiesPage; |
7 |
import org.gvsig.propertypage.PropertiesPageFactory; |
8 |
|
9 |
|
10 |
public class GeneralTablePropertiesPageFactory implements PropertiesPageFactory { |
11 |
|
12 |
public boolean isVisible(Object obj) { |
13 |
// Always if enabled this page
|
14 |
return true; |
15 |
} |
16 |
|
17 |
public PropertiesPage create(Object obj) { |
18 |
return new GeneralTablePropertiesPage((TableDocument)obj); |
19 |
} |
20 |
|
21 |
public String getGroupID() { |
22 |
return TableDocument.TABLE_PROPERTIES_PAGE_GROUP;
|
23 |
} |
24 |
|
25 |
} |