Package org.fusesource.ide.camel.model.io

Examples of org.fusesource.ide.camel.model.io.ICamelEditorInput.save()


    if (designEditor.getEditorInput() != null && designEditor.getEditorInput() instanceof ICamelEditorInput) {
      ICamelEditorInput camelInput = (ICamelEditorInput) designEditor.getEditorInput();
      IDocument doc = getDocument();
      if (doc != null) {
        String xml = doc.get();
        camelInput.save(xml);
      }
    } else {   
      // then we call the save method of the text editor
      sourceEditor.doSave(monitor);
    }
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.