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

View differences:

PluginsManager.java
26 26
import java.io.File;
27 27
import java.util.Iterator;
28 28
import java.util.List;
29

  
29 30
import org.gvsig.andami.firewall.FirewallConfiguration;
30

  
31
import org.gvsig.andami.impl.UnsavedDataException;
31 32
import org.gvsig.andami.plugins.ExclusiveUIExtension;
32 33
import org.gvsig.andami.plugins.IExtension;
34
import org.gvsig.andami.plugins.status.IUnsavedData;
33 35
import org.gvsig.installer.lib.api.PackageInfo;
34 36
import org.gvsig.installer.lib.api.Version;
35 37

  
......
166 168
     * @return the default folder where the internationalization files are installed.
167 169
     */
168 170
    public File getApplicationI18nFolder();
169
    
171

  
170 172
    /**
171 173
     * Returns the plugins folder.
172 174
     *
......
192 194
     * all gvSIG plugins.
193 195
     *
194 196
     * Task with higher priority value are executed after.
195
     * 
197
     *
196 198
     * @param name of the task
197 199
     * @param task runnable with the code of the task
198 200
     * @param in_event_thread, true if the task shoul run in the AWT event thread.
......
204 206
     * This method allows plugins register task to do after close the application.
205 207
     *
206 208
     * Task with higher priority value are executed after.
207
     * 
209
     *
208 210
     * @param name of the task
209 211
     * @param task runnable with the code of the task
210 212
     * @param in_event_thread, true if the task shoul run in the AWT event thread.
......
229 231
     */
230 232
    public void executeShutdownTasks();
231 233

  
232
    
234

  
233 235
    public FirewallConfiguration getFirewallConfiguration();
234 236

  
235 237
    public Version getApplicationVersion();
238

  
239
    /**
240
     * Return a list of unsaved data
241
     *
242
     * @return
243
     */
244
    public List<IUnsavedData> getUnsavedData();
245

  
246
    /**
247
     * Save the provided unsaved data as parameter
248
     *
249
     * @param unsavedData
250
     * @throws UnsavedDataException
251
     */
252
    public void saveUnsavedData(List<IUnsavedData> unsavedData) throws UnsavedDataException;
253

  
236 254
}

Also available in: Unified diff