Examples of BaseData


Examples of org.eclipse.osgi.baseadaptor.BaseData

        return null; // no fragments
      // search the fragments for patch fragments
      ArrayList patchList = new ArrayList(fragments.length);
      for (int i = 0; i < fragments.length; i++) {
        AbstractBundle fragment = (AbstractBundle) fragments[i];
        BaseData fragmentData = (BaseData) fragment.getBundleData();
        // The PFStorageHook knows if this is a patch fragment
        PFStorageHook storageHook = (PFStorageHook) fragmentData.getStorageHook(PFStorageHook.KEY);
        if (storageHook.isPatchFragment()) {
          if (PFConfigurator.DEBUG)
            System.out.println("Found patch fragment: " + fragmentData.toString()); //$NON-NLS-1$
          patchList.add(fragmentData.getBundleFile());
          // need to listen to this fragment
          bundlesToListen.add(fragment);
          // add in dev classpaths
          if (DevClassPathHelper.inDevelopmentMode()) {
            String[] devPath = DevClassPathHelper.getDevClassPath(fragmentData.getSymbolicName());
            if (devPath != null) {
              for (int j = 0; j < devPath.length; j++) {
                File devFile = fragmentData.getBundleFile().getFile(devPath[i], false);
                patchList.add(pfAdaptorHook.createDevClasspathBundleFile(devFile, fragmentData));
              }
            }
          }
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.