All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.uberfire.ext.apps.client.AppsPerspective Maven / Gradle / Ivy

package org.uberfire.ext.apps.client;

import javax.enterprise.context.ApplicationScoped;

import org.uberfire.client.annotations.Perspective;
import org.uberfire.client.annotations.WorkbenchPerspective;
import org.uberfire.mvp.impl.DefaultPlaceRequest;
import org.uberfire.workbench.model.PerspectiveDefinition;
import org.uberfire.workbench.model.impl.PartDefinitionImpl;
import org.uberfire.workbench.model.impl.PerspectiveDefinitionImpl;

@ApplicationScoped
@WorkbenchPerspective(identifier = "AppsPerspective")
public class AppsPerspective {



    @Perspective
    public PerspectiveDefinition buildPerspective() {
        final PerspectiveDefinition p = new PerspectiveDefinitionImpl("org.uberfire.client.workbench.panels.impl.StaticWorkbenchPanelPresenter");
        p.setName( "Apps Perspective" );
        p.getRoot().addPart(
                new PartDefinitionImpl(
                        new DefaultPlaceRequest("AppsHomePresenter")));

        return p;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy