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 / PropertiesPageFactory.java @ 1746
History | View | Annotate | Download (1014 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 container, Container of the new page, usually the dialog.
|
32 |
* @param data object that store the properties of this properties page.
|
33 |
* @return the properties page
|
34 |
*/
|
35 |
public PropertiesPage create(Object container, Object data); |
36 |
} |