Examples of Disabled


Examples of org.apache.isis.applib.annotation.Disabled

        // no-op if null
        FacetUtil.addFacet(disabledFacet);
    }

    private static DisabledFacet createFromAnnotationIfPossible(final ProcessMethodContext processMethodContext) {
        final Disabled annotation = Annotations.getAnnotation(processMethodContext.getMethod(), Disabled.class);
        return annotation != null
                ? new DisabledFacetAnnotation(annotation.when(), annotation.where(), annotation.reason(), processMethodContext.getFacetHolder())
                : null;
    }
View Full Code Here

Examples of org.apache.isis.applib.annotation.Disabled

        // no-op if null
        FacetUtil.addFacet(disabledFacet);
    }

    private static DisabledFacet createFromAnnotationIfPossible(final ProcessMethodContext processMethodContext) {
        final Disabled annotation = Annotations.getAnnotation(processMethodContext.getMethod(), Disabled.class);
        return annotation != null
                ? new DisabledFacetAnnotation(annotation.when(), annotation.where(), annotation.reason(), processMethodContext.getFacetHolder())
                : null;
    }
View Full Code Here

Examples of org.apache.isis.applib.annotation.Disabled

        super(FeatureType.MEMBERS);
    }

    @Override
    public void process(final ProcessMethodContext processMethodContext) {
        final Disabled annotation = getAnnotation(processMethodContext.getMethod(), Disabled.class);
        FacetUtil.addFacet(create(annotation, processMethodContext.getFacetHolder()));
    }
View Full Code Here

Examples of org.apache.isis.applib.annotation.Disabled

        super(FeatureType.MEMBERS);
    }

    @Override
    public void process(final ProcessMethodContext processMethodContext) {
        final Disabled annotation = Annotations.getAnnotation(processMethodContext.getMethod(), Disabled.class);
        FacetUtil.addFacet(create(annotation, processMethodContext.getFacetHolder()));
    }
View Full Code Here

Examples of org.apache.isis.viewer.bdd.common.fixtures.perform.checkthat.Disabled

import org.apache.isis.viewer.bdd.common.fixtures.perform.checkthat.collections.Emptiness;

public class CheckCollection extends PerformCheckThatAbstract {

    public CheckCollection(final Perform.Mode mode) {
        super("check collection", OnMemberColumn.REQUIRED, mode, new Hidden(), new Visible(), new Disabled(), new Usable(), new Emptiness(AssertsEmpty.EMPTY), new Emptiness(AssertsEmpty.NOT_EMPTY), new Containment(AssertsContainment.CONTAINS), new Containment(AssertsContainment.DOES_NOT_CONTAIN));
    }
View Full Code Here

Examples of org.apache.isis.viewer.bdd.common.fixtures.perform.checkthat.Disabled

import org.apache.isis.viewer.bdd.common.fixtures.perform.checkthat.action.ArgumentSetValid;

public class CheckAction extends PerformCheckThatAbstract {

    public CheckAction(final Perform.Mode mode) {
        super("check action", OnMemberColumn.REQUIRED, mode, new Hidden(), new Visible(), new Disabled(), new Usable(), new ArgumentSetValid(), new ArgumentSetNotValid());
    }
View Full Code Here

Examples of org.apache.isis.viewer.bdd.common.fixtures.perform.checkthat.Disabled

import org.apache.isis.viewer.bdd.common.fixtures.perform.checkthat.property.NotEmpty;

public class CheckProperty extends PerformCheckThatAbstract {

    public CheckProperty(final Perform.Mode mode) {
        super("check property", OnMemberColumn.REQUIRED, mode, new Hidden(), new Visible(), new Disabled(), new Usable(), new Contains(), new DoesNotContain(), new Empty(), new NotEmpty());
    }
View Full Code Here

Examples of org.apache.isis.viewer.bdd.common.fixtures.perform.checkthat.Disabled

import org.apache.isis.viewer.bdd.common.fixtures.perform.checkthat.property.NotEmpty;

public class CheckProperty extends PerformCheckThatAbstract {

    public CheckProperty(final Perform.Mode mode) {
        super("check property", OnMemberColumn.REQUIRED, mode, new Hidden(), new Visible(), new Disabled(),
            new Usable(), new Contains(), new DoesNotContain(), new Empty(), new NotEmpty());
    }
View Full Code Here

Examples of org.apache.isis.viewer.bdd.common.fixtures.perform.checkthat.Disabled

import org.apache.isis.viewer.bdd.common.fixtures.perform.checkthat.collections.Emptiness;

public class CheckCollection extends PerformCheckThatAbstract {

    public CheckCollection(final Perform.Mode mode) {
        super("check collection", OnMemberColumn.REQUIRED, mode, new Hidden(), new Visible(), new Disabled(),
            new Usable(), new Emptiness(AssertsEmpty.EMPTY), new Emptiness(AssertsEmpty.NOT_EMPTY), new Containment(
                AssertsContainment.CONTAINS), new Containment(AssertsContainment.DOES_NOT_CONTAIN));
    }
View Full Code Here

Examples of org.apache.isis.viewer.bdd.common.fixtures.perform.checkthat.Disabled

import org.apache.isis.viewer.bdd.common.fixtures.perform.checkthat.action.ArgumentSetValid;

public class CheckAction extends PerformCheckThatAbstract {

    public CheckAction(final Perform.Mode mode) {
        super("check action", OnMemberColumn.REQUIRED, mode, new Hidden(), new Visible(), new Disabled(), new Usable(),
            new ArgumentSetValid(), new ArgumentSetNotValid());
    }
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.