Examples of only()


Examples of org.carrot2.util.attribute.BindableDescriptor.only()

        BindableDescriptor descriptor = this.descriptor.only(
            Predicates.not(new InternalAttributePredicate(false))).only(
            new HasEditorPredicate());
        if (filterPredicate != null)
        {
            descriptor = descriptor.only(filterPredicate);
        }

        /*
         * CARROT-818: Check if there is anything for display.
         */
 
View Full Code Here

Examples of org.carrot2.util.attribute.BindableDescriptor.only()

        BindableDescriptor componentDescriptor = core.getComponentDescriptor(algorithmID);
        if (componentDescriptor == null) {
            throw new RuntimeException("No descriptor for algorithm: " + algorithmID);
        }
        return componentDescriptor.only(Input.class,
            Processing.class).only(Predicates.not(new InternalAttributePredicate(false)));
    }

    /**
     * Creates reusable jobs used in the editor.
View Full Code Here

Examples of org.kite9.diagram.builders.java.DiagramBuilder.only()

    @Test
    public void test_4_3_PackageAsContextWithClassContents2() throws IOException {
  DiagramBuilder db = createBuilder();
  db.withPackages(Test4Package.class)
    .show(db.asConnectedContexts())
    .withMemberClasses(null).reduce(db.only(Test4Package.class))
      .show(db.asConnectedGlyphs());
  renderDiagram(db.getDiagram());
    }
   
   
View Full Code Here

Examples of org.kite9.diagram.builders.java.DiagramBuilder.only()

    ObjectDependencyWizard odw = new ObjectDependencyWizard(db, null);
    odw.setShowFieldValues(false);
    odw.setShowMethodReturnValues(true);
    odw.setValueFilter(db.and(
        db.onlyInModel(this.getClass().getPackage()),
        db.not(db.only(AHelper.class))));
    odw.show(ob);
    renderDiagram(db.getDiagram());
  }
 
  @Before
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.