Statistics
| Revision:

gvsig-tools / org.gvsig.tools / library / trunk / org.gvsig.tools / org.gvsig.tools.util / org.gvsig.tools.util.api / src / main / java / org / gvsig / propertypage / PropertiesPageManager.java @ 1746

History | View | Annotate | Download (845 Bytes)

1

    
2
package org.gvsig.propertypage;
3

    
4
import java.awt.event.ActionEvent;
5
import java.util.List;
6
import org.gvsig.tools.util.Invocable;
7

    
8

    
9
public interface PropertiesPageManager {
10

    
11
    /**
12
     * Register a new PropertiesPageFactory in this manager.
13
     * 
14
     * @param factory 
15
     */
16
    public void registerFactory(PropertiesPageFactory factory);
17
    
18
    /**
19
     * Get a list of the property page instances that can be show for the object.
20
     * @param groupID
21
     * @param obj
22
     * @return the list of PropertiesPage
23
     */
24
    public List<PropertiesPage> getPages(String groupID, Object container, Object data);
25
    
26
    public ActionEvent createSetPageEnableEvent(PropertiesPage source, Invocable filter, boolean enabled);
27

    
28
    public ActionEvent createSetPageEnableEvent(PropertiesPage source, Class filterClass, boolean enabled);
29

    
30
}