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 |
package org.gvsig.app.project.documents.view; |
---|---|
2 |
|
3 |
import org.gvsig.tools.extensionpoint.ExtensionBuilder; |
4 |
|
5 |
|
6 |
public abstract class AbstractContextMenuAction implements IContextMenuAction, |
7 |
ExtensionBuilder { |
8 |
|
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 |
|
25 |
public int getOrder() { |
26 |
return 0; |
27 |
} |
28 |
|
29 |
public String getDescription() { |
30 |
// TODO Auto-generated method stub
|
31 |
return null; |
32 |
} |
33 |
|
34 |
|
35 |
} |