Examples of PanelDefinition


Examples of org.uberfire.workbench.model.PanelDefinition

    private void buildPerspective() {
        this.perspective = new PerspectiveDefinitionImpl(PanelType.ROOT_STATIC);
        this.perspective.setTransient(true);
        this.perspective.setName("Authoring perspective");

        final PanelDefinition west = new PanelDefinitionImpl(PanelType.SIMPLE);
        west.setWidth(300);
        west.addPart(new PartDefinitionImpl(new DefaultPlaceRequest("FileExplorer")));

        this.perspective.getRoot().insertChild(Position.WEST, west);
    }
View Full Code Here

Examples of org.uberfire.workbench.model.PanelDefinition

        this.perspective = new PerspectiveDefinitionImpl(PanelType.ROOT_LIST);
        this.perspective.setName(AppConstants.INSTANCE.AdministrationPerspectiveName());

        this.perspective.getRoot().addPart(new PartDefinitionImpl(new DefaultPlaceRequest("RepositoriesEditor")));

        final PanelDefinition west = new PanelDefinitionImpl(PanelType.SIMPLE);
        west.setWidth(300);
        west.setMinWidth(200);
        west.addPart(new PartDefinitionImpl(new DefaultPlaceRequest("FileExplorer")));

        this.perspective.getRoot().insertChild(Position.WEST,
                west);
    }
View Full Code Here

Examples of org.uberfire.workbench.model.PanelDefinition

    private void buildPerspective() {
        this.perspective = new PerspectiveDefinitionImpl(PanelType.ROOT_LIST);
        this.perspective.setName("Author");

        final PanelDefinition west = new PanelDefinitionImpl(PanelType.SIMPLE);
        west.setWidth(400);
        west.setMinWidth(350);
        west.addPart(new PartDefinitionImpl(new DefaultPlaceRequest("org.kie.guvnor.explorer")));

        this.perspective.getRoot().insertChild(Position.WEST,
                west);
    }
View Full Code Here

Examples of org.uberfire.workbench.model.PanelDefinition

        this.perspective = new PerspectiveDefinitionImpl( PanelType.ROOT_LIST );
        this.perspective.setName( "Guvnor M2 Repository Explorer" );

        this.perspective.getRoot().addPart( new PartDefinitionImpl( new DefaultPlaceRequest( "M2RepoEditor" ) ) );

        final PanelDefinition west = new PanelDefinitionImpl( PanelType.MULTI_LIST );
        west.setWidth( 300 );
        west.setMinWidth( 200 );
        west.addPart( new PartDefinitionImpl( new DefaultPlaceRequest( "FileExplorer" ) ) );

        this.perspective.getRoot().insertChild( Position.WEST, west );
    }
View Full Code Here

Examples of org.uberfire.workbench.model.PanelDefinition

        this.perspective = new PerspectiveDefinitionImpl( PanelType.ROOT_LIST );
        this.perspective.setName( "Administration" );

        this.perspective.getRoot().addPart( new PartDefinitionImpl( new DefaultPlaceRequest( "RepositoriesEditor" ) ) );

        final PanelDefinition west = new PanelDefinitionImpl( PanelType.MULTI_LIST );
        west.setWidth( 300 );
        west.setMinWidth( 200 );
        west.addPart( new PartDefinitionImpl( new DefaultPlaceRequest( "FileExplorer" ) ) );

        this.perspective.getRoot().insertChild( Position.WEST,
                                                west );
    }
View Full Code Here

Examples of org.uberfire.workbench.model.PanelDefinition

    private void buildPerspective() {
        this.perspective = new PerspectiveDefinitionImpl( PanelType.ROOT_LIST );
        this.perspective.setName( "Author" );

        final PanelDefinition west = new PanelDefinitionImpl( PanelType.MULTI_LIST );
        west.setWidth( 300 );
        west.setMinWidth( 200 );
        west.addPart( new PartDefinitionImpl( new DefaultPlaceRequest( "org.kie.guvnor.explorer" ) ) );

        this.perspective.getRoot().insertChild( Position.WEST,
                                                west );
    }
View Full Code Here

Examples of org.uberfire.workbench.model.PanelDefinition

        this.perspective = new PerspectiveDefinitionImpl();
        this.perspective.setName( "Administration" );

        this.perspective.getRoot().addPart( new PartDefinitionImpl( new DefaultPlaceRequest( "RepositoriesEditor" ) ) );

        final PanelDefinition west = new PanelDefinitionImpl();
        west.setWidth( 300 );
        west.setMinWidth( 200 );
        west.addPart( new PartDefinitionImpl( new DefaultPlaceRequest( "FileExplorer" ) ) );

        this.perspective.getRoot().insertChild( Position.WEST, west );
    }
View Full Code Here

Examples of org.uberfire.workbench.model.PanelDefinition

    private void buildPerspective() {
        this.perspective = new PerspectiveDefinitionImpl();
        this.perspective.setName( "Author" );

        final PanelDefinition west = new PanelDefinitionImpl();
        west.setWidth( 300 );
        west.setMinWidth( 200 );
        west.addPart( new PartDefinitionImpl( new DefaultPlaceRequest( "org.kie.guvnor.explorer" ) ) );

        this.perspective.getRoot().insertChild( Position.WEST, west );
    }
View Full Code Here

Examples of org.uberfire.workbench.model.PanelDefinition

        this.perspective = new PerspectiveDefinitionImpl();
        this.perspective.setName( "Administration" );

        this.perspective.getRoot().addPart( new PartDefinitionImpl( new DefaultPlaceRequest( "RepositoriesEditor" ) ) );

        final PanelDefinition west = new PanelDefinitionImpl();
        west.setWidth( 300 );
        west.setMinWidth( 200 );
        west.addPart( new PartDefinitionImpl( new DefaultPlaceRequest( "FileExplorer" ) ) );

        this.perspective.getRoot().insertChild( Position.WEST, west );
    }
View Full Code Here

Examples of org.uberfire.workbench.model.PanelDefinition

    private void buildPerspective() {
        this.perspective = new PerspectiveDefinitionImpl();
        this.perspective.setName( "Author" );

        final PanelDefinition west = new PanelDefinitionImpl();
        west.setWidth( 300 );
        west.setMinWidth( 200 );
        west.addPart( new PartDefinitionImpl( new DefaultPlaceRequest( "org.kie.guvnor.explorer" ) ) );

        this.perspective.getRoot().insertChild( Position.WEST, west );
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.