root / branches / v2_0_0_prep / applications / appgvSIG / src / org / gvsig / app / project / documents / view / AbstractContextMenuAction.java @ 38601
History | View | Annotate | Download (607 Bytes)
1 | 31496 | jjdelcerro | package org.gvsig.app.project.documents.view; |
---|---|---|---|
2 | 7747 | jmvivo | |
3 | 24958 | jmvivo | import org.gvsig.tools.extensionpoint.ExtensionBuilder; |
4 | |||
5 | 7747 | jmvivo | |
6 | 24958 | jmvivo | public abstract class AbstractContextMenuAction implements IContextMenuAction, |
7 | ExtensionBuilder { |
||
8 | 7747 | jmvivo | |
9 | public boolean isVisible(Object item, Object[] selectedItems) { |
||
10 | return true; |
||
11 | } |
||
12 | |||
13 | public boolean isEnabled(Object item, Object[] selectedItems) { |
||
14 | return true; |
||
15 | } |
||
16 | |||
17 | public String getGroup() { |
||
18 | return "general"; |
||
19 | } |
||
20 | |||
21 | public int getGroupOrder() { |
||
22 | return 50; |
||
23 | } |
||
24 | 24958 | jmvivo | |
25 | 7747 | jmvivo | public int getOrder() { |
26 | return 0; |
||
27 | } |
||
28 | |||
29 | public String getDescription() { |
||
30 | // TODO Auto-generated method stub
|
||
31 | return null; |
||
32 | } |
||
33 | |||
34 | 24958 | jmvivo | |
35 | 7747 | jmvivo | } |