Examples of EntityActionLinkFactory


Examples of org.apache.isis.viewer.wicket.ui.components.entity.EntityActionLinkFactory

    private final EntityActionLinkFactory linkFactory;


    public EntityHeaderPanel(final String id, final EntityModel entityModel) {
        super(id, entityModel);
        linkFactory = new EntityActionLinkFactory(getEntityModel());
    }
View Full Code Here

Examples of org.apache.isis.viewer.wicket.ui.components.entity.EntityActionLinkFactory

                final MemberOrderFacet m1 = o1.getFacet(MemberOrderFacet.class);
                final MemberOrderFacet m2 = o2.getFacet(MemberOrderFacet.class);
                return memberOrderFacetComparator.compare(m1, m2);
            }});
       
        final ActionLinkFactory linkFactory = new EntityActionLinkFactory(entityModel);
   
        final ObjectAdapterMemento adapterMemento = entityModel.getObjectAdapterMemento();
        return Lists.transform(associatedActions, new Function<ObjectAction, LinkAndLabel>(){
   
            @Override
            public LinkAndLabel apply(ObjectAction objectAction) {
                return linkFactory.newLink(adapterMemento, objectAction, LinksSelectorPanelAbstract.ID_ADDITIONAL_LINK, actionPromptProvider);
            }});
    }
View Full Code Here

Examples of org.apache.isis.viewer.wicket.ui.components.entity.EntityActionLinkFactory

    private final EntityActionLinkFactory linkFactory;


    public EntityHeaderPanel(final String id, final EntityModel entityModel) {
        super(id, entityModel);
        linkFactory = new EntityActionLinkFactory(getEntityModel());
    }
View Full Code Here

Examples of org.apache.isis.viewer.wicket.ui.components.entity.EntityActionLinkFactory

    private final EntityActionLinkFactory linkFactory;


    public EntityHeaderPanel(final String id, final EntityModel entityModel) {
        super(id, entityModel);
        linkFactory = new EntityActionLinkFactory(getEntityModel());
    }
View Full Code Here

Examples of org.apache.isis.viewer.wicket.ui.components.entity.EntityActionLinkFactory

                final MemberOrderFacet m1 = o1.getFacet(MemberOrderFacet.class);
                final MemberOrderFacet m2 = o2.getFacet(MemberOrderFacet.class);
                return memberOrderFacetComparator.compare(m1, m2);
            }});
       
        final ActionLinkFactory linkFactory = new EntityActionLinkFactory(entityModel);
   
        final ObjectAdapterMemento adapterMemento = entityModel.getObjectAdapterMemento();
        return Lists.transform(associatedActions, new Function<ObjectAction, LinkAndLabel>(){
   
            @Override
            public LinkAndLabel apply(ObjectAction objectAction) {
                return linkFactory.newLink(adapterMemento, objectAction, LinksSelectorPanelAbstract.ID_ADDITIONAL_LINK, actionPromptProvider);
            }});
    }
View Full Code Here

Examples of org.apache.isis.viewer.wicket.ui.components.entity.EntityActionLinkFactory

                final MemberOrderFacet m1 = o1.getFacet(MemberOrderFacet.class);
                final MemberOrderFacet m2 = o2.getFacet(MemberOrderFacet.class);
                return memberOrderFacetComparator.compare(m1, m2);
            }});
       
        final ActionLinkFactory linkFactory = new EntityActionLinkFactory(entityModel);
   
        final ObjectAdapterMemento adapterMemento = entityModel.getObjectAdapterMemento();
        return Lists.transform(associatedActions, new Function<ObjectAction, LinkAndLabel>(){
   
            @Override
            public LinkAndLabel apply(ObjectAction objectAction) {
                return linkFactory.newLink(adapterMemento, objectAction, LinksSelectorPanelAbstract.ID_ADDITIONAL_LINK, actionPromptModalWindowProvider);
            }});
    }
View Full Code Here

Examples of org.apache.isis.viewer.wicket.ui.components.entity.EntityActionLinkFactory

    private final EntityActionLinkFactory linkFactory;


    public EntityHeaderPanel(final String id, final EntityModel entityModel) {
        super(id, entityModel);
        linkFactory = new EntityActionLinkFactory(getEntityModel());
    }
View Full Code Here

Examples of org.apache.isis.viewer.wicket.ui.components.entity.EntityActionLinkFactory

                final MemberOrderFacet m1 = o1.getFacet(MemberOrderFacet.class);
                final MemberOrderFacet m2 = o2.getFacet(MemberOrderFacet.class);
                return memberOrderFacetComparator.compare(m1, m2);
            }});
       
        final CssMenuLinkFactory linkFactory = new EntityActionLinkFactory(entityModel);
   
        return Lists.transform(userActions, new Function<ObjectAction, LinkAndLabel>(){
   
            @Override
            public LinkAndLabel apply(ObjectAction objectAction) {
                return linkFactory.newLink(adapterMemento, objectAction, LinksSelectorPanelAbstract.ID_ADDITIONAL_LINK);
            }});
    }
View Full Code Here

Examples of org.apache.isis.viewer.wicket.ui.components.entity.EntityActionLinkFactory

    private final EntityActionLinkFactory linkFactory;


    public EntityHeaderPanel(final String id, final EntityModel entityModel) {
        super(id, entityModel);
        linkFactory = new EntityActionLinkFactory(getEntityModel());
    }
View Full Code Here

Examples of org.apache.isis.viewer.wicket.ui.components.entity.blocks.action.EntityActionLinkFactory

    private ImageCache imageCache;

    public EntitySummaryPanel(final String id, final EntityModel entityModel) {
        super(id, entityModel);
        linkFactory = new EntityActionLinkFactory(getEntityModel(), this);
    }
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.