Examples of parent()


Examples of org.locationtech.udig.catalog.jgrass.core.JGrassMapGeoResource.parent()

                                        if (type.equals(JGrassConstants.GRASSBINARYRASTERMAP)) {
                                            String[] mapsetpathAndMapname = JGrassCatalogUtilities
                                                    .getMapsetpathAndMapnameFromJGrassMapGeoResource(mr);
                                            try {
                                                removeGrassRasterMap(mapsetpathAndMapname[0], mapsetpathAndMapname[1]);
                                                ((JGrassMapsetGeoResource) mr.parent(new NullProgressMonitor())).removeMap(
                                                        mapsetpathAndMapname[1], JGrassConstants.GRASSBINARYRASTERMAP);

                                                IMap activeMap = ApplicationGIS.getActiveMap();
                                                List<ILayer> mapLayers = activeMap.getMapLayers();
                                                String mapName = mr.getTitle();
View Full Code Here

Examples of org.neo4j.graphdb.traversal.TraversalBranch.parent()

                Relationship relationship = stepper.relationship();
                if (relationship != null)
                {
                    relationshipsList.addFirst( relationship );
                }
                stepper = stepper.parent();
            }
            nodes = nodesList;
            relationships = relationshipsList;
        }
    }
View Full Code Here

Examples of org.sonar.api.technicaldebt.batch.Characteristic.parent()

        if (characteristicKey != null) {
          Characteristic characteristic = model.characteristicByKey(characteristicKey);
          if (characteristic != null) {
            ruleDebts.add(ruleKey, debt);
            characteristicDebts.add(characteristic, debt);
            propagateTechnicalDebtInParents(characteristic.parent(), debt, characteristicDebts);
            return debt;
          }
        }
      }
    }
View Full Code Here

Examples of org.sonar.api.technicaldebt.batch.internal.DefaultCharacteristic.parent()

    assertThat(resultRootCharacteristic.id()).isEqualTo(1);
    assertThat(resultRootCharacteristic.key()).isEqualTo("MEMORY_EFFICIENCY");
    assertThat(resultRootCharacteristic.name()).isEqualTo("Memory use");
    assertThat(resultRootCharacteristic.order()).isEqualTo(1);
    assertThat(resultRootCharacteristic.children()).hasSize(1);
    assertThat(resultRootCharacteristic.parent()).isNull();
    assertThat(resultRootCharacteristic.root()).isNull();
  }

  @Test
  public void get_characteristic_by_key() throws Exception {
View Full Code Here

Examples of org.springframework.boot.builder.SpringApplicationBuilder.parent()

  }

  @Test
  public void testParent() {
    SpringApplicationBuilder builder = new SpringApplicationBuilder(Child.class);
    builder.parent(Parent.class);
    this.context = builder.run("--server.port=0");
  }

  @Test
  public void testChild() {
View Full Code Here

Examples of org.zkoss.ztl.JQuery.parent()

    waitResponse();
    click(jq("@menuitem[label=\"Top Align\"]").first());
    waitResponse();
       
    cell_B_6 = getSpecifiedCell(1, 5);
        String textAlign = cell_B_6.parent().css("vertical-align");
       
        //TODO: verify
//        if (textAlign != null) {
//            verifyTrue("Unexcepted result: " + textAlign, textAlign.equalsIgnoreCase("top"));
//        } else {
View Full Code Here

Examples of playn.core.Layer.parent()

                // concatenate the transform of all layers above our target layer
                xform.setTransform(1, 0, 0, 1, 0, 0);
                Layer xlayer = layer;
                while (xlayer != null) {
                    xform.preConcatenate((InternalTransform)xlayer.transform());
                    xlayer = xlayer.parent();
                }
                // finally pre-concatenate the root transform as we're bypassing normal rendering
                xform.preConcatenate(graphics().ctx().rootTransform());
                xform.get(_matrix);
            }
View Full Code Here

Examples of wyfs.util.Trie.parent()

        Trie filter = imp.filter;
        if (impName == null) {
          // import name is null, but it's possible that a module of
          // the given name exists, in which case any matching names
          // are automatically imported.
          filter = filter.parent().append(name);
        }
        for (Path.ID mid : builder.imports(filter)) {
          NameID nid = new NameID(mid, name);
          addCandidateFunctionsAndMethods(nid, parameters,
              candidates, context);
View Full Code Here

Examples of xbird.xquery.dm.dtm.IDocumentTable.parent()

            final DocumentTableModel model = getDataModel();
            if(_id == BLOCKS_PER_NODE) {
                return model.createNode(NodeKind.DOCUMENT, 0);
            }
            final IDocumentTable store = documentTable();
            final long pid = store.parent(_id);
            if(pid == 0L) {
                return null;
            }
            return model.createNode(store.getNodeKindAt(pid), pid);
        }
View Full Code Here

Examples of xbird.xquery.dm.value.XQNode.parent()

                while(p != null) {
                    String uri = p.baseUri();
                    if(uri != null) {
                        return uri;
                    }
                    p = p.parent();
                }
                return null;
            }
        }
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.