Package net.sf.myway.calibrator.da.entities

Examples of net.sf.myway.calibrator.da.entities.Folder


      final int width = data.width;
      final int height = data.height;
      image.dispose();
      monitor.worked(1);
      // ScannedMap anlegen
      Folder folder = null;
      if (_selection != null && _selection instanceof IStructuredSelection) {
        final Object o = ((IStructuredSelection) _selection).getFirstElement();
        if (o instanceof Folder)
          folder = (Folder) o;
        else if (o instanceof ScannedMap)
          folder = ((ScannedMap) o).getFolder();
      }
      final ScannedMap map = new ScannedMap();
      map.setName(mapName.length() == 0 ? f.getName() : mapName);
      map.setFileName(f.getAbsolutePath());
      map.setFolder(folder);
      if (folder != null)
        folder.addMap(map);
      CalibratorPlugin.getModel().add(map);
      monitor.worked(2);
      // TODO ScannedMapView aktualisieren
      monitor.worked(3);
      // TODO Map �ffnen
View Full Code Here

TOP

Related Classes of net.sf.myway.calibrator.da.entities.Folder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.