Package org.apache.isis.core.metamodel.layoutmetadata

Examples of org.apache.isis.core.metamodel.layoutmetadata.ActionRepr


           
            final Map<String, ActionRepr> actions = memberRepr.actions;
            if(actions != null) {
                int actSeq = 0;
                for(final String actionName: actions.keySet()) {
                    final ActionRepr actionRepr = actions.get(actionName);
                    String nameKey = "action." + actionName + ".memberOrder.name";
                    props.setProperty(nameKey, memberName);
                    setRemainingActionProperties(props, "action", actionName, actionRepr, ++actSeq);
                }
            }
View Full Code Here


            return;
        }
        int xeq=0;
        final Map<String, ActionRepr> actions = metadata.getActions();
        for (final String actionName : actions.keySet()) {
            final ActionRepr actionRepr = actions.get(actionName);
            setRemainingActionProperties(props, "member", actionName, actionRepr, ++xeq);
        }
    }
View Full Code Here

        }
        metadata.setActions(actions);
    }

    private static ActionRepr newActionRepr(ObjectSpecification objectSpec, ObjectAction action) {
        ActionRepr actionRepr = new ActionRepr();
       
        CssClassFacet cssClassFacet = action.getFacet(CssClassFacet.class);
        if(cssClassFacet != null && !cssClassFacet.isNoop()) {
            CssClassFacetRepr cssClassFacetRepr = new CssClassFacetRepr();
            cssClassFacetRepr.value = cssClassFacet.value();
View Full Code Here

           
            sortByMemberOrderFacet(actions);
           
            for (final ObjectAction action : actions) {
                final String actionId = action.getId();
                memberRepr.actions.put(actionId, new ActionRepr());
                actionIdsForAssociations.add(actionId);
            }
        }
        return memberRepr;
    }
View Full Code Here

        }
        metadata.setActions(actions);
    }

    private static ActionRepr newActionRepr(ObjectSpecification objectSpec, ObjectAction action) {
        return new ActionRepr();
    }
View Full Code Here

           
            sortByMemberOrderFacet(actions);
           
            for (final ObjectAction action : actions) {
                final String actionId = action.getId();
                memberRepr.actions.put(actionId, new ActionRepr());
                actionIdsForAssociations.add(actionId);
            }
        }
        return memberRepr;
    }
View Full Code Here

TOP

Related Classes of org.apache.isis.core.metamodel.layoutmetadata.ActionRepr

Copyright © 2018 www.massapicom. 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.