Package org.apache.isis.runtimes.dflt.runtime.viewer

Examples of org.apache.isis.runtimes.dflt.runtime.viewer.IsisViewer


    private List<IsisViewer> findWebViewers(final List<IsisViewer> viewers) {
        final List<IsisViewer> webViewers = new ArrayList<IsisViewer>(viewers);
        CollectionUtils.filter(webViewers, new Predicate() {
            @Override
            public boolean evaluate(final Object object) {
                final IsisViewer viewer = (IsisViewer) object;
                return viewer.getWebAppSpecification() != null;
            }
        });
        return webViewers;
    }
View Full Code Here


        deploymentType.addDefaultViewer(viewersToStart);

        final List<IsisViewer> viewers = Lists.newArrayList();
        for (final String requestedViewer : viewersToStart) {
            final IsisViewerInstaller viewerInstaller = installerLookup.viewerInstaller(requestedViewer);
            final IsisViewer viewer = viewerInstaller.createViewer();
            viewers.add(viewer);
        }
        return new ViewerList(viewers);
    }
View Full Code Here

    public void run() {
        final InstallerLookup installerLookup = getStory().getInstallerLookup();

        final IsisViewerInstaller viewerInstaller = installerLookup.viewerInstaller(DND_VIEWER_NAME);
        final IsisViewer viewer = viewerInstaller.createViewer();

        viewer.init();
    }
View Full Code Here

        deploymentType.addDefaultViewer(viewersToStart);

        final List<IsisViewer> viewers = Lists.newArrayList();
        for (final String requestedViewer : viewersToStart) {
            final IsisViewerInstaller viewerInstaller = installerLookup.viewerInstaller(requestedViewer);
            final IsisViewer viewer = viewerInstaller.createViewer();
            viewers.add(viewer);
        }
        return new ViewerList(viewers);
    }
View Full Code Here

    private List<IsisViewer> findWebViewers(final List<IsisViewer> viewers) {
        final List<IsisViewer> webViewers = new ArrayList<IsisViewer>(viewers);
        CollectionUtils.filter(webViewers, new Predicate() {
            @Override
            public boolean evaluate(final Object object) {
                final IsisViewer viewer = (IsisViewer) object;
                return viewer.getWebAppSpecification() != null;
            }
        });
        return webViewers;
    }
View Full Code Here

TOP

Related Classes of org.apache.isis.runtimes.dflt.runtime.viewer.IsisViewer

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.