Package org.fusesource.ide.camel.model

Examples of org.fusesource.ide.camel.model.RouteContainer.removeChild()


  protected void doExecute() {
    if (selectedRoute != null) {
      boolean deleteIt = MessageDialog.openQuestion(Display.getCurrent().getActiveShell(), EditorMessages.deleteRouteCommandLabel, EditorMessages.deleteRouteCommandDescription);
      if (deleteIt) {
        RouteContainer model = designEditor.getModel();
        model.removeChild(selectedRoute);
        RouteSupport newRoute = null;
        if (model.getChildren().size()<1) {
          // no more routes - create one
          designEditor.addNewRoute();
        }
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.