/** * A Perspective */ @ApplicationScoped @WorkbenchPerspective(identifier = "Process Admin") public class ProcessAdminSettingsPerspective extends FlowPanel { @Inject @WorkbenchPanel(parts = "Process Admin Settings") FlowPanel tasksAdminSettings; @PostConstruct private void init() { Layouts.setToFillParent( tasksAdminSettings ); add( tasksAdminSettings ); } }
/** * A Perspective */ @ApplicationScoped @WorkbenchPerspective(identifier = "Tasks Admin") public class TaskAdminSettingsPerspective extends FlowPanel { @Inject @WorkbenchPanel(parts = "Tasks Admin Settings") FlowPanel tasksAdminSettings; @PostConstruct private void init() { Layouts.setToFillParent( tasksAdminSettings ); add( tasksAdminSettings ); } }
/** * A Perspective to show File Explorer */ @ApplicationScoped @WorkbenchPerspective(identifier = "Documents Perspective") public class DocumentsListPerspective extends FlowPanel { @Inject @WorkbenchPanel(parts = "Documents Presenter") FlowPanel documents; @PostConstruct private void init() { Layouts.setToFillParent( documents ); add( documents ); } }
@WorkbenchPanel( parts = "Pagination For Tables" ) FlowPanel paginationTables;
/** * This perspective display some indicators about the commit activity around the available GIT repositories */ @Templated @WorkbenchPerspective(identifier = "ContributorsPerspective") public class ContributorsPerspective implements IsElement { @Inject @DataField @WorkbenchPanel(parts = "ContributorsScreen") Div contributors; }
@ApplicationScoped @WorkbenchPerspective( identifier = "HomePerspective", isDefault = true) public class PerspectiveTest19 implements IsElement { @Inject @WorkbenchPanel( parts = "noParameterScreen" ) Div nopParameter; @Inject @WorkbenchPanel( isDefault = true, parts = "oneParameterScreen?uber=fire" ) Div oneParameter; @Inject @WorkbenchPanel( parts = "twoParametersScreen?uber=fire&uber1=fire1" ) Div twoParameters; @PostConstruct public void setup() { } }
@ApplicationScoped @WorkbenchPerspective( identifier = "HomePerspective", isDefault = true) public class PerspectiveTest18 implements IsElement { @Inject @WorkbenchPanel(panelType = MultiListWorkbenchPanelPresenter.class, isDefault = true, parts = "TesteScreen") Div teste1; @Inject @WorkbenchPanel(parts = { "HelloWorldScreen1", "HelloWorldScreen2" }) Div teste2; @PostConstruct public void setup() { } }
@ApplicationScoped @WorkbenchPerspective( identifier = "HomePerspective", isDefault = true) public class PerspectiveTest17 implements IsElement { @Inject @WorkbenchPanel(panelType = MultiTabWorkbenchPanelPresenter.class, isDefault = true, parts = "TesteScreen") Div teste1; @Inject @WorkbenchPanel(parts = "TesteScreen1") Div teste2; @PostConstruct public void setup() { } }
@ApplicationScoped @WorkbenchPerspective( identifier = "HomePerspective", isDefault = true) public class PerspectiveTest13 { @WorkbenchPanel( panelType = MultiTabWorkbenchPanelPresenter.class, isDefault = true, parts = { "HelloWorldScreen1", "HelloWorldScreen2" } ) Object teste = new Object(); @PostConstruct public void setup() { } }
@ApplicationScoped @WorkbenchPerspective( identifier = "HomePerspective", isDefault = true) public class PerspectiveTest16 implements IsElement { @Inject @WorkbenchPanel( panelType = MultiTabWorkbenchPanelPresenter.class, parts = { "HelloWorldScreen1", "HelloWorldScreen2" } ) Div teste; @Inject @WorkbenchPanel( panelType = MultiTabWorkbenchPanelPresenter.class, parts = { "HelloWorldScreen1", "HelloWorldScreen2" } ) Div teste2; @PostConstruct public void setup() { } }