Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.library / org.gvsig.fmap.control / src / main / java / org / gvsig / propertypage / PropertiesPageFactory.java @ 43557

History | View | Annotate | Download (922 Bytes)

1

    
2
package org.gvsig.propertypage;
3

    
4
public interface PropertiesPageFactory {
5

    
6
    public String getName();
7
    
8
    /**
9
     * Return the group identifier.
10
     * The group identifier identify the object that store the properties that
11
     * this property page handle. Bty excample: 
12
     * - Project
13
     * - View
14
     * - Layer
15
     * 
16
     * @return the group identifier
17
     */
18
    public String getGroupID();
19
    
20
    /**
21
     * Return true if this propeties page is enabled for the object.
22
     * 
23
     * @param obj object that store the properties of this properties page.
24
     * @return true if the page is enabled
25
     */
26
    public boolean isVisible(Object obj);
27
    
28
    /**
29
     * Create a instance of the propeties page for the object.
30
     * 
31
     * @param obj object that store the properties of this properties page.
32
     * @return the properties page
33
     */
34
    public PropertiesPage create(Object obj);
35
}