Revision 41094 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/actions/CopyPasteLayersUtils.java

View differences:

CopyPasteLayersUtils.java
139 139
        }
140 140

  
141 141
    }
142
    
143
    public static boolean isClipboardEmpty() {
144
        File f = new File(getClipboardFolder(), CLIPBOARD_FILE_NAME);
145
        return !f.exists();
146
    }
142 147

  
143 148
    /**
144 149
     * Returns the content of the clipboard as an instance

Also available in: Unified diff