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