Examples of open()


Examples of org.imagearchive.lsm.toolbox.Reader.open()

          ImageWindow iwc = null;

          public void run() {
            try {
              IJ.showStatus("Loading image");
              ImagePlus[] imp = reader.open("", true);
              IJ.showStatus("Image loaded");
              if (imp == null)
                return;
              for (int i = 0; i < imp.length; i++) {
                imp[i].show();
View Full Code Here

Examples of org.infoglue.common.util.cvsclient.MyConnection.open()

    conn.setUserName(cvsRoot.getUser());
    conn.setEncodedPassword(scr.scramble(password));
    conn.setHostName(cvsRoot.getHost());
    conn.setRepository(cvsRoot.getRepository());
    conn.verify();
    conn.open();
           
    //------------------------
    // Setup the client
    //------------------------
   
View Full Code Here

Examples of org.iq80.leveldb.DBFactory.open()

            options.writeBufferSize( config.writeBufferSize().get() );
        }

        // Open/Create the database
        File dbFile = new File( fileConfig.dataDirectory(), descriptor.identity() );
        db = factory.open( dbFile, options );
    }

    /**
     * Tries in order: JNI and then pure Java LevelDB implementations.
     */
 
View Full Code Here

Examples of org.iq80.leveldb.impl.Iq80DBFactory.open()

            Options options = new Options();

            options.createIfMissing(true);

            this.setDatabase(factory.open(new File(aDirectoryPath), options));

            if (!this.cacheJournalSequence()) {
                this.repair();
            }
View Full Code Here

Examples of org.jamesii.perfdb.IPerformanceDatabase.open()

   */
  public static void main(String[] args) {

    try {
      IPerformanceDatabase perfDB = SimSpExPerspective.getPerformanceDataBase();
      perfDB.open();

      List<IProblemDefinition> problems = perfDB.getAllProblemDefinitions();
      List<IRuntimeConfiguration> configs = null;
      SimSystem.report(Level.INFO, "#problems:" + problems.size());
      for (IProblemDefinition problem : problems) {
View Full Code Here

Examples of org.jampa.gui.dialogs.CheckPlaylistsDialog.open()

    handlerService.activateHandler("Jampa.playlistExportWizard", new ActionHandler(exportPlaylistAction));
   
    checkPlaylistsAction = new Action(Messages.getString("Menu.Playlists.CheckPlaylist"), SWT.NONE) {
      public void run() {
        CheckPlaylistsDialog dialog = new CheckPlaylistsDialog(Display.getCurrent().getActiveShell());
        dialog.open();
      }
    };
    checkPlaylistsAction.setImageDescriptor(Activator.getImageDescriptor("/icons/checkplaylists_16.png"));
    checkPlaylistsAction.setActionDefinitionId("Jampa.checkPlaylists");
    handlerService.activateHandler("Jampa.checkPlaylists", new ActionHandler(checkPlaylistsAction));
View Full Code Here

Examples of org.jampa.gui.dialogs.MetaDataDialog.open()

        list.add(item);
      }
    }
   
    MetaDataDialog dialog = new MetaDataDialog(HandlerUtil.getActiveWorkbenchWindow(event).getShell(), list);
    dialog.open();
   
    return null;
  }

 
View Full Code Here

Examples of org.jampa.gui.dialogs.RemovableStorageDialog.open()

    handlerService.activateHandler("Jampa.showSearchView", new ActionHandler(showSearchViewAction));   
   
    manageExternalDevices = new Action(Messages.getString("Menu.Actions.ManageExternalDevices"), SWT.NONE) {
      public void run() {
        RemovableStorageDialog dialog = new RemovableStorageDialog(Display.getCurrent().getActiveShell());
        dialog.open();
      }
    };
    manageExternalDevices.setImageDescriptor(Activator.getImageDescriptor("/icons/folder_removable_16.png"));
    manageExternalDevices.setActionDefinitionId("Jampa.menuManageRemovableStorage");
    handlerService.activateHandler("Jampa.menuManageRemovableStorage", new ActionHandler(manageExternalDevices));
View Full Code Here

Examples of org.jayasoft.woj.client.dialog.ChooseModuleDialog.open()

public class WojSourceContainerBrowser extends AbstractSourceContainerBrowser {

  
  public ISourceContainer[] addSourceContainers(Shell shell, ISourceLookupDirector director) {
    ChooseModuleDialog dialog = new ChooseModuleDialog(shell);
    if (dialog.open() == Window.OK) {
      return new ISourceContainer[]{new WojSourceContainer(dialog.getOrganisation(), dialog.getName(), dialog.getRevision(), dialog.getVisibility())};
    }
    return new ISourceContainer[]{};
  }
}
View Full Code Here

Examples of org.jboss.gravia.runtime.spi.URLStreamHandlerTracker.open()

        super(propertiesProvider, context);

        // Register the URLStreamHandler tracker
        URLStreamHandlerTracker tracker = new URLStreamHandlerTracker(getModuleContext());
        DirContextURLStreamHandlerFactory.addUserFactory(tracker);
        tracker.open();
    }

    @Override
    protected ModuleEntriesProvider getDefaultEntriesProvider(Module module, Attachable context) {
        ServletContext servletContext = context.getAttachment(WebAppContextListener.SERVLET_CONTEXT_KEY);
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.