Examples of openFile()


Examples of org.eobjects.datacleaner.actions.OpenAnalysisJobActionListener.openFile()

    final JButton openJobButton = new JButton("Open analysis job");
    openJobButton.addActionListener(new ActionListener() {
      @Override
      public void actionPerformed(ActionEvent e) {
        OpenAnalysisJobActionListener openAnalysisJobActionListener = _openAnalysisJobActionListenerProvider.get();
        openAnalysisJobActionListener.openFile(_file);
        _fileChooser.cancelSelection();
      }
    });
    return openJobButton;
  }
View Full Code Here

Examples of org.fcrepo.server.journal.readerwriter.multicast.rmi.RmiTransport.openFile()

            RemoteException {
        MockRmiJournalReceiver receiver = new MockRmiJournalReceiver();
        RmiTransport transport =
                new RmiTransport(parameters, CRUCIAL, parent, receiver);

        transport.openFile("someHash", "aFileName", new Date());
        assertEquals(1, receiver.howManyCallsToOpenFile());

        transport.closeFile();
        assertEquals(1, receiver.howManyCallsToClosefile());
    }
View Full Code Here

Examples of org.gephi.desktop.project.api.ProjectControllerUI.openFile()

        });
        openFileLink.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent e) {
                ProjectControllerUI pc = Lookup.getDefault().lookup(ProjectControllerUI.class);
                pc.openFile();
                WelcomeTopComponent.this.close();
            }
        });
    }
View Full Code Here

Examples of org.h2.engine.Database.openFile()

        this.sort = sort;
        this.columnCount = columnCount;
        Database db = session.getDatabase();
        rowBuff = Data.create(db, Constants.DEFAULT_PAGE_SIZE);
        String fileName = db.createTempFile();
        file = db.openFile(fileName, "rw", false);
        file.setCheckedWriting(false);
        file.seek(FileStore.HEADER_LENGTH);
        if (sort != null) {
            tapes = New.arrayList();
            mainTape = null;
View Full Code Here

Examples of org.jitterbit.integration.client.ui.interchange.entity.transformation.data.FileViewer.openFile()

        TransformationFileStore fileStore = page.getTreeDataService().getDataFileStore();
        FileViewer fileViewer = new FileViewer(editors, page.getObject(), fileStore, fileType);
        String charset = getCharset(page.getObject());
        fileViewer.setCharset(charset);
        DataFilesInfo info = fileStore.getCurrentFilesInfo();
        fileViewer.openFile(info);
    }

    @Override
    public final void dispose() {
        MappingTreeDataService treeDataService = page.getTreeDataService();
View Full Code Here

Examples of org.lealone.engine.Database.openFile()

    private void writeAllRows() {
        if (file == null) {
            Database db = session.getDatabase();
            String fileName = db.createTempFile();
            file = db.openFile(fileName, "rw", false);
            file.setCheckedWriting(false);
            file.seek(FileStore.HEADER_LENGTH);
            rowBuff = Data.create(db, Constants.DEFAULT_PAGE_SIZE);
            file.seek(FileStore.HEADER_LENGTH);
        }
View Full Code Here

Examples of org.lealone.engine.Database.openFile()

        this.sort = sort;
        this.columnCount = columnCount;
        Database db = session.getDatabase();
        rowBuff = Data.create(db, Constants.DEFAULT_PAGE_SIZE);
        String fileName = db.createTempFile();
        file = db.openFile(fileName, "rw", false);
        file.setCheckedWriting(false);
        file.seek(FileStore.HEADER_LENGTH);
        if (sort != null) {
            tapes = New.arrayList();
            mainTape = null;
View Full Code Here

Examples of org.mozilla.javascript.tools.debugger.Main.openFile()

    public void go(final XScriptContext xsctxt, String filename) {
        Main sdb = initUI(xsctxt);

        // This is the method we've added to open a file when starting
        // the Rhino debugger
        sdb.openFile(filename);
    }

    public void go(final XScriptContext xsctxt, InputStream in) {
        Main sdb = initUI(xsctxt);
View Full Code Here

Examples of org.pentaho.mantle.client.solutionbrowser.SolutionBrowserPanel.openFile()

          }

          @Override
          public void fileSelected( RepositoryFile repositoryFile, String filePath, String fileName, String title ) {
            dialog.hide();
            solutionBrowserPerspective.openFile( repositoryFile, openMethod );
          }

          @Override
          public void fileSelectionChanged( RepositoryFile repositoryFile, String filePath, String fileName,
              String title ) {
View Full Code Here

Examples of org.pentaho.mantle.client.solutionbrowser.SolutionBrowserPanel.openFile()

          } else if ( event.getKeyCode() == KeyCodes.KEY_ENTER ) {
            SolutionBrowserPanel sbp = SolutionBrowserPanel.getInstance();
            FilesListPanel flp = sbp.getFilesListPanel();
            List<FileItem> items = flp.getSelectedFileItems();
            if ( items != null && items.size() == 1 ) {
              sbp.openFile( items.get( 0 ).getRepositoryFile(), COMMAND.RUN );
            }
          }
        }
        super.onBrowserEvent( event );
      }
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.