svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.library / org.gvsig.fmap.control / src / main / java / org / gvsig / propertypage / PropertiesPageFactory.java @ 42775
History | View | Annotate | Download (888 Bytes)
1 |
|
---|---|
2 |
package org.gvsig.propertypage; |
3 |
|
4 |
public interface PropertiesPageFactory { |
5 |
|
6 |
/**
|
7 |
* Return the group identifier.
|
8 |
* The group identifier identify the object that store the properties that
|
9 |
* this property page handle. Bty excample:
|
10 |
* - Project
|
11 |
* - View
|
12 |
* - Layer
|
13 |
*
|
14 |
* @return the group identifier
|
15 |
*/
|
16 |
public String getGroupID(); |
17 |
|
18 |
/**
|
19 |
* Return true if this propeties page is enabled for the object.
|
20 |
*
|
21 |
* @param obj object that store the properties of this properties page.
|
22 |
* @return true if the page is enabled
|
23 |
*/
|
24 |
public boolean isVisible(Object obj); |
25 |
|
26 |
/**
|
27 |
* Create a instance of the propeties page for the object.
|
28 |
*
|
29 |
* @param obj object that store the properties of this properties page.
|
30 |
* @return the properties page
|
31 |
*/
|
32 |
public PropertiesPage create(Object obj); |
33 |
} |