Package org.fusesource.ide.camel.editor.editor

Examples of org.fusesource.ide.camel.editor.editor.ConditionalBreakpointEditorDialog.open()


            // TODO: open a dialog for the user to select language and enter the condition - maybe provide a helper for predefined variables
            ConditionalBreakpointEditorDialog dlg = new ConditionalBreakpointEditorDialog(Display.getDefault().getActiveShell(), _ep);
            dlg.setLanguage(ccb.getLanguage());
            dlg.setCondition(ccb.getConditionPredicate());
            dlg.setBlockOnOpen(true);
            if (Window.OK == dlg.open()) {
              String language = dlg.getLanguage();
              String condition = dlg.getCondition();
              ccb.setConditionPredicate(condition);
              ccb.setLanguage(language);
              // notify debug framework that this breakpoint has changed
View Full Code Here


              String fileName = contextFile.getName();
              String projectName = contextFile.getProject().getName();
             
              ConditionalBreakpointEditorDialog dlg = new ConditionalBreakpointEditorDialog(Display.getDefault().getActiveShell(), _ep);
            dlg.setBlockOnOpen(true);
            if (Window.OK == dlg.open()) {
              String language = dlg.getLanguage();
              String condition = dlg.getCondition();
           
                if (Strings.isBlank(_ep.getCamelContextId()) ||
                  Strings.isBlank(_ep.getId()) ) {
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.