Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.plugin / org.gvsig.app / org.gvsig.app.mainplugin / src / main / java / org / gvsig / app / project / documents / view / gui / GeneralViewPropertiesPageFactory.java @ 43557

History | View | Annotate | Download (709 Bytes)

1

    
2
package org.gvsig.app.project.documents.view.gui;
3

    
4
import org.gvsig.app.project.documents.view.ViewDocument;
5
import org.gvsig.propertypage.PropertiesPage;
6
import org.gvsig.propertypage.PropertiesPageFactory;
7

    
8

    
9
public class GeneralViewPropertiesPageFactory implements PropertiesPageFactory {
10

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

    
16
    @Override
17
    public String getName() {
18
        return "General";
19
    }
20
        
21
    public PropertiesPage create(Object obj) {
22
        return new GeneralViewPropertiesPage((ViewDocument)obj);
23
    }
24

    
25
    public String getGroupID() {
26
        return ViewDocument.VIEW_PROPERTIES_PAGE_GROUP;
27
    }
28
    
29
}