Package org.apache.isis.core.progmodel.facets.object.title

Examples of org.apache.isis.core.progmodel.facets.object.title.TitleFacetUsingParser


    }

    @Override
    public String title(final ObjectAdapter object, final Localization localization) {
        final String mask = maskFacet.value();
        final TitleFacetUsingParser titleFacetUsingParser = (TitleFacetUsingParser) underlyingTitleFacet.getUnderlyingFacet();
        if (titleFacetUsingParser != null) {
            final String titleString = titleFacetUsingParser.title(object, mask);
            return titleString;
        } else {
            return underlyingTitleFacet.title(object, localization);
        }
    }
View Full Code Here


            // install the ParseableFacet and other facets if we've been given a
            // Parser
            final Parser<?> parser = semanticsProvider.getParser();
            if (parser != null) {
                facetHolder.addFacet(new ParseableFacetUsingParser(parser, holder, getDeploymentCategory(context), getAuthenticationSessionProvider(), getDependencyInjector(), getAdapterMap()));
                facetHolder.addFacet(new TitleFacetUsingParser(parser, holder, getDependencyInjector()));
                facetHolder.addFacet(new TypicalLengthFacetUsingParser(parser, holder, getDependencyInjector()));
            }

            // install the DefaultedFacet if we've been given a DefaultsProvider
            final DefaultsProvider<?> defaultsProvider = semanticsProvider.getDefaultsProvider();
View Full Code Here

            // install the ParseableFacet and other facets if we've been given a
            // Parser
            final Parser<?> parser = semanticsProvider.getParser();
            if (parser != null) {
                facetHolder.addFacet(new ParseableFacetUsingParser(parser, holder, getAuthenticationSessionProvider(), getDependencyInjector(), getAdapterMap()));
                facetHolder.addFacet(new TitleFacetUsingParser(parser, holder, getDependencyInjector()));
                facetHolder.addFacet(new TypicalLengthFacetUsingParser(parser, holder, getDependencyInjector()));
            }

            // install the DefaultedFacet if we've been given a DefaultsProvider
            final DefaultsProvider<?> defaultsProvider = semanticsProvider.getDefaultsProvider();
View Full Code Here

    }

    @Override
    public String title(final ObjectAdapter object, final Localization localization) {
        final String mask = maskFacet.value();
        final TitleFacetUsingParser titleFacetUsingParser =
            (TitleFacetUsingParser) underlyingTitleFacet.getUnderlyingFacet();
        if (titleFacetUsingParser != null) {
            final String titleString = titleFacetUsingParser.title(object, mask);
            return titleString;
        } else {
            return underlyingTitleFacet.title(object, localization);
        }
    }
View Full Code Here

            // install the ParseableFacet and other facets if we've been given a Parser
            final Parser<?> parser = semanticsProvider.getParser();
            if (parser != null) {
                facetHolder.addFacet(new ParseableFacetUsingParser(parser, holder, getAuthenticationSessionProvider(),
                    getDependencyInjector(), getAdapterMap()));
                facetHolder.addFacet(new TitleFacetUsingParser(parser, holder, getDependencyInjector()));
                facetHolder.addFacet(new TypicalLengthFacetUsingParser(parser, holder, getDependencyInjector()));
            }

            // install the DefaultedFacet if we've been given a DefaultsProvider
            final DefaultsProvider<?> defaultsProvider = semanticsProvider.getDefaultsProvider();
View Full Code Here

TOP

Related Classes of org.apache.isis.core.progmodel.facets.object.title.TitleFacetUsingParser

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.