svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.plugin / org.gvsig.app.document.table.app / org.gvsig.app.document.table.app.mainplugin / src / main / java / org / gvsig / app / project / documents / table / gui / GeneralTablePropertiesPageFactory.java @ 44056
History | View | Annotate | Download (775 Bytes)
1 | 41350 | jjdelcerro | |
---|---|---|---|
2 | 41707 | jjdelcerro | package org.gvsig.app.project.documents.table.gui; |
3 | 41350 | jjdelcerro | |
4 | 41707 | jjdelcerro | import org.gvsig.app.project.documents.table.TableDocument; |
5 | 41350 | jjdelcerro | import org.gvsig.propertypage.PropertiesPage; |
6 | import org.gvsig.propertypage.PropertiesPageFactory; |
||
7 | |||
8 | |||
9 | 41707 | jjdelcerro | public class GeneralTablePropertiesPageFactory implements PropertiesPageFactory { |
10 | 41350 | jjdelcerro | |
11 | 43557 | jjdelcerro | @Override
|
12 | 41350 | jjdelcerro | public boolean isVisible(Object obj) { |
13 | // Always if enabled this page
|
||
14 | return true; |
||
15 | } |
||
16 | |||
17 | 43557 | jjdelcerro | @Override
|
18 | public String getName() { |
||
19 | return "General"; |
||
20 | } |
||
21 | |||
22 | @Override
|
||
23 | 43913 | jjdelcerro | public PropertiesPage create(Object container, Object data) { |
24 | return new GeneralTablePropertiesPage((TableDocument)data); |
||
25 | 41350 | jjdelcerro | } |
26 | |||
27 | 43557 | jjdelcerro | @Override
|
28 | 41350 | jjdelcerro | public String getGroupID() { |
29 | 41707 | jjdelcerro | return TableDocument.TABLE_PROPERTIES_PAGE_GROUP;
|
30 | 41350 | jjdelcerro | } |
31 | |||
32 | } |