Package org.apache.isis.core.runtime.installerregistry.installerapi

Examples of org.apache.isis.core.runtime.installerregistry.installerapi.IsisViewerInstaller


        final List<String> viewersToStart = Lists.newArrayList(viewerNames);
        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


        return getInstaller(IsisViewerInstaller.class, viewer);
    }

    @Override
    public IsisViewerInstaller viewerInstaller(final String name) {
        final IsisViewerInstaller installer = getInstaller(IsisViewerInstaller.class, name);
        if (installer == null) {
            throw new IsisException("No viewer installer of type " + name);
        }
        return installer;
    }
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

TOP

Related Classes of org.apache.isis.core.runtime.installerregistry.installerapi.IsisViewerInstaller

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.