Examples of removeChild()


Examples of org.camunda.bpm.model.xml.instance.DomElement.removeChild()

      public void clear() {
        DomElement domElement = getDomElement();
        List<DomElement> childElements = domElement.getChildElements();
        for (DomElement childElement : childElements) {
          domElement.removeChild(childElement);
        }
      }
    };
  }
View Full Code Here

Examples of org.cfeclipse.cfml.parser.docitems.TagItem.removeChild()

                  System.out.println("Added " + d.getClass().getName() + " as child of " + parent.getName() + ". Was child of " + tagName);
                }
              }
              iter = deletedChildren.iterator();
              while(iter.hasNext()) {
                t.removeChild((DocItem)iter.next());
              }
            }
          }
        }
       
View Full Code Here

Examples of org.codehaus.plexus.util.xml.Xpp3Dom.removeChild()

        int cnt = 0;
        for ( Xpp3Dom cpEntry : dom.getChildren( "classpathentry" ) )
        {
            if ( cpEntry.getAttribute( "kind" ).equals( "lib" ) )
            {
                dom.removeChild( cnt );
                cnt--;
            }
            cnt++;
        }
View Full Code Here

Examples of org.dom4j.dom.DOMDocument.removeChild()

      itemsElement.addAttribute("node", PEPActivityHandler.NODE);

      for (ActivityEntry entry : activities) {
        Element entryElement = (Element) domDocument.appendChild(domDocument.createElementNS(Atom.NAMESPACE, Atom.ENTRY_ELEMENT));
        writer.write(entry, entryElement);
        domDocument.removeChild(entryElement);
        org.dom4j.Element itemElement = itemsElement.addElement("item");
        itemElement.addAttribute("id", entry.getId());
        itemElement.add((org.dom4j.Element) entryElement);
      }
     
View Full Code Here

Examples of org.dyno.visual.swing.plugin.spi.CompositeAdapter.removeChild()

  public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
    parents = new ArrayList<CompositeAdapter>();
    for (Component child : selection) {
      WidgetAdapter adapter = WidgetAdapter.getWidgetAdapter(child);
      CompositeAdapter parentAdapter=adapter.getParentAdapter();
      boolean success = parentAdapter.removeChild(child);
      if (success)
        parentAdapter.setDirty(true);
      parents.add(parentAdapter);
    }
    return Status.OK_STATUS;
View Full Code Here

Examples of org.dyno.visual.swing.plugin.spi.LayoutAdapter.removeChild()

      jpanel.remove(child);
      jpanel.validate();
      return true;
    } else {
      LayoutAdapter layoutAdapter = getLayoutAdapter();
      boolean success = layoutAdapter.removeChild(child);
      if (success) {
        jpanel.validate();
        layoutAdapter.setContainer(jpanel);
        return true;
      } else
View Full Code Here

Examples of org.eclipse.handly.model.impl.Body.removeChild()

  private static void removeFromModel(final IHandle element) {
    IHandle _parent = element.getParent();
    final Body parentBody = ErlDeltaProcessor.findBody(_parent);
    boolean _tripleNotEquals = (parentBody != null);
    if (_tripleNotEquals) {
      parentBody.removeChild(element);
    }
    ErlDeltaProcessor.close(element);
  }
 
  private static Body findBody(final IHandle element) {
View Full Code Here

Examples of org.eclipse.help.internal.UAElement.removeChild()

              for (int i=0;i<children.length;++i) {
                parent.insertBefore((UAElement)children[i], link);
              }
              addExtraDocuments(destContribution, srcContribution.getExtraDocuments());
            }
            parent.removeChild(link);
          }
        }
        return HANDLED_SKIP;
      }
      return UNHANDLED;
View Full Code Here

Examples of org.eclipse.text.edits.MultiTextEdit.removeChild()

      MultiTextEdit multiTextEdit = (MultiTextEdit) edit;
      for (TextEdit child : multiTextEdit.getChildren()) {
        if (child instanceof InsertEdit) {
          InsertEdit insertEdit = (InsertEdit) child;
          if (insertEdit.getText().indexOf(subString) != -1) {
            multiTextEdit.removeChild(insertEdit);
          }
        } else {
          removeInsertEdits_forSubString(child, subString);
        }
      }
View Full Code Here

Examples of org.eclipse.text.edits.TextEdit.removeChild()

        }
        if (refChanges != null) {
          MultiTextEdit edit = (MultiTextEdit) refChanges.getEdit();
          if (edit.hasChildren()) {
            for (TextEdit e : edit.getChildren()) {
              edit.removeChild(e);
              multiEdit.addChild(e);
              change.addTextEditGroup(new TextEditGroup("Rename " + descriptor.getType() + " reference", e));
            }
          }
        }
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.