Revision 37876 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/view/toc/gui/FPopupMenu.java
FPopupMenu.java | ||
---|---|---|
126 | 126 |
|
127 | 127 |
OldTocContextMenuAction action = new OldTocContextMenuAction(); |
128 | 128 |
action.setEntry(entry); |
129 |
|
|
129 |
System.out.println("Add old TocMenuEntry: " + entry); |
|
130 | 130 |
TOCManager tm = TOCLocator.getInstance().getTOCManager(); |
131 | 131 |
tm.addServiceFactory(action); |
132 | 132 |
} |
... | ... | |
296 | 296 |
if (!action.isVisible() || |
297 | 297 |
(action instanceof TOCActionAdapter && |
298 | 298 |
((TOCActionAdapter) action).getContextMenuAction() instanceof OldTocContextMenuAction)) { |
299 |
if (((action instanceof TOCActionAdapter) && ((TOCActionAdapter) action).getContextMenuAction() instanceof OldTocContextMenuAction)) { |
|
300 |
OldTocContextMenuAction oldAct = (OldTocContextMenuAction) ((TOCActionAdapter) action).getContextMenuAction(); |
|
301 |
oldAct.getEntry().initialize(this); |
|
302 |
} |
|
299 | 303 |
continue; |
300 | 304 |
} |
301 | 305 |
|
Also available in: Unified diff