Revision 37876 trunk/applications/appgvSIG/src/org/gvsig/fmap/swing/impl/toc/DefaultTOCManager.java
DefaultTOCManager.java | ||
---|---|---|
27 | 27 |
|
28 | 28 |
import com.iver.cit.gvsig.fmap.MapContext; |
29 | 29 |
import com.iver.cit.gvsig.project.documents.IContextMenuAction; |
30 |
import com.iver.cit.gvsig.project.documents.view.toc.actions.OldTocContextMenuAction; |
|
30 | 31 |
import com.iver.utiles.extensionPoints.ExtensionPointsSingleton; |
31 | 32 |
|
32 | 33 |
import org.gvsig.fmap.swing.toc.TOC; |
... | ... | |
77 | 78 |
|
78 | 79 |
public void addServiceFactory(IContextMenuAction icma) { |
79 | 80 |
TOCActionFactoryAdapter ada = new TOCActionFactoryAdapter(icma); |
81 |
if (icma instanceof OldTocContextMenuAction) { |
|
82 |
ada.setName(((OldTocContextMenuAction) icma).getEntry().getClass().toString()); |
|
83 |
} |
|
80 | 84 |
addServiceFactory(ada); |
81 | 85 |
} |
82 | 86 |
|
Also available in: Unified diff