~berthold-daum/zora/trunk

« back to all changes in this revision

Viewing changes to com.bdaum.zoom.gps/src/com/bdaum/zoom/gps/ResumeGeonamingHandler.java

  • Committer: bdaum
  • Date: 2015-12-26 10:21:51 UTC
  • Revision ID: berthold.daum@bdaum.de-20151226102151-44f1j5113167thb9
VersionĀ 2.4.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 */
20
20
package com.bdaum.zoom.gps;
21
21
 
22
 
import java.io.File;
23
22
import java.util.Set;
24
23
 
25
24
import org.eclipse.core.runtime.IAdaptable;
40
39
 
41
40
        public void resumeWork(Meta meta) {
42
41
                Set<String> postponedNaming = meta.getPostponedNaming();
43
 
                if (postponedNaming != null && postponedNaming.size() > 0) {
44
 
                        GeotagOperation operation = new GeotagOperation((File[]) null,
45
 
                                        new String[0], GpsActivator.getDefault()
46
 
                                                        .createGpsConfiguration());
47
 
                        OperationJob.executeOperation(operation, this, false, ONEMINUTE);
48
 
                }
 
42
                if (postponedNaming != null && postponedNaming.size() > 0)
 
43
                        OperationJob.executeOperation(new GeotagOperation(GpsActivator
 
44
                                        .getDefault().createGpsConfiguration()), this, false,
 
45
                                        ONEMINUTE);
49
46
        }
50
47
 
51
48
        public Object getAdapter(Class adapter) {