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 / view / toc / actions / OldTocContextMenuAction.java @ 40558
History | View | Annotate | Download (3.37 KB)
1 |
/**
|
---|---|
2 |
* gvSIG. Desktop Geographic Information System.
|
3 |
*
|
4 |
* Copyright (C) 2007-2013 gvSIG Association.
|
5 |
*
|
6 |
* This program is free software; you can redistribute it and/or
|
7 |
* modify it under the terms of the GNU General Public License
|
8 |
* as published by the Free Software Foundation; either version 3
|
9 |
* of the License, or (at your option) any later version.
|
10 |
*
|
11 |
* This program is distributed in the hope that it will be useful,
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14 |
* GNU General Public License for more details.
|
15 |
*
|
16 |
* You should have received a copy of the GNU General Public License
|
17 |
* along with this program; if not, write to the Free Software
|
18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
19 |
* MA 02110-1301, USA.
|
20 |
*
|
21 |
* For any additional information, do not hesitate to contact us
|
22 |
* at info AT gvsig.com, or visit our website www.gvsig.com.
|
23 |
*/
|
24 |
package org.gvsig.app.project.documents.view.toc.actions; |
25 |
|
26 |
import org.gvsig.app.project.documents.view.toc.AbstractTocContextMenuAction; |
27 |
import org.gvsig.app.project.documents.view.toc.ITocItem; |
28 |
import org.gvsig.app.project.documents.view.toc.TocMenuEntry; |
29 |
import org.gvsig.app.project.documents.view.toc.gui.FPopupMenu; |
30 |
import org.gvsig.fmap.mapcontext.layers.FLayer; |
31 |
|
32 |
|
33 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
34 |
*
|
35 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
|
36 |
*
|
37 |
* This program is free software; you can redistribute it and/or
|
38 |
* modify it under the terms of the GNU General Public License
|
39 |
* as published by the Free Software Foundation; either version 2
|
40 |
* of the License, or (at your option) any later version.
|
41 |
*
|
42 |
* This program is distributed in the hope that it will be useful,
|
43 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
44 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
45 |
* GNU General Public License for more details.
|
46 |
*
|
47 |
* You should have received a copy of the GNU General Public License
|
48 |
* along with this program; if not, write to the Free Software
|
49 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
|
50 |
*
|
51 |
* For more information, contact:
|
52 |
*
|
53 |
* Generalitat Valenciana
|
54 |
* Conselleria d'Infraestructures i Transport
|
55 |
* Av. Blasco Ib??ez, 50
|
56 |
* 46010 VALENCIA
|
57 |
* SPAIN
|
58 |
*
|
59 |
* +34 963862235
|
60 |
* gvsig@gva.es
|
61 |
* www.gvsig.gva.es
|
62 |
*
|
63 |
* or
|
64 |
*
|
65 |
* IVER T.I. S.A
|
66 |
* Salamanca 50
|
67 |
* 46005 Valencia
|
68 |
* Spain
|
69 |
*
|
70 |
* +34 963163400
|
71 |
* dac@iver.es
|
72 |
*/
|
73 |
/* CVS MESSAGES:
|
74 |
*
|
75 |
* $Id: OldTocContextMenuAction.java 29598 2009-06-29 16:09:14Z jpiera $
|
76 |
* $Log$
|
77 |
* Revision 1.1 2006-09-15 10:41:30 caballero
|
78 |
* extensibilidad de documentos
|
79 |
*
|
80 |
* Revision 1.1 2006/09/12 15:58:14 jorpiell
|
81 |
* "Sacadas" las opcines del men? de FPopupMenu
|
82 |
*
|
83 |
*
|
84 |
*/
|
85 |
public class OldTocContextMenuAction extends AbstractTocContextMenuAction { |
86 |
private TocMenuEntry entry;
|
87 |
|
88 |
public int getGroupOrder() { |
89 |
return 999; |
90 |
} |
91 |
|
92 |
public String getGroup() { |
93 |
return "zzzOldMenus"; |
94 |
} |
95 |
|
96 |
public void execute(ITocItem item, FLayer[] selectedItems) { |
97 |
return; //No se llega a ejecutar nunca |
98 |
} |
99 |
|
100 |
public String getText() { |
101 |
return null; //No se llega a ejecutar nunca |
102 |
} |
103 |
|
104 |
public void initializeElement(FPopupMenu menu) { |
105 |
this.entry.initialize(menu);
|
106 |
} |
107 |
|
108 |
public void setEntry(TocMenuEntry entry) { |
109 |
this.entry = entry;
|
110 |
} |
111 |
|
112 |
public TocMenuEntry getEntry() {
|
113 |
return this.entry; |
114 |
} |
115 |
} |