Examples of open()


Examples of org.erlide.wrangler.refactoring.codeinspection.ui.InputDialogWithCheckbox.open()

            CodeInspectionViewsManager.hideView(LONG_FUNCTIONS);
            // call inputdialog
            final InputDialogWithCheckbox dialog = new InputDialogWithCheckbox(shell,
                    "Search for long functions", "Number of lines:",
                    "Search in the project", "", new IntegerInputValidator());
            if (Window.OK == dialog.open()) {
                final int linesVal = Integer.parseInt(dialog.getValue());
                final boolean inProject = dialog.isCheckBoxChecked();
                RpcResult res = null;
                if (inProject) {
                    res = WranglerBackendManager.getRefactoringBackend().callInspection(
View Full Code Here

Examples of org.erlide.wrangler.refactoring.duplicatedcode.ui.DuplicateCodeDetectionInputDialog.open()

    protected boolean getUserInput() {
        final Shell shell = PlatformUI.getWorkbench().getDisplay().getActiveShell();

        final DuplicateCodeDetectionInputDialog inputd = new DuplicateCodeDetectionInputDialog(
                shell, "Identical code detection...");
        inputd.open();

        onlyInfile = inputd.onlyInFile();
        minToks = inputd.getMinToks();
        minClones = inputd.getMinClones();
View Full Code Here

Examples of org.erlide.wrangler.refactoring.duplicatedcode.ui.SimilarCodeDetectionInputDialog.open()

        final Shell shell = PlatformUI.getWorkbench().getDisplay().getActiveShell();

        final SimilarCodeDetectionInputDialog inputd = new SimilarCodeDetectionInputDialog(
                shell, "Similar code detection...");

        inputd.open();

        simScore = inputd.getSimScore();
        minFreq = inputd.getMinFreq();
        minLen = inputd.getMinLen();
        onlyInFile = inputd.onlyinFile();
View Full Code Here

Examples of org.erlide.wrangler.refactoring.duplicatedcode.ui.SimilarSearchInputDialog.open()

    protected boolean getUserInput() {
        final Shell shell = PlatformUI.getWorkbench().getDisplay().getActiveShell();

        final SimilarSearchInputDialog inputd = new SimilarSearchInputDialog(shell,
                "Search for similar expressions...");
        inputd.open();
        simScore = (float) inputd.getSimScore();
        onlyInFile = inputd.onlyinFile();
        return inputd.isFinished();
    }
}
View Full Code Here

Examples of org.exist.storage.btree.BTree.open()

    public void rebuild() throws DBException, IOException, TerminatedException {
        BTree btree = null;
        try {
            System.out.println("Loading btree ...");
            btree = new BTree(pool, (byte) 0, false, pool.getCacheManager(), file, 0.1);
            btree.open((short)-1);

            System.out.println("Rebuilding ...");
            btree.rebuild();

            OutputStreamWriter writer = new OutputStreamWriter(System.out);
View Full Code Here

Examples of org.exist.versioning.svn.internal.wc.admin.SVNWCAccess.open()

                            File externalWC = new Resource(localPath, externals[k].getPath());
                            SVNEntry externalEntry = null;
                            SVNRevision externalsWCRevision = SVNRevision.UNDEFINED;

                            try {
                                wcAccess.open(externalWC, false, 0);
                                externalEntry = wcAccess.getEntry(externalWC, false);
                            } catch (SVNException svne) {
                                if (svne instanceof SVNCancelException) {
                                    throw svne;
                                }
View Full Code Here

Examples of org.fenixedu.academic.domain.accounting.events.candidacy.IndividualCandidacyEvent.open()

            }
        }

        IndividualCandidacyEvent individualCandidacyEvent = getEvent();
        if (individualCandidacyEvent != null && individualCandidacyEvent.getAmountToPay().isPositive() && getEvent().isClosed()) {
            individualCandidacyEvent.open();

            Collection<AccountingEventPaymentCode> paymentCodes = individualCandidacyEvent.getAllPaymentCodes();

            for (AccountingEventPaymentCode accountingEventPaymentCode : paymentCodes) {
                accountingEventPaymentCode.setState(PaymentCodeState.NEW);
View Full Code Here

Examples of org.fenrir.yggdrasil.ui.dialog.ErrorFrameDialog.open()

          System.exit(-1);
          return null;
        }
      });
         
            dialog.open();
        }
        catch(Exception e){
            log.error("Error mostrant finestra d'error: {}", e.getMessage(), e);
        }               
    }
View Full Code Here

Examples of org.fenrir.yggdrasil.ui.dialog.WorkspaceDialog.open()

        IWorkspaceAdministrationService workspaceService = (IWorkspaceAdministrationService)ApplicationContext.getInstance().getRegisteredComponent(IWorkspaceAdministrationService.class);
       
        // No s'ha indicat cap directori. S'obre la finestra de sel.lecció
        if(StringUtils.isBlank(workspaceFolder)){
            WorkspaceDialog dialog = new WorkspaceDialog();
            int returnCode = dialog.open();
           
            if(returnCode==WorkspaceDialog.DIALOG_OK){
                workspaceFolder = dialog.getWorkspacePath();
                // S'afegeix al registre el nou workspace
                try{
View Full Code Here

Examples of org.fhsolution.eclipse.plugins.csvedit.page.DeleteColumnPage.open()

            deleteColumnItem.addListener(SWT.Selection, new Listener() {
                public void handleEvent(Event event) {
                    // call delete column page
                    DeleteColumnPage dcPage =
                        new DeleteColumnPage(getSite().getShell(), model.getArrayHeader());
                    if (dcPage.open() == InputDialog.OK) {
                        String[] colToDelete = dcPage.getColumnSelected();
                        for (String column : colToDelete) {
                            int colIndex = findColumnForName(column);
                            tableViewer.getTable().getColumn(colIndex).dispose();
                            tableHeaderMenu.getItem(colIndex).dispose();
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.