Revision 43496

View differences:

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/TocItemLeaf.java
61 61
 * Window - Preferences - Java - Code Generation - Code and Comments
62 62
 */
63 63
public class TocItemLeaf implements ITocItem {
64
    
64

  
65 65
    private static Logger logger = LoggerFactory.getLogger(TocItemLeaf.class);
66 66

  
67 67
	private ISymbol symbol;
......
228 228
		return symbol;
229 229
	}
230 230
	public IContextMenuAction getDoubleClickAction() {
231
	    if(symbol==null){
232
	        return null;
233
	    }
231 234
		return new ChangeSymbolTocMenuEntry();
232 235
	}
233 236
}

Also available in: Unified diff