Examples of open()


Examples of org.projectforge.plugins.teamcal.dialog.TeamCalFilterDialog.open()

       * @see org.projectforge.web.wicket.flowlayout.AjaxIconButtonPanel#onSubmit(org.apache.wicket.ajax.AjaxRequestTarget)
       */
      @Override
      protected void onSubmit(final AjaxRequestTarget target)
      {
        dialog.open(target);
        // Redraw the content:
        dialog.redraw().addContent(target);
      }
    };
    calendarButtonPanel.setDefaultFormProcessing(false);
View Full Code Here

Examples of org.python.pydev.customizations.app_engine.util.AppEngineProcessWindow.open()

    protected void handleExecution(IContainer container, IPythonPathNature pythonPathNature, File appcfg,
            File appEngineLocation) {
        AppEngineProcessWindow processWindow = new AppEngineProcessWindow(PyAction.getShell());
        processWindow.setParameters(container, pythonPathNature, appcfg, appEngineLocation);
        processWindow.setInitialCommandToRun(AppEngineProcessWindow.getUpdateCommand(container));
        processWindow.open();
    }

}
View Full Code Here

Examples of org.python.pydev.debug.ui.PyConfigureExceptionDialog.open()

        PyConfigureExceptionDialog dialog = new PyConfigureExceptionDialog(getShell(), "",
                new PyExceptionListProvider(), new LabelProvider(), "");

        dialog.setInitialElementSelections(PyExceptionBreakPointManager.getInstance().getExceptionsList());
        dialog.setTitle("Add Python Exception Breakpoint");
        if (dialog.open() == PyConfigureExceptionDialog.OK) {

            Object[] selectedItems = dialog.getResult();
            String[] exceptionArray;
            if (selectedItems != null) {
                exceptionArray = new String[selectedItems.length];
View Full Code Here

Examples of org.python.pydev.debug.ui.PyPropertyTraceDialog.open()

public class PyPropertyTraceAction extends PyAction implements IWorkbenchWindowActionDelegate {

    public void run(IAction arg0) {
        PyPropertyTraceDialog dialog = new PyPropertyTraceDialog(getShell());
        dialog.setTitle("Enable/Disable Step Into properties");
        if (dialog.open() == PyPropertyTraceDialog.OK) {
            PyPropertyTraceManager.getInstance().setPyPropertyTraceState(dialog.isDisableStepIntoProperties(),
                    dialog.isDisableStepIntoGetter(), dialog.isDisableStepIntoSetter(),
                    dialog.isDisableStepIntoDeleter());
        }
    }
View Full Code Here

Examples of org.python.pydev.ui.dialogs.InterpreterInputDialog.open()

                InterpreterInputDialog dialog = new InterpreterInputDialog(getShell(), "Select interpreter",
                        "Enter the name and executable of your interpreter", this);

                logger.println("- Opening dialog to request executable (or jar).");
                int result = dialog.open();

                if (result == Window.OK) {
                    interpreterNameAndExecutable = dialog.getKeyAndValueEntered();
                } else {
                    return null;
View Full Code Here

Examples of org.python.pydev.ui.dialogs.MapOfStringsInputDialog.open()

                        return null; //it starts in a valid state
                    };

                };

                if (dialog.open() == Window.OK) {
                    Tuple<String, String> keyAndValueEntered = dialog.getKeyAndValueEntered();
                    if (keyAndValueEntered != null) {
                        vars.put(keyAndValueEntered.o1, keyAndValueEntered.o2);
                        treeItem.setText(1, keyAndValueEntered.o2);
                    }
View Full Code Here

Examples of org.python.pydev.ui.dialogs.ProjectSelectionDialog.open()

                public void run() {
                    ProjectSelectionDialog dialog = new ProjectSelectionDialog(PyAction.getShell(),
                            PythonNature.PYTHON_NATURE_ID);
                    dialog.setMessage("Choose the project that'll provide the interpreter and\n"
                            + "PYTHONPATH to be used in the launch of the file.");
                    if (dialog.open() == Window.OK) {
                        Object firstResult = dialog.getFirstResult();
                        if (firstResult instanceof IProject) {
                            found[0] = firstResult;
                        } else {
                            found[0] = new CoreException(new StatusInfo(IStatus.ERROR,
View Full Code Here

Examples of org.python.pydev.ui.dialogs.PythonModulePickerDialog.open()

                            if (folder instanceof IProject) {
                                Shell parent = PyAction.getShell();
                                PythonModulePickerDialog dialog = new PythonModulePickerDialog(parent,
                                        "Select python file", "Select the python file to be launched.",
                                        (IProject) folder);
                                int result = dialog.open();
                                if (result == PythonModulePickerDialog.OK) {
                                    Object results[] = dialog.getResult();
                                    if ((results != null) && (results.length > 0) && (results[0] instanceof IFile)) {
                                        resource = (IResource) results[0];
                                    }
View Full Code Here

Examples of org.python.pydev.ui.dialogs.PythonPackageSelectionDialog.open()

            btBrowsePackage.addSelectionListener(new SelectionListener() {

                public void widgetSelected(SelectionEvent e) {
                    try {
                        PythonPackageSelectionDialog dialog = new PythonPackageSelectionDialog(getShell(), false);
                        dialog.open();
                        Object firstResult = dialog.getFirstResult();
                        if (firstResult instanceof SourceFolder) { //it is the default package
                            SourceFolder f = (SourceFolder) firstResult;
                            textPackage.setText("");
                            textSourceFolder.setText(f.folder.getFullPath().toString());
View Full Code Here

Examples of org.python.pydev.ui.dialogs.SelectExistingOrCreateNewDialog.open()

        dialog.setTitle("Select the command to run or enter a new command");
        dialog.setMessage("Select the command to run or enter a new command");
        dialog.setInitialFilter("");

        int open = dialog.open();
        if (open != Window.OK) {
            return null;
        }
        Object[] result = dialog.getResult();
        if (result != null && result.length == 1) {
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.