Revision 42959 trunk/org.gvsig.desktop/org.gvsig.desktop.framework/org.gvsig.andami/src/main/java/org/gvsig/andami/PluginsManager.java

View differences:

PluginsManager.java
24 24
package org.gvsig.andami;
25 25

  
26 26
import java.io.File;
27
import java.net.URI;
27 28
import java.util.Iterator;
28 29
import java.util.List;
29 30
import static org.gvsig.andami.Launcher.appName;
......
39 40
public interface PluginsManager {
40 41

  
41 42
    public String getApplicationName();
42
    
43

  
43 44
    /**
44 45
     * Return the associated pluginServices to the extension class passed as
45 46
     * parameter.
......
256 257

  
257 258
    /**
258 259
     * Gets the temporary folder of the plugins framework.
259
     * 
260
     * @return the temp folder 
260
     *
261
     * @return the temp folder
261 262
     */
262 263
    public File getTempFolder();
263
    
264

  
264 265
    /**
265 266
     * Get the file name in the temporary folder of the plugins framework.
266 267
     * @param name
267
     * @return 
268
     * @return
268 269
     */
269 270
    public File getTempFile(String name);
270
    
271

  
271 272
    /**
272 273
     * Create a unique file name in the temporary folder of the plugins framework.
273
     * 
274
     * @param name base name used for create the unique file name 
274
     *
275
     * @param name base name used for create the unique file name
275 276
     * @param sufix to add the the unique file name
276
     * @return 
277
     * @return
277 278
     */
278 279
    public File getTempFile(String name, String sufix);
279
    
280

  
281
    /**
282
     * Browses to a given URI
283
     * @param uri
284
     * @return
285
     */
286
    public boolean desktopBrowse(URI uri);
287

  
288
    /**
289
     * Open a given file
290
     * @param file
291
     * @return
292
     */
293
    public boolean desktopOpen(File file);
294

  
295

  
280 296
}

Also available in: Unified diff