Package org.thechiselgroup.choosel.dnd.client.windows

Examples of org.thechiselgroup.choosel.dnd.client.windows.WindowContent


        List<WindowPanel> windows = desktop.getWindows();
        List<WindowDTO> windowDTOs = new ArrayList<WindowDTO>();
        for (int i = 0; i < windows.size(); i++) {
            WindowPanel window = windows.get(i);
            WindowContent windowContent = window.getViewContent();

            if (!(windowContent instanceof Persistable)) {
                continue;
            }
View Full Code Here


            int height = wDTO.getHeight();
            String title = wDTO.getTitle();
            int x = wDTO.getX();
            int y = wDTO.getY();

            WindowContent content = viewFactory
                    .createWindowContent(contentType);

            content.setLabel(title);

            desktop.createWindow(content, x, y, width, height);

            /*
             * important: we restore the content after the window was created,
View Full Code Here

                assert id >= 0;
                return resourceSets[id];
            }
        };

        final WindowContent content = windowContentProducer
                .createWindowContent(dto.getContentType());

        content.setLabel(dto.getTitle());

        viewInitializer.init(content);

        /*
         * important: we restore the content after the window was created,
View Full Code Here

    @Inject
    private AsyncCommandExecutor asyncCommandExecutor;

    @Override
    protected void afterInit() {
        WindowContent content = windowContentProducer
                .createWindowContent(WorkbenchInitializer.WINDOW_CONTENT_HELP);

        desktop.createWindow(content, 30, 120, 800, 600);
    }
View Full Code Here

        this.contentType = contentType;
    }

    @Override
    public void execute() {
        WindowContent content = viewFactory.createWindowContent(contentType);

        assert content instanceof HasTextParameter;

        ((HasTextParameter) content).initParameter(searchTerm);
View Full Code Here

TOP

Related Classes of org.thechiselgroup.choosel.dnd.client.windows.WindowContent

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.