Revision 36631 branches/v2_0_0_prep/applications/appgvSIG/src/org/gvsig/app/project/ProjectManager.java

View differences:

ProjectManager.java
149 149
        return doc;
150 150
    }
151 151

  
152
    /**
153
     * @deprecated use {@link #createDocumentsByUser(String)} instead
154
     */
152 155
    public Document createDocumentByUser(String type) {
153 156
        Document doc = getDocumentManager(type).createDocumentByUser();
154 157
        return doc;
155 158
    }
156 159

  
160
    /**
161
     * Creates a group of documents of a given type through the user interface.
162
     * 
163
     * @param type
164
     *            the type of documents to create
165
     * @return the created documents
166
     */
167
    public Iterator<? extends Document> createDocumentsByUser(String type) {
168
        return getDocumentManager(type).createDocumentsByUser();
169
    }
170

  
157 171
    public Project createProject() {
158 172
        return new DefaultProject();
159 173
    }

Also available in: Unified diff