Examples of removeNode()


Examples of org.openoffice.xforms.Instance.removeNode()

        // when it comes to saving and loading, only one child of the root element of the instance
        // is handled (is this a bug? see xmloff/source/xforms/XFormsInstanceContext.cxx, method
        // CreateChildContext).
        // So, we remove the default node of the instance which it has all the time
        defaultInstance.removeNode( "instanceData" );

        assure( "booleanAttrib's parent is wrong",
            UnoRuntime.areSame( stringElement, booleanAttrib.getParentNode() ) );
        assure( "dateAttrib's parent is wrong",
            UnoRuntime.areSame( stringElement, dateAttrib.getParentNode() ) );
View Full Code Here

Examples of org.openstreetmap.josm.data.osm.Way.removeNode()

        } else if (ignoreSharedNodes && segmentAngleZero && !alwaysCreateNodes && hasOtherWays) {
            // replace shared node with new one
            Node n1Old = selectedSegment.getFirstNode();
            Node n1New = new Node(Main.getProjection().eastNorth2latlon(newN1en));
            wnew.addNode(insertionPoint, n1New);
            wnew.removeNode(n1Old);
            wayWasModified = true;
            cmds.add(new AddCommand(n1New));
            changedNodes.add(n1New);
        } else {
            //introduce new node
View Full Code Here

Examples of org.osgi.service.prefs.Preferences.removeNode()

                if (wkt != null) {
                    try {
                        return ReferencingFactoryFinder.getCRSFactory(null).createFromWKT(wkt);
                    } catch (Exception e) {
                        UiPlugin.log(wkt, e);
                        child.removeNode();
                    }
                }
            }

        } catch (Exception e) {
View Full Code Here

Examples of org.osgi.service.prefs.Preferences.removeNode()

    }

    private void clearPreferences( Preferences node ) throws BackingStoreException {
        for( String name : node.childrenNames() ) {
            Preferences child = node.node(name);
            child.removeNode();
        }
    }

    /** Access the IBookmarkService for the current workbench */
    public static IBookmarkService getBookmarkService() {
View Full Code Here

Examples of org.osgi.service.prefs.Preferences.removeNode()

     * @throws BackingStoreException
     */
    private void clearPreferences( Preferences node ) throws BackingStoreException {
        for( String name : node.childrenNames() ) {
            Preferences child = node.node(name);
            child.removeNode();
        }
    }


}
View Full Code Here

Examples of org.rhq.augeas.tree.AugeasTree.removeNode()

            AugeasTree tree = comp.getAugeasTree(ApacheServerComponent.AUGEAS_HTTP_MODULE_NAME);

            AugeasNode myNode = getNode(tree);

            if (myNode != null) {
                tree.removeNode(myNode, true);
                tree.save();

                ApacheVirtualHostServiceComponent parentVhost = resourceContext.getParentResourceComponent();

                parentVhost.deleteEmptyFile(tree, myNode);
View Full Code Here

Examples of org.richfaces.component.UITree.removeNode()

      Object state = null;
      if (dragNodeKey != null) { // Drag from this or other tree
    TreeNode parentNode = draggedNode.getParent();
    // 1. remove node from tree
    state = srcTree.removeNode(dragNodeKey);
    // 2. add parent for rerender
    Object rowKey = srcTree.getTreeNodeRowKey(parentNode);
    srcTree.addRequestKey(rowKey);
    if (dropEvent.getDraggableSource() instanceof UIDragSupport) {
        selectedNodeChildren.remove(draggedNode);
View Full Code Here

Examples of prefuse.data.Graph.removeNode()

        Iterator it = rem.edges();
        for ( int i=0; it.hasNext(); ++i ) {
            edges[i] = (Edge)it.next();
        }
       
        assertEquals(true, g.removeNode(rem));
        assertEquals(false, rem.isValid());
       
        Iterator nodes = g.nodes();
        while ( nodes.hasNext() ) {
            assertEquals(cliqueSize-2, ((Node)nodes.next()).getDegree());
View Full Code Here

Examples of ptolemy.vergil.basic.NamedObjNodeModel.removeNode()

            return;
        }

        NamedObjNodeModel model = (NamedObjNodeModel) getNodeModel(node);

        model.removeNode(eventSource, node);
    }

    // FIXME: The following methods are probably inappropriate.
    // They make it impossible to have customized models for
    // particular links or icons. getLinkModel() and
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.