Statistics
| Revision:

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 @ 43913

History | View | Annotate | Download (775 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.propertypage.PropertiesPage;
6
import org.gvsig.propertypage.PropertiesPageFactory;
7

    
8

    
9
public class GeneralTablePropertiesPageFactory implements PropertiesPageFactory {
10

    
11
    @Override
12
    public boolean isVisible(Object obj) {
13
        // Always if enabled this page
14
        return true;
15
    }
16

    
17
    @Override
18
    public String getName() {
19
        return "General";
20
    }
21
    
22
    @Override
23
    public PropertiesPage create(Object container, Object data) {
24
        return new GeneralTablePropertiesPage((TableDocument)data);
25
    }
26

    
27
    @Override
28
    public String getGroupID() {
29
        return TableDocument.TABLE_PROPERTIES_PAGE_GROUP;
30
    }
31
    
32
}