├── .gitignore ├── README.txt ├── doc ├── Reference.odt └── Reference.pdf ├── gui ├── app-base │ ├── pom.xml │ └── src │ │ ├── main │ │ ├── java.filtered │ │ │ └── org │ │ │ │ └── jboss │ │ │ │ └── bpm │ │ │ │ └── console │ │ │ │ └── client │ │ │ │ └── Version.java │ │ ├── java │ │ │ └── org │ │ │ │ ├── gwt │ │ │ │ └── mosaic │ │ │ │ │ └── ui │ │ │ │ │ └── client │ │ │ │ │ └── layout │ │ │ │ │ └── MosaicPanel.java │ │ │ │ └── jboss │ │ │ │ └── bpm │ │ │ │ └── console │ │ │ │ ├── Application.gwt.xml │ │ │ │ ├── client │ │ │ │ ├── ApplicationContext.java │ │ │ │ ├── Authentication.java │ │ │ │ ├── BootstrapAction.java │ │ │ │ ├── ConsoleConfig.java │ │ │ │ ├── ErraiApplication.java │ │ │ │ ├── LazyPanel.java │ │ │ │ ├── LoadingStatusAction.java │ │ │ │ ├── LoginAction.java │ │ │ │ ├── LoginView.java │ │ │ │ ├── PreferencesModule.java │ │ │ │ ├── PreferencesView.java │ │ │ │ ├── ServerPlugins.java │ │ │ │ ├── ServerStatusModule.java │ │ │ │ ├── ServerStatusView.java │ │ │ │ ├── URLBuilder.java │ │ │ │ ├── common │ │ │ │ │ ├── AbstractRESTAction.java │ │ │ │ │ ├── AbstractView.java │ │ │ │ │ ├── DataDriven.java │ │ │ │ │ ├── HeaderLabel.java │ │ │ │ │ ├── IFrameWindowCallback.java │ │ │ │ │ ├── IFrameWindowPanel.java │ │ │ │ │ ├── IconHeader.java │ │ │ │ │ ├── ListBoxToolbar.java │ │ │ │ │ ├── LoadingOverlay.java │ │ │ │ │ ├── Model.java │ │ │ │ │ ├── ModelCommands.java │ │ │ │ │ ├── ModelParts.java │ │ │ │ │ ├── PagingCallback.java │ │ │ │ │ ├── PagingPanel.java │ │ │ │ │ ├── PropertyGrid.java │ │ │ │ │ └── WidgetWindowPanel.java │ │ │ │ ├── engine │ │ │ │ │ ├── DeleteDeploymentAction.java │ │ │ │ │ ├── DeploymentDetailView.java │ │ │ │ │ ├── DeploymentListView.java │ │ │ │ │ ├── DeploymentModule.java │ │ │ │ │ ├── ExecuteJobAction.java │ │ │ │ │ ├── JobListModule.java │ │ │ │ │ ├── JobListView.java │ │ │ │ │ ├── ResourcePanel.java │ │ │ │ │ ├── ResumeDeploymentAction.java │ │ │ │ │ ├── SuspendDeploymentAction.java │ │ │ │ │ ├── UpdateDeploymentDetailAction.java │ │ │ │ │ ├── UpdateDeploymentsAction.java │ │ │ │ │ ├── UpdateJobsAction.java │ │ │ │ │ └── ViewDeploymentAction.java │ │ │ │ ├── events │ │ │ │ │ └── BootstrapEvent.java │ │ │ │ ├── history │ │ │ │ │ ├── LoadProcessDefinitionsAction.java │ │ │ │ │ ├── LoadProcessHistoryAction.java │ │ │ │ │ ├── LoadProcessInstanceEventsAction.java │ │ │ │ │ ├── ProcessHistoryInstanceListView.java │ │ │ │ │ ├── ProcessHistorySearchModule.java │ │ │ │ │ ├── ProcessHistorySearchView.java │ │ │ │ │ └── ProcessSearchEvent.java │ │ │ │ ├── icons │ │ │ │ │ ├── 05_1.png │ │ │ │ │ ├── 13.png │ │ │ │ │ ├── 27.png │ │ │ │ │ ├── 49.png │ │ │ │ │ ├── ConsoleIconBundle.java │ │ │ │ │ ├── add.png │ │ │ │ │ ├── add_small.png │ │ │ │ │ ├── arrow_blue.png │ │ │ │ │ ├── black.png │ │ │ │ │ ├── blue.png │ │ │ │ │ ├── catForms.png │ │ │ │ │ ├── collapseDown.png │ │ │ │ │ ├── collapseLeft.png │ │ │ │ │ ├── confirmIcon.png │ │ │ │ │ ├── confirm_small.png │ │ │ │ │ ├── database.gif │ │ │ │ │ ├── denyIcon.png │ │ │ │ │ ├── deny_small.png │ │ │ │ │ ├── deployment.png │ │ │ │ │ ├── dialog-error.png │ │ │ │ │ ├── dialog-information.png │ │ │ │ │ ├── dialog-password.png │ │ │ │ │ ├── dialog-question.png │ │ │ │ │ ├── dialog-warning.png │ │ │ │ │ ├── docIcon.png │ │ │ │ │ ├── errorIcon.png │ │ │ │ │ ├── examine.png │ │ │ │ │ ├── filter.png │ │ │ │ │ ├── green.png │ │ │ │ │ ├── grey.png │ │ │ │ │ ├── jobs.png │ │ │ │ │ ├── large.png │ │ │ │ │ ├── large_small.png │ │ │ │ │ ├── loading.gif │ │ │ │ │ ├── lockIcon.png │ │ │ │ │ ├── lock_small.png │ │ │ │ │ ├── pause.png │ │ │ │ │ ├── pause_small.png │ │ │ │ │ ├── piece.png │ │ │ │ │ ├── play.png │ │ │ │ │ ├── play_small.png │ │ │ │ │ ├── processIcon.png │ │ │ │ │ ├── red.png │ │ │ │ │ ├── reload.png │ │ │ │ │ ├── reload_small.png │ │ │ │ │ ├── remove.png │ │ │ │ │ ├── remove_small.png │ │ │ │ │ ├── report.png │ │ │ │ │ ├── reportInstance.png │ │ │ │ │ ├── runtime.png │ │ │ │ │ ├── stop.png │ │ │ │ │ ├── stop_small.png │ │ │ │ │ ├── taskIcon.png │ │ │ │ │ ├── tool-button-collapse-down.png │ │ │ │ │ ├── tool-button-collapse-left.png │ │ │ │ │ ├── tool-button-collapse-right.png │ │ │ │ │ ├── tool-button-collapse-up.png │ │ │ │ │ ├── tool-button-minus.png │ │ │ │ │ ├── tool-button-plus.png │ │ │ │ │ ├── tool-button-refresh.png │ │ │ │ │ ├── toolsIcon.png │ │ │ │ │ ├── unlock.png │ │ │ │ │ ├── userIcon.png │ │ │ │ │ ├── window-button-close.png │ │ │ │ │ ├── window-button-maximize.png │ │ │ │ │ ├── window-button-minimize.png │ │ │ │ │ ├── window-button-restore.png │ │ │ │ │ ├── ws.png │ │ │ │ │ └── yellow.png │ │ │ │ ├── model │ │ │ │ │ ├── DTOParser.java │ │ │ │ │ ├── JSOModel.java │ │ │ │ │ └── JSOParser.java │ │ │ │ ├── monitor │ │ │ │ │ ├── ExecutionHistoryView.java │ │ │ │ │ ├── GetProcessDefinitionsAction.java │ │ │ │ │ ├── LoadChartProcessInstanceEvent.java │ │ │ │ │ ├── LoadChartProcessInstancesAction.java │ │ │ │ │ ├── LoadDatasetEvent.java │ │ │ │ │ └── LoadDatasetsAction.java │ │ │ │ ├── process │ │ │ │ │ ├── ActivityDiagramView.java │ │ │ │ │ ├── ClearInstancesAction.java │ │ │ │ │ ├── DefinitionHistoryListView.java │ │ │ │ │ ├── DefinitionListView.java │ │ │ │ │ ├── DeleteDefinitionAction.java │ │ │ │ │ ├── DeleteInstanceAction.java │ │ │ │ │ ├── DeploymentPanel.java │ │ │ │ │ ├── GetProcessInstanceEventsAction.java │ │ │ │ │ ├── HistoryInstanceListView.java │ │ │ │ │ ├── InstanceDataView.java │ │ │ │ │ ├── InstanceDetailView.java │ │ │ │ │ ├── InstanceListView.java │ │ │ │ │ ├── JSONTree.java │ │ │ │ │ ├── LoadActivityDiagramAction.java │ │ │ │ │ ├── LoadHistoryDiagramAction.java │ │ │ │ │ ├── LoadInstanceActivityImage.java │ │ │ │ │ ├── MergedProcessHistoryView.java │ │ │ │ │ ├── MergedProcessView.java │ │ │ │ │ ├── ProcessDetailView.java │ │ │ │ │ ├── ProcessHistoryModule.java │ │ │ │ │ ├── ProcessModule.java │ │ │ │ │ ├── SignalExecutionAction.java │ │ │ │ │ ├── StartNewInstanceAction.java │ │ │ │ │ ├── StateChangeAction.java │ │ │ │ │ ├── UpdateDefinitionsAction.java │ │ │ │ │ ├── UpdateHistoryDefinitionAction.java │ │ │ │ │ ├── UpdateHistoryDefinitionsAction.java │ │ │ │ │ ├── UpdateHistoryInstanceAction.java │ │ │ │ │ ├── UpdateInstanceDataAction.java │ │ │ │ │ ├── UpdateInstanceDetailAction.java │ │ │ │ │ ├── UpdateInstancesAction.java │ │ │ │ │ ├── UpdateProcessDetailAction.java │ │ │ │ │ ├── events │ │ │ │ │ │ ├── ActivityDiagramResultEvent.java │ │ │ │ │ │ ├── HistoryActivityDiagramEvent.java │ │ │ │ │ │ ├── InstanceEvent.java │ │ │ │ │ │ └── SignalInstanceEvent.java │ │ │ │ │ └── v2 │ │ │ │ │ │ ├── Explorer.java │ │ │ │ │ │ └── ProcessGroups.java │ │ │ │ ├── report │ │ │ │ │ ├── RenderDispatchEvent.java │ │ │ │ │ ├── RenderReportAction.java │ │ │ │ │ ├── ReportFrame.java │ │ │ │ │ ├── ReportLaunchPadView.java │ │ │ │ │ ├── ReportModule.java │ │ │ │ │ ├── ReportParamCallback.java │ │ │ │ │ ├── ReportParameterForm.java │ │ │ │ │ ├── ReportView.java │ │ │ │ │ └── UpdateReportConfigAction.java │ │ │ │ ├── search │ │ │ │ │ ├── SearchDefinitionView.java │ │ │ │ │ ├── SearchDelegate.java │ │ │ │ │ ├── SearchWindow.java │ │ │ │ │ └── UpdateSearchDefinitionsAction.java │ │ │ │ ├── task │ │ │ │ │ ├── AbstractTaskList.java │ │ │ │ │ ├── AssignTaskAction.java │ │ │ │ │ ├── AssignedTasksModule.java │ │ │ │ │ ├── AssignedTasksView.java │ │ │ │ │ ├── ClaimTaskAction.java │ │ │ │ │ ├── LoadTasksAction.java │ │ │ │ │ ├── LoadTasksParticipationAction.java │ │ │ │ │ ├── OpenTasksModule.java │ │ │ │ │ ├── OpenTasksView.java │ │ │ │ │ ├── ParticipantPanel.java │ │ │ │ │ ├── ReleaseTaskAction.java │ │ │ │ │ ├── ReloadAllTaskListsAction.java │ │ │ │ │ ├── SkipTaskAction.java │ │ │ │ │ ├── TaskDetailView.java │ │ │ │ │ ├── UpdateDetailsAction.java │ │ │ │ │ └── events │ │ │ │ │ │ ├── AssignEvent.java │ │ │ │ │ │ ├── DetailViewEvent.java │ │ │ │ │ │ └── TaskIdentityEvent.java │ │ │ │ └── util │ │ │ │ │ ├── ConsoleLog.java │ │ │ │ │ ├── DOMUtil.java │ │ │ │ │ ├── DateLocale.java │ │ │ │ │ ├── Debug.java │ │ │ │ │ ├── JSONWalk.java │ │ │ │ │ ├── MapEntry.java │ │ │ │ │ ├── SimpleDateFormat.java │ │ │ │ │ ├── SimpleDateParser.java │ │ │ │ │ ├── WindowUtil.java │ │ │ │ │ └── regex │ │ │ │ │ └── Pattern.java │ │ │ │ ├── public │ │ │ │ ├── blank.html │ │ │ │ ├── chome-override.css │ │ │ │ ├── console.css │ │ │ │ ├── header_background.png │ │ │ │ └── images │ │ │ │ │ ├── bg_headergradient.png │ │ │ │ │ ├── bg_listgradient.png │ │ │ │ │ ├── bg_stackpanel.png │ │ │ │ │ ├── bg_tab.png │ │ │ │ │ ├── bg_tab_selected.png │ │ │ │ │ ├── bgfade.png │ │ │ │ │ ├── bgleftgradient.png │ │ │ │ │ ├── corner.png │ │ │ │ │ ├── default-icon.gif │ │ │ │ │ ├── expand-button.png │ │ │ │ │ ├── guvnorlogo.jpg │ │ │ │ │ ├── guvnorlogo.png │ │ │ │ │ ├── hborder.png │ │ │ │ │ ├── ie6 │ │ │ │ │ ├── corner_dialog_topleft.png │ │ │ │ │ ├── corner_dialog_topright.png │ │ │ │ │ ├── hborder_blue_shadow.png │ │ │ │ │ ├── hborder_gray_shadow.png │ │ │ │ │ ├── vborder_blue_shadow.png │ │ │ │ │ └── vborder_gray_shadow.png │ │ │ │ │ ├── jbosslogo.jpg │ │ │ │ │ ├── listhighlightbg.png │ │ │ │ │ ├── loading.gif │ │ │ │ │ ├── navbargradient.jpg │ │ │ │ │ ├── tab-active.png │ │ │ │ │ ├── tab.png │ │ │ │ │ ├── titlegradient-sel.jpg │ │ │ │ │ ├── titlegradient.jpg │ │ │ │ │ ├── titlegradient.png │ │ │ │ │ ├── traynotifybg.png │ │ │ │ │ ├── ui │ │ │ │ │ └── layout │ │ │ │ │ │ ├── DockLink.png │ │ │ │ │ │ ├── column-header.png │ │ │ │ │ │ ├── dialogbg.png │ │ │ │ │ │ ├── dialogpriority.png │ │ │ │ │ │ ├── dropshadow │ │ │ │ │ │ ├── eq-bottom.png │ │ │ │ │ │ ├── eq-bottomleft-inner.png │ │ │ │ │ │ ├── eq-bottomleft.png │ │ │ │ │ │ ├── eq-bottomright-inner.png │ │ │ │ │ │ ├── eq-bottomright.png │ │ │ │ │ │ ├── eq-left.png │ │ │ │ │ │ ├── eq-leftbottom.png │ │ │ │ │ │ ├── eq-lefttop.png │ │ │ │ │ │ ├── eq-right.png │ │ │ │ │ │ ├── eq-rightbottom.png │ │ │ │ │ │ ├── eq-righttop.png │ │ │ │ │ │ ├── eq-top.png │ │ │ │ │ │ ├── eq-topleft-inner.png │ │ │ │ │ │ ├── eq-topleft.png │ │ │ │ │ │ ├── eq-topright-inner.png │ │ │ │ │ │ └── eq-topright.png │ │ │ │ │ │ ├── navbar.png │ │ │ │ │ │ ├── navbar.png_1 │ │ │ │ │ │ ├── navbartitle.png │ │ │ │ │ │ ├── navbartitle.png_1 │ │ │ │ │ │ ├── navbartitle.png_2 │ │ │ │ │ │ ├── navbartitle.png_3 │ │ │ │ │ │ ├── navbartitle.png_4 │ │ │ │ │ │ ├── section-header.png │ │ │ │ │ │ └── tabselected.png │ │ │ │ │ └── vborder.png │ │ │ │ ├── rebind │ │ │ │ └── WorkspaceGenerator.java │ │ │ │ └── workspace-default.cfg │ │ └── resources │ │ │ ├── ErraiApp.properties │ │ │ ├── ErraiService.properties │ │ │ ├── mvc4g-conf.xml │ │ │ └── xhp.json │ │ └── test │ │ ├── examples │ │ ├── ForkJoinExample.par │ │ └── TaskAssignmentExample.par │ │ ├── java │ │ ├── HTTP.java │ │ └── PreparationTest.java │ │ └── resources │ │ ├── ForkJoinExample3.par │ │ └── SampleProcess.par ├── pom.xml ├── profiles │ ├── drools │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── resources │ │ │ ├── console.config.js │ │ │ └── toolset-profile.properties │ ├── jbpm │ │ ├── pom.xml │ │ └── src │ │ │ └── main │ │ │ └── resources │ │ │ ├── app.html │ │ │ ├── console.config.js │ │ │ ├── errai-proxy.json │ │ │ ├── jbpm.gif │ │ │ ├── jbpm_logo.png │ │ │ └── toolset-profile.properties │ ├── pom.xml │ └── riftsaw │ │ ├── pom.xml │ │ └── src │ │ └── main │ │ └── resources │ │ ├── app.html │ │ ├── console.config.js │ │ ├── riftsaw_logo.png │ │ └── toolset-profile.properties ├── war-base │ ├── pom.xml │ └── src │ │ ├── main │ │ └── webapp │ │ │ ├── WEB-INF │ │ │ └── web.xml │ │ │ ├── chart.css │ │ │ ├── images │ │ │ ├── Jbpm_logo.png │ │ │ ├── Jbpm_logo_small.png │ │ │ ├── ajax-loader.gif │ │ │ ├── bg_gradient.gif │ │ │ ├── bg_headergradient.gif │ │ │ ├── bg_listgradient.gif │ │ │ ├── bg_suggestgradient.gif │ │ │ ├── blank_loading.gif │ │ │ ├── blank_splash.gif │ │ │ ├── gwt-logo.png │ │ │ ├── icons │ │ │ │ ├── 05.png │ │ │ │ ├── 05_1.png │ │ │ │ ├── 13.png │ │ │ │ ├── 14.png │ │ │ │ ├── 27.png │ │ │ │ ├── 29.png │ │ │ │ ├── 31.png │ │ │ │ ├── 36.png │ │ │ │ ├── 41.png │ │ │ │ ├── 49.png │ │ │ │ ├── add.png │ │ │ │ ├── add_small.png │ │ │ │ ├── confirm.png │ │ │ │ ├── confirm_small.png │ │ │ │ ├── deny.png │ │ │ │ ├── deny_small.png │ │ │ │ ├── error.png │ │ │ │ ├── examine.png │ │ │ │ ├── large.png │ │ │ │ ├── large_small.png │ │ │ │ ├── loading.gif │ │ │ │ ├── lock.png │ │ │ │ ├── lock_small.png │ │ │ │ ├── pause.png │ │ │ │ ├── pause_small.png │ │ │ │ ├── play.png │ │ │ │ ├── play_red_big.png │ │ │ │ ├── play_small.png │ │ │ │ ├── remove.png │ │ │ │ ├── remove_small.png │ │ │ │ ├── stop.png │ │ │ │ ├── stop_small.png │ │ │ │ └── unlock.png │ │ │ ├── loading-circle.gif │ │ │ ├── loading.gif │ │ │ ├── loading_lite.gif │ │ │ ├── processSample.jpg │ │ │ └── tab.gif │ │ │ └── index.html │ │ └── test │ │ ├── examples │ │ ├── ForkJoinExample.par │ │ └── TaskAssignmentExample.par │ │ ├── java │ │ ├── HTTP.java │ │ └── PreparationTest.java │ │ └── resources │ │ ├── ForkJoinExample3.par │ │ └── SampleProcess.par ├── war-templates │ ├── pom.xml │ └── src │ │ └── main │ │ └── resources │ │ └── WEB-INF │ │ ├── classes │ │ └── errai-proxy.json │ │ ├── jboss-web.xml │ │ └── web.xml └── wars │ ├── GWT_TEST_README.txt │ ├── README.txt │ ├── jbpm │ ├── pom.xml │ └── src │ │ └── main │ │ ├── properties │ │ └── jbpm.properties │ │ ├── resources │ │ └── toolset-profile.properties │ │ └── webapp │ │ ├── app.html │ │ ├── app │ │ ├── app.html │ │ ├── console.config.js │ │ ├── errai-proxy.json │ │ ├── jbpm.gif │ │ ├── jbpm_logo.png │ │ └── toolset-profile.properties │ │ ├── console.config.js │ │ ├── errai-proxy.json │ │ ├── jbpm.gif │ │ ├── jbpm_logo.png │ │ └── toolset-profile.properties │ ├── pom.xml │ └── riftsaw │ ├── pom.xml │ └── src │ └── main │ ├── properties │ └── riftsaw.properties │ └── webapp │ ├── app.html │ └── app │ ├── app.html │ ├── console.config.js │ ├── riftsaw_logo.png │ └── toolset-profile.properties ├── pom.xml ├── server ├── integration │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── org │ │ └── jboss │ │ └── bpm │ │ └── console │ │ └── server │ │ ├── integration │ │ ├── ManagementFactory.java │ │ ├── ProcessManagement.java │ │ ├── TaskManagement.java │ │ └── UserManagement.java │ │ ├── plugin │ │ ├── FormAuthorityRef.java │ │ ├── FormDispatcherPlugin.java │ │ ├── GraphViewerPlugin.java │ │ ├── PluginMgr.java │ │ ├── ProcessActivityPlugin.java │ │ ├── ProcessEnginePlugin.java │ │ └── ProcessHistoryPlugin.java │ │ └── utils │ │ ├── InvocationProxy.java │ │ └── ServiceLoader.java ├── pom.xml ├── war-base │ ├── SQL.txt │ ├── pom.xml │ ├── scripts │ │ └── assembly-config.xml │ └── src │ │ ├── main │ │ ├── java │ │ │ └── org │ │ │ │ └── jboss │ │ │ │ └── bpm │ │ │ │ └── console │ │ │ │ └── server │ │ │ │ ├── ConsoleServerApplication.java │ │ │ │ ├── EngineFacade.java │ │ │ │ ├── FormProcessingFacade.java │ │ │ │ ├── InfoFacade.java │ │ │ │ ├── ProcessHistoryFacade.java │ │ │ │ ├── ProcessMgmtFacade.java │ │ │ │ ├── TaskListFacade.java │ │ │ │ ├── TaskMgmtFacade.java │ │ │ │ ├── UserMgmtFacade.java │ │ │ │ ├── gson │ │ │ │ ├── GsonFactory.java │ │ │ │ └── SQLDateTypeAdapter.java │ │ │ │ └── util │ │ │ │ ├── BufferedResponseWrapper.java │ │ │ │ ├── DOMUtils.java │ │ │ │ ├── FilterServletOutputStream.java │ │ │ │ ├── GWTJsonFilter.java │ │ │ │ ├── Payload2XML.java │ │ │ │ ├── PayloadCollection.java │ │ │ │ ├── PayloadEntry.java │ │ │ │ ├── ProjectName.java │ │ │ │ ├── RsComment.java │ │ │ │ ├── RsDocBuilder.java │ │ │ │ └── RsDocGenerator.java │ │ ├── resources │ │ │ ├── definition_report.rptconfig │ │ │ ├── definition_report.rptdesign │ │ │ ├── instance_report.rptconfig │ │ │ ├── instance_report.rptdesign │ │ │ ├── process.jpdl.xml │ │ │ ├── process_activity.rptdesign │ │ │ └── task_report.rptdesign │ │ └── webapp │ │ │ ├── WEB-INF │ │ │ └── web.xml │ │ │ ├── index.html │ │ │ ├── login.html │ │ │ └── login_failed.html │ │ └── test │ │ └── java │ │ └── org │ │ └── jboss │ │ └── bpm │ │ └── test │ │ └── typeconversion │ │ ├── AnnotatedComplexType.java │ │ ├── ComplexType.java │ │ ├── IllegalType.java │ │ └── TypeConversionTestCase.java └── wars │ ├── jbpm │ ├── pom.xml │ └── src │ │ └── main │ │ └── webapp │ │ └── WEB-INF │ │ └── jboss-web.xml │ ├── pom.xml │ └── riftsaw │ ├── pom.xml │ └── src │ └── main │ └── webapp │ └── WEB-INF │ └── jboss-web.xml └── shared ├── pom.xml └── rpc ├── pom.xml └── src └── main ├── java └── org │ └── jboss │ └── bpm │ └── console │ └── client │ └── model │ ├── ActiveNodeInfo.java │ ├── DeploymentRef.java │ ├── DeploymentRefWrapper.java │ ├── DiagramInfo.java │ ├── DiagramNodeInfo.java │ ├── HistoryActivityInstanceRef.java │ ├── HistoryActivityInstanceRefWrapper.java │ ├── HistoryProcessInstanceRef.java │ ├── HistoryProcessInstanceRefWrapper.java │ ├── JobRef.java │ ├── JobRefWrapper.java │ ├── ParticipantRef.java │ ├── PluginInfo.java │ ├── ProcessDefinitionRef.java │ ├── ProcessDefinitionRefWrapper.java │ ├── ProcessInstancePerformance.java │ ├── ProcessInstanceRef.java │ ├── ProcessInstanceRefWrapper.java │ ├── RoleAssignmentRef.java │ ├── RoleAssignmentRefWrapper.java │ ├── ServerStatus.java │ ├── StringRef.java │ ├── StringRefWrapper.java │ ├── TaskRef.java │ ├── TaskRefWrapper.java │ └── TokenReference.java └── resources └── ErraiApp.properties /.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | *.iml 3 | .idea 4 | .classpath 5 | .project 6 | .settings 7 | .DS_Store 8 | -------------------------------------------------------------------------------- /README.txt: -------------------------------------------------------------------------------- 1 | 2 | Prerequisites 3 | ------------- 4 | 5 | The server module needs to be deployed on a running jboss instance, 6 | along with a process engine that provides an implementation of the integration layer. 7 | See http://www.jboss.org/community/wiki/BPMConsoleReference for further explanations. 8 | 9 | Build console 10 | -------------------------- 11 | 12 | But the basics steps to get going are as follows: 13 | 14 | 1) Build the top level module 15 | 16 | mvn clean install 17 | 18 | 2) Make sure both process engine and the server module are installed on JBoss AS instance 19 | 20 | http://www.jboss.org/community/wiki/BPMConsoleReference 21 | 22 | 3) Boot the AS and start the gwt console in hosted mode 23 | 24 | See gui/war/README.txt for further information 25 | 26 | 27 | Publish console artifacts 28 | ------------------------------ 29 | 1) runing following commands for RiftSaw artifacts 30 | mvn clean deploy -Dconsole.profile=riftsaw 31 | 2) running following command for jBPM artifacts 32 | mvn clean deploy -Dconsole.profile=jbpm 33 | 34 | 35 | 36 | Troubleshooting 37 | --------------- 38 | 39 | Please post any questions to the gwt-console developer forum. 40 | (http://www.jboss.org/index.html?module=bb&op=viewforum&f=295) 41 | 42 | Have fun. 43 | 44 | -------------------------------------------------------------------------------- /doc/Reference.odt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/doc/Reference.odt -------------------------------------------------------------------------------- /doc/Reference.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/doc/Reference.pdf -------------------------------------------------------------------------------- /gui/app-base/src/main/java.filtered/org/jboss/bpm/console/client/Version.java: -------------------------------------------------------------------------------- 1 | package org.jboss.bpm.console.client; 2 | 3 | public class Version { 4 | public static final String VERSION = "@project.version@"; 5 | } 6 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/gwt/mosaic/ui/client/layout/MosaicPanel.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.gwt.mosaic.ui.client.layout; 23 | 24 | import com.google.gwt.user.client.Element; 25 | 26 | 27 | /** 28 | * Avoid naming conflicts 29 | */ 30 | public class MosaicPanel extends org.gwt.mosaic.ui.client.layout.LayoutPanel 31 | { 32 | public MosaicPanel() 33 | { 34 | super(); 35 | setPadding(5); 36 | } 37 | 38 | protected MosaicPanel(Element elem) 39 | { 40 | super(elem); 41 | } 42 | 43 | protected MosaicPanel(Element elem, LayoutManager layout) 44 | { 45 | super(elem, layout); 46 | } 47 | 48 | public MosaicPanel(LayoutManager layout) 49 | { 50 | super(layout); 51 | setPadding(5); 52 | } 53 | 54 | } 55 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/Application.gwt.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/ApplicationContext.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.client; 23 | 24 | /** 25 | * Provides context information to console components and plugins. 26 | * 27 | * @author Heiko.Braun 28 | */ 29 | public interface ApplicationContext 30 | { 31 | 32 | void displayMessage(String message, boolean isError); 33 | 34 | Authentication getAuthentication(); 35 | 36 | ConsoleConfig getConfig(); 37 | 38 | void refreshView(); 39 | 40 | } 41 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/LazyPanel.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.client; 23 | 24 | /** 25 | * @author Heiko.Braun 26 | */ 27 | public interface LazyPanel 28 | { 29 | boolean isInitialized(); 30 | 31 | /** 32 | * Expected to be an idempotent implementation 33 | */ 34 | void initialize(); 35 | } 36 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/LoadingStatusAction.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.client; 23 | 24 | import com.mvc4g.client.ActionInterface; 25 | import com.mvc4g.client.Controller; 26 | import com.mvc4g.client.Event; 27 | 28 | /** 29 | * @author Heiko.Braun 30 | */ 31 | public class LoadingStatusAction implements ActionInterface 32 | { 33 | 34 | public final static String ID = LoadingStatusAction.class.getName(); 35 | 36 | public final static Event ON = new Event(LoadingStatusAction.ID, true); 37 | public final static Event OFF = new Event(LoadingStatusAction.ID, false); 38 | 39 | /** 40 | * @param controller 41 | * @param object Boolean 42 | */ 43 | public void execute(Controller controller, Object object) 44 | { 45 | Boolean b = (Boolean)object; 46 | //Header header = (Header)controller.getView(Header.ID); 47 | //header.setLoading(b); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/LoginAction.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.client; 23 | 24 | import com.mvc4g.client.ActionInterface; 25 | import com.mvc4g.client.Controller; 26 | 27 | /** 28 | * @author Heiko.Braun 29 | */ 30 | public class LoginAction implements ActionInterface 31 | { 32 | 33 | public void execute(Controller controller, Object object) 34 | { 35 | LoginView loginView = (LoginView)controller.getView(LoginView.NAME); 36 | loginView.display(); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/common/DataDriven.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.client.common; 23 | 24 | /** 25 | * Simple marker for data driven view components 26 | */ 27 | public interface DataDriven 28 | { 29 | void reset(); 30 | void update(Object... data); 31 | void setLoading(boolean isLoading); 32 | } 33 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/common/HeaderLabel.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.client.common; 23 | 24 | import com.google.gwt.user.client.ui.Label; 25 | 26 | /** 27 | * @author Heiko.Braun 28 | */ 29 | public class HeaderLabel extends Label 30 | { 31 | 32 | public HeaderLabel(String string) 33 | { 34 | super(string); 35 | applyStyle(false); 36 | } 37 | 38 | public HeaderLabel(String string, boolean invert) 39 | { 40 | super(string); 41 | applyStyle(invert); 42 | } 43 | 44 | private void applyStyle(boolean invert) 45 | { 46 | if(invert) 47 | this.setStyleName("bpm-label-header-invert"); 48 | else 49 | this.setStyleName("bpm-label-header"); 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/common/IFrameWindowCallback.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.client.common; 23 | 24 | /** 25 | * @author Heiko.Braun 26 | */ 27 | public interface IFrameWindowCallback 28 | { 29 | void onWindowClosed(); 30 | 31 | } 32 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/common/IconHeader.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.client.common; 23 | 24 | import com.google.gwt.user.client.ui.AbstractImagePrototype; 25 | import com.google.gwt.user.client.ui.HTML; 26 | import org.gwt.mosaic.ui.client.layout.BoxLayout; 27 | import org.gwt.mosaic.ui.client.layout.MosaicPanel; 28 | 29 | /** 30 | * @author Heiko.Braun 31 | */ 32 | public class IconHeader extends MosaicPanel 33 | { 34 | 35 | public IconHeader(AbstractImagePrototype icon, String title) 36 | { 37 | super(new BoxLayout(BoxLayout.Orientation.HORIZONTAL)); 38 | setPadding(5); 39 | 40 | this.add(icon.createImage()); 41 | this.add(new HTML(""+title+"")); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/common/ListBoxToolbar.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.client.common; 23 | 24 | import com.google.gwt.user.client.ui.HTML; 25 | import com.google.gwt.user.client.ui.HorizontalPanel; 26 | import org.gwt.mosaic.ui.client.layout.ColumnLayout; 27 | import org.gwt.mosaic.ui.client.layout.ColumnLayoutData; 28 | import org.gwt.mosaic.ui.client.layout.MosaicPanel; 29 | 30 | public class ListBoxToolbar extends MosaicPanel 31 | { 32 | private HorizontalPanel toolPanel; 33 | 34 | public ListBoxToolbar(String title) 35 | { 36 | super(new ColumnLayout()); 37 | 38 | setStyleName("bpm-toolbar-panel"); 39 | 40 | toolPanel = new HorizontalPanel(); 41 | 42 | this.add(new HTML(""+title+""), new ColumnLayoutData("80%")); 43 | this.add(toolPanel, new ColumnLayoutData("20%")); 44 | } 45 | 46 | public HorizontalPanel getToolPanel() 47 | { 48 | return toolPanel; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/common/Model.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.client.common; 23 | 24 | 25 | /** 26 | * @see org.jboss.bpm.console.client.common.ModelCommands 27 | * @see org.jboss.bpm.console.client.common.ModelParts 28 | */ 29 | public interface Model 30 | { 31 | public String SUBJECT = "appContext.model.listener"; 32 | public String DEPLOYMENT_MODEL = "deploymentModel"; 33 | public String PROCESS_MODEL = "processModel"; 34 | public String TASK_MODEL = "taskModel"; 35 | 36 | } 37 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/common/ModelCommands.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.client.common; 23 | 24 | public enum ModelCommands 25 | { 26 | // Somebody please update the model 27 | HAS_BECOME_STALE, 28 | 29 | // It's done, please refresh the view 30 | HAS_BEEN_UPDATED 31 | 32 | } 33 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/common/ModelParts.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.client.common; 23 | 24 | public enum ModelParts 25 | { 26 | // What model are we talking about? 27 | CLASS 28 | } 29 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/common/PagingCallback.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.client.common; 23 | 24 | /** 25 | * @author Heiko.Braun 26 | */ 27 | public interface PagingCallback 28 | { 29 | void rev(); 30 | void ffw(); 31 | } 32 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/events/BootstrapEvent.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.client.events; 23 | 24 | import org.jboss.bpm.console.client.Authentication; 25 | import org.jboss.bpm.console.client.ConsoleConfig; 26 | import org.jboss.bpm.console.client.URLBuilder; 27 | 28 | /** 29 | * @author Heiko.Braun 30 | */ 31 | public final class BootstrapEvent 32 | { 33 | Authentication auth; 34 | URLBuilder urlBuilder; 35 | ConsoleConfig config; 36 | 37 | public BootstrapEvent(Authentication auth, URLBuilder urlBuilder, ConsoleConfig config) 38 | { 39 | this.auth = auth; 40 | this.urlBuilder = urlBuilder; 41 | this.config = config; 42 | } 43 | 44 | public Authentication getAuth() 45 | { 46 | return auth; 47 | } 48 | 49 | public URLBuilder getUrlBuilder() 50 | { 51 | return urlBuilder; 52 | } 53 | 54 | public ConsoleConfig getConfig() 55 | { 56 | return config; 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/history/LoadProcessDefinitionsAction.java: -------------------------------------------------------------------------------- 1 | package org.jboss.bpm.console.client.history; 2 | 3 | import com.google.gwt.http.client.RequestBuilder; 4 | import com.google.gwt.http.client.Response; 5 | import com.mvc4g.client.Controller; 6 | import org.jboss.bpm.console.client.URLBuilder; 7 | import org.jboss.bpm.console.client.common.AbstractRESTAction; 8 | import org.jboss.bpm.console.client.model.JSOParser; 9 | import org.jboss.bpm.console.client.model.ProcessDefinitionRef; 10 | import org.jboss.bpm.console.client.util.ConsoleLog; 11 | 12 | import java.util.List; 13 | 14 | /** 15 | * User: Jeff Yu 16 | * Date: 11/04/11 17 | */ 18 | public class LoadProcessDefinitionsAction extends AbstractRESTAction { 19 | 20 | public static final String ID = LoadProcessDefinitionsAction.class.getName(); 21 | 22 | @Override 23 | public String getId() { 24 | return ID; 25 | } 26 | 27 | @Override 28 | public String getUrl(Object event) { 29 | return URLBuilder.getInstance().getProcessHistoryDefinitionsURL(); 30 | } 31 | 32 | @Override 33 | public RequestBuilder.Method getRequestMethod() { 34 | return RequestBuilder.GET; 35 | } 36 | 37 | @Override 38 | public void handleSuccessfulResponse(Controller controller, Object event, Response response) { 39 | 40 | ProcessHistorySearchView view = (ProcessHistorySearchView) controller.getView(ProcessHistorySearchView.ID); 41 | List refs = JSOParser.parseProcessDefinitions(response.getText()); 42 | 43 | view.initialize(refs); 44 | 45 | ConsoleLog.debug("loaded " + refs.size() + " historic process definitions : " + response.getText()); 46 | 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/history/LoadProcessInstanceEventsAction.java: -------------------------------------------------------------------------------- 1 | package org.jboss.bpm.console.client.history; 2 | 3 | import com.google.gwt.http.client.RequestBuilder; 4 | import com.google.gwt.http.client.Response; 5 | import com.mvc4g.client.Controller; 6 | import org.jboss.bpm.console.client.URLBuilder; 7 | import org.jboss.bpm.console.client.common.AbstractRESTAction; 8 | import org.jboss.bpm.console.client.model.JSOParser; 9 | import org.jboss.bpm.console.client.model.StringRef; 10 | 11 | import java.util.List; 12 | 13 | /** 14 | * User: Jeff Yu 15 | * Date: 13/04/11 16 | */ 17 | public class LoadProcessInstanceEventsAction extends AbstractRESTAction { 18 | 19 | public static final String ID = LoadProcessInstanceEventsAction.class.getName(); 20 | 21 | @Override 22 | public String getId() { 23 | return ID; 24 | } 25 | 26 | @Override 27 | public String getUrl(Object event) { 28 | String instanceId = (String)event; 29 | return URLBuilder.getInstance().getProcessHistoryEventsURL(instanceId); 30 | } 31 | 32 | @Override 33 | public RequestBuilder.Method getRequestMethod() { 34 | return RequestBuilder.GET; 35 | } 36 | 37 | @Override 38 | public void handleSuccessfulResponse(Controller controller, Object event, Response response) { 39 | 40 | ProcessHistoryInstanceListView view = (ProcessHistoryInstanceListView)controller.getView(ProcessHistoryInstanceListView.ID); 41 | List refs = JSOParser.parseStringRef(response.getText()); 42 | 43 | view.populateInstanceEvents(refs); 44 | 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/history/ProcessHistorySearchModule.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package org.jboss.bpm.console.client.history; 5 | 6 | import org.jboss.bpm.console.client.util.ConsoleLog; 7 | import org.jboss.errai.workspaces.client.api.ProvisioningCallback; 8 | import org.jboss.errai.workspaces.client.api.WidgetProvider; 9 | import org.jboss.errai.workspaces.client.api.annotations.LoadTool; 10 | 11 | import com.google.gwt.core.client.GWT; 12 | import com.google.gwt.core.client.RunAsyncCallback; 13 | 14 | /** 15 | * @author Jeff Yu 16 | * @date Mar 18, 2011 17 | */ 18 | @LoadTool(name="History Query", group = "Processes", icon = "historySearchIcon", priority= 3 ) 19 | public class ProcessHistorySearchModule implements WidgetProvider { 20 | 21 | private ProcessHistorySearchView instance; 22 | 23 | 24 | @Override 25 | public void provideWidget(final ProvisioningCallback callback) { 26 | GWT.runAsync( 27 | new RunAsyncCallback() 28 | { 29 | public void onFailure(Throwable err) 30 | { 31 | ConsoleLog.error("Failed to load tool", err); 32 | } 33 | 34 | public void onSuccess() 35 | { 36 | if (instance == null) { 37 | instance = new ProcessHistorySearchView(); 38 | } 39 | instance.provideWidget(callback); 40 | } 41 | } 42 | ); 43 | 44 | } 45 | 46 | } 47 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/history/ProcessSearchEvent.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package org.jboss.bpm.console.client.history; 5 | 6 | /** 7 | * @author Jeff Yu 8 | * @date Mar 17, 2011 9 | */ 10 | public class ProcessSearchEvent { 11 | 12 | private String definitionKey; 13 | 14 | private String key; 15 | 16 | private String status; 17 | 18 | private long startTime; 19 | 20 | private long endTime; 21 | 22 | public String getDefinitionKey() { 23 | return definitionKey; 24 | } 25 | 26 | public void setDefinitionKey(String definitionKey) { 27 | this.definitionKey = definitionKey; 28 | } 29 | 30 | public String getKey() { 31 | return key; 32 | } 33 | 34 | public void setKey(String key) { 35 | this.key = key; 36 | } 37 | 38 | public String getStatus() { 39 | return status; 40 | } 41 | 42 | public void setStatus(String status) { 43 | this.status = status; 44 | } 45 | 46 | public long getStartTime() { 47 | return startTime; 48 | } 49 | 50 | public void setStartTime(long startTime) { 51 | this.startTime = startTime; 52 | } 53 | 54 | public long getEndTime() { 55 | return endTime; 56 | } 57 | 58 | public void setEndTime(long endTime) { 59 | this.endTime = endTime; 60 | } 61 | 62 | 63 | 64 | } 65 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/05_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/05_1.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/13.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/27.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/27.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/49.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/49.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/add.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/add_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/add_small.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/arrow_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/arrow_blue.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/black.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/blue.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/catForms.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/catForms.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/collapseDown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/collapseDown.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/collapseLeft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/collapseLeft.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/confirmIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/confirmIcon.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/confirm_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/confirm_small.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/database.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/database.gif -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/denyIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/denyIcon.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/deny_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/deny_small.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/deployment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/deployment.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/dialog-error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/dialog-error.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/dialog-information.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/dialog-information.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/dialog-password.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/dialog-password.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/dialog-question.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/dialog-question.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/dialog-warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/dialog-warning.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/docIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/docIcon.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/errorIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/errorIcon.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/examine.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/examine.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/filter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/filter.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/green.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/grey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/grey.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/jobs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/jobs.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/large.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/large_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/large_small.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/loading.gif -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/lockIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/lockIcon.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/lock_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/lock_small.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/pause.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/pause.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/pause_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/pause_small.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/piece.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/piece.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/play.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/play_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/play_small.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/processIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/processIcon.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/red.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/reload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/reload.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/reload_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/reload_small.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/remove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/remove.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/remove_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/remove_small.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/report.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/report.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/reportInstance.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/reportInstance.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/runtime.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/runtime.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/stop.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/stop_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/stop_small.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/taskIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/taskIcon.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/tool-button-collapse-down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/tool-button-collapse-down.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/tool-button-collapse-left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/tool-button-collapse-left.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/tool-button-collapse-right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/tool-button-collapse-right.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/tool-button-collapse-up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/tool-button-collapse-up.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/tool-button-minus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/tool-button-minus.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/tool-button-plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/tool-button-plus.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/tool-button-refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/tool-button-refresh.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/toolsIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/toolsIcon.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/unlock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/unlock.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/userIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/userIcon.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/window-button-close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/window-button-close.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/window-button-maximize.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/window-button-maximize.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/window-button-minimize.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/window-button-minimize.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/window-button-restore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/window-button-restore.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/ws.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/ws.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/yellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/client/icons/yellow.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/monitor/GetProcessDefinitionsAction.java: -------------------------------------------------------------------------------- 1 | package org.jboss.bpm.console.client.monitor; 2 | 3 | import com.google.gwt.http.client.RequestBuilder; 4 | import com.google.gwt.http.client.Response; 5 | import com.mvc4g.client.Controller; 6 | import org.jboss.bpm.console.client.URLBuilder; 7 | import org.jboss.bpm.console.client.common.AbstractRESTAction; 8 | import org.jboss.bpm.console.client.model.JSOParser; 9 | import org.jboss.bpm.console.client.model.ProcessDefinitionRef; 10 | import org.jboss.bpm.console.client.util.ConsoleLog; 11 | 12 | import java.util.List; 13 | 14 | /** 15 | * User: Jeff Yu 16 | * Date: 12/04/11 17 | */ 18 | public class GetProcessDefinitionsAction extends AbstractRESTAction { 19 | 20 | public static final String ID = GetProcessDefinitionsAction.class.getName(); 21 | 22 | @Override 23 | public String getId() { 24 | return ID; 25 | } 26 | 27 | @Override 28 | public String getUrl(Object event) { 29 | return URLBuilder.getInstance().getProcessHistoryDefinitionsURL(); 30 | } 31 | 32 | @Override 33 | public RequestBuilder.Method getRequestMethod() { 34 | return RequestBuilder.GET; 35 | } 36 | 37 | @Override 38 | public void handleSuccessfulResponse(Controller controller, Object event, Response response) { 39 | 40 | ExecutionHistoryView view = (ExecutionHistoryView)controller.getView(ExecutionHistoryView.ID); 41 | List refs = JSOParser.parseProcessDefinitions(response.getText()); 42 | view.selectDefinition(refs); 43 | ConsoleLog.debug("loaded " + refs.size() + " historic process definitions : " + response.getText()); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/monitor/LoadChartProcessInstanceEvent.java: -------------------------------------------------------------------------------- 1 | package org.jboss.bpm.console.client.monitor; 2 | 3 | import org.jboss.bpm.monitor.gui.client.TimespanValues; 4 | 5 | import java.util.Date; 6 | 7 | /** 8 | * User: Jeff Yu 9 | * Date: 12/04/11 10 | */ 11 | public class LoadChartProcessInstanceEvent { 12 | 13 | public final static int DATASET_COMPLETED = 0; 14 | 15 | public final static int DATASET_FAILED = 1; 16 | 17 | public final static int DATASET_TERMINATED = 2; 18 | 19 | private String definitionId; 20 | 21 | private int datasetType; 22 | 23 | private Date date; 24 | 25 | private TimespanValues timespan; 26 | 27 | public String getDefinitionId() { 28 | return definitionId; 29 | } 30 | 31 | public void setDefinitionId(String definitionId) { 32 | this.definitionId = definitionId; 33 | } 34 | 35 | public int getDatasetType() { 36 | return datasetType; 37 | } 38 | 39 | public void setDatasetType(int datasetType) { 40 | this.datasetType = datasetType; 41 | } 42 | 43 | public Date getDate() { 44 | return date; 45 | } 46 | 47 | public void setDate(Date date) { 48 | this.date = date; 49 | } 50 | 51 | public TimespanValues getTimespan() { 52 | return timespan; 53 | } 54 | 55 | public void setTimespan(TimespanValues timespan) { 56 | this.timespan = timespan; 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/monitor/LoadDatasetEvent.java: -------------------------------------------------------------------------------- 1 | package org.jboss.bpm.console.client.monitor; 2 | 3 | import org.jboss.bpm.monitor.gui.client.TimespanValues; 4 | 5 | /** 6 | * User: Jeff Yu 7 | * Date: 12/04/11 8 | */ 9 | public class LoadDatasetEvent { 10 | 11 | private String definitionId; 12 | 13 | private TimespanValues timespan; 14 | 15 | private boolean includedFailed; 16 | 17 | public String getDefinitionId() { 18 | return definitionId; 19 | } 20 | 21 | public void setDefinitionId(String definitionId) { 22 | this.definitionId = definitionId; 23 | } 24 | 25 | public TimespanValues getTimespan() { 26 | return timespan; 27 | } 28 | 29 | public void setTimespan(TimespanValues timespan) { 30 | this.timespan = timespan; 31 | } 32 | 33 | public boolean isIncludedFailed() { 34 | return includedFailed; 35 | } 36 | 37 | public void setIncludedFailed(boolean includedFailed) { 38 | this.includedFailed = includedFailed; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/monitor/LoadDatasetsAction.java: -------------------------------------------------------------------------------- 1 | package org.jboss.bpm.console.client.monitor; 2 | 3 | import com.google.gwt.http.client.RequestBuilder; 4 | import com.google.gwt.http.client.Response; 5 | import com.mvc4g.client.Controller; 6 | import org.jboss.bpm.console.client.URLBuilder; 7 | import org.jboss.bpm.console.client.common.AbstractRESTAction; 8 | import org.jboss.bpm.console.client.util.ConsoleLog; 9 | 10 | /** 11 | * User: Jeff Yu 12 | * Date: 12/04/11 13 | */ 14 | public class LoadDatasetsAction extends AbstractRESTAction{ 15 | 16 | public static final String ID = LoadDatasetsAction.class.getName(); 17 | 18 | @Override 19 | public String getId() { 20 | return ID; 21 | } 22 | 23 | @Override 24 | public String getUrl(Object event) { 25 | 26 | LoadDatasetEvent theEvent = (LoadDatasetEvent) event; 27 | 28 | if (theEvent.isIncludedFailed()) { 29 | return URLBuilder.getInstance().getProcessHistoryFailedInstances4ChartURL(theEvent.getDefinitionId(), 30 | theEvent.getTimespan().getCanonicalName()); 31 | } else { 32 | return URLBuilder.getInstance().getProcessHistoryCompletedInstances4ChartURL(theEvent.getDefinitionId(), 33 | theEvent.getTimespan().getCanonicalName()); 34 | } 35 | } 36 | 37 | @Override 38 | public RequestBuilder.Method getRequestMethod() { 39 | return RequestBuilder.GET; 40 | } 41 | 42 | @Override 43 | public void handleSuccessfulResponse(Controller controller, Object event, Response response) { 44 | ExecutionHistoryView view = (ExecutionHistoryView)controller.getView(ExecutionHistoryView.ID); 45 | view.updateChart(response.getText()); 46 | 47 | ConsoleLog.debug("Loaded chart data : " + response.getText()); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/process/ClearInstancesAction.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.client.process; 23 | 24 | import com.mvc4g.client.ActionInterface; 25 | import com.mvc4g.client.Controller; 26 | 27 | /** 28 | * reset the instance list and associated views 29 | */ 30 | public class ClearInstancesAction implements ActionInterface 31 | { 32 | public static String ID = ClearInstancesAction.class.getName(); 33 | 34 | public void execute(Controller controller, Object o) 35 | { 36 | InstanceListView view = (InstanceListView) controller.getView(InstanceListView.ID); 37 | view.reset(); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/process/GetProcessInstanceEventsAction.java: -------------------------------------------------------------------------------- 1 | package org.jboss.bpm.console.client.process; 2 | 3 | import com.google.gwt.http.client.RequestBuilder; 4 | import com.google.gwt.http.client.Response; 5 | import com.mvc4g.client.Controller; 6 | import org.jboss.bpm.console.client.URLBuilder; 7 | import org.jboss.bpm.console.client.common.AbstractRESTAction; 8 | import org.jboss.bpm.console.client.model.JSOParser; 9 | import org.jboss.bpm.console.client.model.StringRef; 10 | 11 | import java.util.List; 12 | 13 | /** 14 | * User: Jeff Yu 15 | * Date: 13/04/11 16 | */ 17 | public class GetProcessInstanceEventsAction extends AbstractRESTAction { 18 | 19 | public static final String ID = GetProcessInstanceEventsAction.class.getName(); 20 | 21 | @Override 22 | public String getId() { 23 | return ID; 24 | } 25 | 26 | @Override 27 | public String getUrl(Object event) { 28 | String instanceId = (String)event; 29 | return URLBuilder.getInstance().getProcessHistoryEventsURL(instanceId); 30 | } 31 | 32 | @Override 33 | public RequestBuilder.Method getRequestMethod() { 34 | return RequestBuilder.GET; 35 | } 36 | 37 | @Override 38 | public void handleSuccessfulResponse(Controller controller, Object event, Response response) { 39 | 40 | InstanceDetailView view = (InstanceDetailView)controller.getView(InstanceDetailView.ID); 41 | List refs = JSOParser.parseStringRef(response.getText()); 42 | 43 | view.populateProcessInstanceEvents(refs); 44 | 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/process/ProcessHistoryModule.java: -------------------------------------------------------------------------------- 1 | package org.jboss.bpm.console.client.process; 2 | 3 | import org.jboss.bpm.console.client.util.ConsoleLog; 4 | import org.jboss.errai.workspaces.client.api.ProvisioningCallback; 5 | import org.jboss.errai.workspaces.client.api.WidgetProvider; 6 | import org.jboss.errai.workspaces.client.api.annotations.LoadTool; 7 | 8 | import com.google.gwt.core.client.GWT; 9 | import com.google.gwt.core.client.RunAsyncCallback; 10 | 11 | 12 | /** 13 | * @author Maciej Swiderski 14 | */ 15 | @LoadTool(name = "Execution History", group = "Processes", icon = "databaseIcon", priority = 2) 16 | public class ProcessHistoryModule implements WidgetProvider 17 | { 18 | static MergedProcessHistoryView instance = null; 19 | 20 | public void provideWidget(final ProvisioningCallback callback) 21 | { 22 | ProcessHistoryModule.createInstance(callback); 23 | } 24 | 25 | public static void createInstance(final ProvisioningCallback callback) 26 | { 27 | GWT.runAsync( 28 | new RunAsyncCallback() 29 | { 30 | public void onFailure(Throwable err) 31 | { 32 | ConsoleLog.error("Failed to load tool", err); 33 | } 34 | 35 | public void onSuccess() 36 | { 37 | if (instance == null) { 38 | instance = new MergedProcessHistoryView(); 39 | } 40 | instance.provideWidget(callback); 41 | } 42 | } 43 | 44 | ); 45 | 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/process/UpdateInstanceDetailAction.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.client.process; 23 | 24 | import com.mvc4g.client.ActionInterface; 25 | import com.mvc4g.client.Controller; 26 | import org.jboss.bpm.console.client.process.events.InstanceEvent; 27 | 28 | /** 29 | * @author Heiko.Braun 30 | */ 31 | public class UpdateInstanceDetailAction implements ActionInterface 32 | { 33 | public final static String ID = UpdateInstanceDetailAction.class.getName(); 34 | 35 | public void execute(Controller controller, Object object) 36 | { 37 | InstanceEvent event = (InstanceEvent)object; 38 | 39 | InstanceDetailView view = (InstanceDetailView)controller.getView(InstanceDetailView.ID); 40 | 41 | if(event.getInstance()!=null) 42 | view.update(event.getDefinition(), event.getInstance()); 43 | else 44 | view.clearView(); 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/process/UpdateProcessDetailAction.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.client.process; 23 | 24 | import com.mvc4g.client.ActionInterface; 25 | import com.mvc4g.client.Controller; 26 | import org.jboss.bpm.console.client.model.ProcessDefinitionRef; 27 | 28 | /** 29 | * @author Heiko.Braun 30 | */ 31 | public class UpdateProcessDetailAction implements ActionInterface 32 | { 33 | public final static String ID = UpdateProcessDetailAction.class.getName(); 34 | 35 | public void execute(Controller controller, Object object) 36 | { 37 | ProcessDefinitionRef process = object!=null ? (ProcessDefinitionRef)object : null; 38 | ProcessDetailView view = (ProcessDetailView)controller.getView(ProcessDetailView.ID); 39 | 40 | if(process!=null) 41 | view.update(process); 42 | else 43 | view.clearView(); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/process/events/HistoryActivityDiagramEvent.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.client.process.events; 23 | 24 | import java.util.List; 25 | 26 | import org.jboss.bpm.console.client.model.ProcessDefinitionRef; 27 | 28 | /** 29 | * @author Heiko.Braun 30 | */ 31 | public class HistoryActivityDiagramEvent 32 | { 33 | private ProcessDefinitionRef definition; 34 | private List executedActivities; 35 | 36 | public HistoryActivityDiagramEvent(ProcessDefinitionRef definition, List executedActivities) 37 | { 38 | this.definition = definition; 39 | this.executedActivities = executedActivities; 40 | } 41 | 42 | public ProcessDefinitionRef getDefinition() 43 | { 44 | return definition; 45 | } 46 | 47 | public List getExecutedActivities() 48 | { 49 | return executedActivities; 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/process/events/InstanceEvent.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.client.process.events; 23 | 24 | import org.jboss.bpm.console.client.model.ProcessDefinitionRef; 25 | import org.jboss.bpm.console.client.model.ProcessInstanceRef; 26 | 27 | /** 28 | * @author Heiko.Braun 29 | */ 30 | public class InstanceEvent 31 | { 32 | private ProcessDefinitionRef definition; 33 | private ProcessInstanceRef instance; 34 | 35 | public InstanceEvent(ProcessDefinitionRef definition, ProcessInstanceRef instance) 36 | { 37 | this.definition = definition; 38 | this.instance = instance; 39 | } 40 | 41 | public ProcessDefinitionRef getDefinition() 42 | { 43 | return definition; 44 | } 45 | 46 | public ProcessInstanceRef getInstance() 47 | { 48 | return instance; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/process/v2/ProcessGroups.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 JBoss, a divison Red Hat, Inc 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.jboss.bpm.console.client.process.v2; 17 | 18 | import org.jboss.bpm.console.client.model.ProcessDefinitionRef; 19 | 20 | import java.util.*; 21 | 22 | /** 23 | * @author: Heiko Braun 24 | * @date: Oct 15, 2010 25 | */ 26 | public class ProcessGroups { 27 | 28 | Map> groups = new HashMap>(); 29 | 30 | public ProcessGroups(List processDefinitions) { 31 | 32 | for(ProcessDefinitionRef def : processDefinitions) 33 | { 34 | Set subset = groups.get(def.getName()); 35 | if(null==subset) 36 | { 37 | subset = new HashSet(); 38 | groups.put(def.getName(), subset); 39 | } 40 | 41 | subset.add(def); 42 | } 43 | 44 | } 45 | 46 | public Set getGroups() 47 | { 48 | return groups.keySet(); 49 | } 50 | 51 | public Set getProcessesForGroup(String name) 52 | { 53 | return groups.get(name); 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/report/RenderDispatchEvent.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.client.report; 23 | 24 | /** 25 | * @author Heiko.Braun 26 | */ 27 | public final class RenderDispatchEvent 28 | { 29 | String title; 30 | String dispatchUrl; 31 | String parameters = "None"; 32 | 33 | public RenderDispatchEvent(String targetView, String dispatchUrl) 34 | { 35 | this.title = targetView; 36 | this.dispatchUrl = dispatchUrl; 37 | } 38 | 39 | public String getTitle() 40 | { 41 | return title; 42 | } 43 | 44 | public String getDispatchUrl() 45 | { 46 | return dispatchUrl; 47 | } 48 | 49 | public void setParameters(String parameters) 50 | { 51 | this.parameters = parameters; 52 | } 53 | 54 | public String getParameters() 55 | { 56 | return parameters; 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/report/ReportParamCallback.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.client.report; 23 | 24 | import java.util.Map; 25 | 26 | /** 27 | * @author Heiko.Braun 28 | */ 29 | public interface ReportParamCallback 30 | { 31 | void onSumbit(Map paramValues); 32 | } 33 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/search/SearchDelegate.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.client.search; 23 | 24 | /** 25 | * @author Heiko.Braun 26 | */ 27 | public interface SearchDelegate 28 | { 29 | void handleResult(String procDefId); 30 | 31 | String getActionName(); 32 | } 33 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/task/SkipTaskAction.java: -------------------------------------------------------------------------------- 1 | package org.jboss.bpm.console.client.task; 2 | 3 | import org.jboss.bpm.console.client.URLBuilder; 4 | import org.jboss.bpm.console.client.common.AbstractRESTAction; 5 | import org.jboss.bpm.console.client.task.events.TaskIdentityEvent; 6 | 7 | import com.google.gwt.http.client.RequestBuilder; 8 | import com.google.gwt.http.client.Response; 9 | import com.mvc4g.client.Controller; 10 | import com.mvc4g.client.Event; 11 | 12 | public class SkipTaskAction extends AbstractRESTAction 13 | { 14 | public final static String ID = SkipTaskAction.class.getName(); 15 | 16 | public String getId() 17 | { 18 | return ID; 19 | } 20 | 21 | public String getUrl(Object event) 22 | { 23 | TaskIdentityEvent skipEvent = (TaskIdentityEvent)event; 24 | 25 | return URLBuilder.getInstance().getTaskCompleteURL( 26 | skipEvent.getTask().getId(), "jbpm_skip_task" 27 | ); 28 | } 29 | 30 | public RequestBuilder.Method getRequestMethod() 31 | { 32 | return RequestBuilder.POST; 33 | } 34 | 35 | public void handleSuccessfulResponse(final Controller controller, final Object event, Response response) 36 | { 37 | controller.handleEvent( 38 | new Event(ReloadAllTaskListsAction.ID, null) 39 | ); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/task/UpdateDetailsAction.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.client.task; 23 | 24 | import com.mvc4g.client.ActionInterface; 25 | import com.mvc4g.client.Controller; 26 | import org.jboss.bpm.console.client.model.TaskRef; 27 | import org.jboss.bpm.console.client.task.events.DetailViewEvent; 28 | 29 | /** 30 | * @author Heiko.Braun 31 | */ 32 | public class UpdateDetailsAction implements ActionInterface 33 | { 34 | 35 | public final static String ID = UpdateDetailsAction.class.getName(); 36 | 37 | public void execute(Controller controller, Object object) 38 | { 39 | DetailViewEvent event = (DetailViewEvent)object; 40 | TaskRef task = event.getTask()!=null? event.getTask() : null; 41 | TaskDetailView view = (TaskDetailView)controller.getView(event.getViewRef()); 42 | 43 | if(task!=null) 44 | view.update(task); 45 | else 46 | view.clearView(); 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/task/events/AssignEvent.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.client.task.events; 23 | 24 | import org.jboss.bpm.console.client.model.TaskRef; 25 | 26 | /** 27 | * @author Heiko.Braun 28 | */ 29 | public final class AssignEvent 30 | { 31 | private String idRef; 32 | private TaskRef task; 33 | 34 | public AssignEvent(String idRef, TaskRef task) 35 | { 36 | this.idRef = idRef; 37 | this.task = task; 38 | } 39 | 40 | public String getIdRef() 41 | { 42 | return idRef; 43 | } 44 | 45 | public TaskRef getTask() 46 | { 47 | return task; 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/task/events/DetailViewEvent.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.client.task.events; 23 | 24 | import org.jboss.bpm.console.client.model.TaskRef; 25 | 26 | /** 27 | * @author Heiko.Braun 28 | */ 29 | public final class DetailViewEvent 30 | { 31 | String viewRef = null; 32 | TaskRef task; 33 | 34 | public DetailViewEvent(String viewRef, TaskRef task) 35 | { 36 | this.viewRef = viewRef; 37 | this.task = task; 38 | } 39 | 40 | public String getViewRef() 41 | { 42 | return viewRef; 43 | } 44 | 45 | public TaskRef getTask() 46 | { 47 | return task; 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/task/events/TaskIdentityEvent.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.client.task.events; 23 | 24 | import org.jboss.bpm.console.client.model.TaskRef; 25 | 26 | /** 27 | * Composite event that represents Identities working on tasks. 28 | * 29 | * @author Heiko.Braun 30 | */ 31 | public final class TaskIdentityEvent 32 | { 33 | private String identity; 34 | private TaskRef task; 35 | 36 | public TaskIdentityEvent(String identity, TaskRef task) 37 | { 38 | this.identity = identity; 39 | this.task = task; 40 | } 41 | 42 | public String getIdentity() 43 | { 44 | return identity; 45 | } 46 | 47 | public TaskRef getTask() 48 | { 49 | return task; 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/util/DOMUtil.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.client.util; 23 | 24 | import com.google.gwt.xml.client.Node; 25 | import com.google.gwt.xml.client.NodeList; 26 | 27 | import java.util.ArrayList; 28 | import java.util.List; 29 | 30 | /** 31 | * @author Heiko.Braun 32 | */ 33 | public class DOMUtil 34 | { 35 | public static List getChildElements(NodeList childNodes) 36 | { 37 | List result = new ArrayList(); 38 | 39 | for(int i=0; i 22 | * @date: Oct 15, 2010 23 | */ 24 | public class Debug { 25 | public static void frame(LayoutPanel panel) 26 | { 27 | panel.getElement().setAttribute("style", "border: 1px dashed blue;"); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/client/util/MapEntry.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.client.util; 23 | 24 | /** 25 | * @author Heiko.Braun 26 | */ 27 | public class MapEntry 28 | { 29 | String name; 30 | Object value; 31 | 32 | public MapEntry(String name, Object value) 33 | { 34 | this.name = name; 35 | this.value = value; 36 | } 37 | 38 | public String getName() 39 | { 40 | return name; 41 | } 42 | 43 | public Object getValue() 44 | { 45 | return value; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/blank.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/header_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/header_background.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/bg_headergradient.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/bg_headergradient.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/bg_listgradient.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/bg_listgradient.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/bg_stackpanel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/bg_stackpanel.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/bg_tab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/bg_tab.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/bg_tab_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/bg_tab_selected.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/bgfade.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/bgfade.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/bgleftgradient.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/bgleftgradient.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/corner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/corner.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/default-icon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/default-icon.gif -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/expand-button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/expand-button.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/guvnorlogo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/guvnorlogo.jpg -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/guvnorlogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/guvnorlogo.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/hborder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/hborder.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ie6/corner_dialog_topleft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ie6/corner_dialog_topleft.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ie6/corner_dialog_topright.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ie6/corner_dialog_topright.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ie6/hborder_blue_shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ie6/hborder_blue_shadow.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ie6/hborder_gray_shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ie6/hborder_gray_shadow.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ie6/vborder_blue_shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ie6/vborder_blue_shadow.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ie6/vborder_gray_shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ie6/vborder_gray_shadow.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/jbosslogo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/jbosslogo.jpg -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/listhighlightbg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/listhighlightbg.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/loading.gif -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/navbargradient.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/navbargradient.jpg -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/tab-active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/tab-active.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/tab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/tab.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/titlegradient-sel.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/titlegradient-sel.jpg -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/titlegradient.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/titlegradient.jpg -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/titlegradient.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/titlegradient.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/traynotifybg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/traynotifybg.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/DockLink.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/DockLink.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/column-header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/column-header.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dialogbg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dialogbg.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dialogpriority.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dialogpriority.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dropshadow/eq-bottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dropshadow/eq-bottom.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dropshadow/eq-bottomleft-inner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dropshadow/eq-bottomleft-inner.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dropshadow/eq-bottomleft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dropshadow/eq-bottomleft.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dropshadow/eq-bottomright-inner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dropshadow/eq-bottomright-inner.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dropshadow/eq-bottomright.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dropshadow/eq-bottomright.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dropshadow/eq-left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dropshadow/eq-left.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dropshadow/eq-leftbottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dropshadow/eq-leftbottom.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dropshadow/eq-lefttop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dropshadow/eq-lefttop.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dropshadow/eq-right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dropshadow/eq-right.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dropshadow/eq-rightbottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dropshadow/eq-rightbottom.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dropshadow/eq-righttop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dropshadow/eq-righttop.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dropshadow/eq-top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dropshadow/eq-top.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dropshadow/eq-topleft-inner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dropshadow/eq-topleft-inner.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dropshadow/eq-topleft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dropshadow/eq-topleft.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dropshadow/eq-topright-inner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dropshadow/eq-topright-inner.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dropshadow/eq-topright.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/dropshadow/eq-topright.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/navbar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/navbar.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/navbar.png_1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/navbar.png_1 -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/navbartitle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/navbartitle.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/navbartitle.png_1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/navbartitle.png_1 -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/navbartitle.png_2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/navbartitle.png_2 -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/navbartitle.png_3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/navbartitle.png_3 -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/navbartitle.png_4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/navbartitle.png_4 -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/section-header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/section-header.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/tabselected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/ui/layout/tabselected.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/public/images/vborder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/main/java/org/jboss/bpm/console/public/images/vborder.png -------------------------------------------------------------------------------- /gui/app-base/src/main/java/org/jboss/bpm/console/workspace-default.cfg: -------------------------------------------------------------------------------- 1 | org.jboss.bpm.console.client.SettingsEditor 2 | org.jboss.bpm.console.client.process.ProcessEditor 3 | org.jboss.bpm.console.client.task.TaskEditor 4 | org.jboss.bpm.console.client.report.ReportEditor 5 | #org.jboss.bpm.console.client.engine.EngineEditor -------------------------------------------------------------------------------- /gui/app-base/src/main/resources/ErraiApp.properties: -------------------------------------------------------------------------------- 1 | ## 2 | ## This file is required for the ErraiBus Module Auto-Discovery 3 | ## DO NOT REMOVE 4 | ## 5 | -------------------------------------------------------------------------------- /gui/app-base/src/main/resources/mvc4g-conf.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 23 | -------------------------------------------------------------------------------- /gui/app-base/src/main/resources/xhp.json: -------------------------------------------------------------------------------- 1 | {"xhp": { 2 | "version": "1.1", 3 | "services": [ 4 | {"id": "default", 5 | "url":"http://127.0.0.1:8080/gwt-console-server", 6 | "passthrough":true 7 | }, 8 | {"id": "birt", 9 | "url":"http://127.0.0.1:8080/gwt-console-server", 10 | "passthrough":true, 11 | "contentType":"text/html" 12 | } 13 | ] 14 | } 15 | } -------------------------------------------------------------------------------- /gui/app-base/src/test/examples/ForkJoinExample.par: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/test/examples/ForkJoinExample.par -------------------------------------------------------------------------------- /gui/app-base/src/test/examples/TaskAssignmentExample.par: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/test/examples/TaskAssignmentExample.par -------------------------------------------------------------------------------- /gui/app-base/src/test/java/PreparationTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | 23 | import junit.framework.Assert; 24 | import junit.framework.TestCase; 25 | 26 | /** 27 | * @author Heiko.Braun 28 | */ 29 | public class PreparationTest extends TestCase 30 | { 31 | 32 | protected void setUp() throws Exception 33 | { 34 | 35 | } 36 | 37 | public void testSuccess() 38 | { 39 | Assert.assertTrue(true); 40 | } 41 | 42 | } 43 | -------------------------------------------------------------------------------- /gui/app-base/src/test/resources/ForkJoinExample3.par: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/test/resources/ForkJoinExample3.par -------------------------------------------------------------------------------- /gui/app-base/src/test/resources/SampleProcess.par: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/app-base/src/test/resources/SampleProcess.par -------------------------------------------------------------------------------- /gui/profiles/drools/pom.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 4.0.0 6 | JBoss BPM - Console::GUI::Profile::Drools 7 | org.jboss.bpm 8 | gwt-console-profile-drools 9 | jar 10 | 11 | 12 | 13 | org.jboss.bpm 14 | gwt-console-profiles 15 | 2.5.0-SNAPSHOT 16 | ../pom.xml 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /gui/profiles/drools/src/main/resources/console.config.js: -------------------------------------------------------------------------------- 1 | var consoleConfig = { 2 | profileName: "Drools Flow Console", 3 | logo: "app/droolsflow_logo.png", 4 | serverWebContext: "/gwt-console-server", 5 | defaultEditor: "org.jboss.bpm.console.client.process.ProcessModule", 6 | overallReportFile: "overall_activity.rptdesign", 7 | processSummaryReportFile: "process_summary.rptdesign", 8 | instanceSummaryReportFile: "instance_summary.rptdesign" 9 | }; -------------------------------------------------------------------------------- /gui/profiles/drools/src/main/resources/toolset-profile.properties: -------------------------------------------------------------------------------- 1 | org.jboss.bpm.console.client.task.AssignedTasksModule 2 | org.jboss.bpm.console.client.task.OpenTasksModule 3 | #org.jboss.bpm.console.client.engine.DeploymentModule 4 | #org.jboss.bpm.console.client.engine.JobListModule 5 | org.jboss.bpm.console.client.PreferencesModule 6 | org.jboss.bpm.console.client.ServerStatusModule 7 | org.jboss.bpm.console.client.process.ProcessModule 8 | org.jboss.bpm.console.client.report.ReportModule -------------------------------------------------------------------------------- /gui/profiles/jbpm/pom.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 4.0.0 6 | JBoss BPM - Console::GUI::Profile::jbpm 7 | org.jboss.bpm 8 | gwt-console-profile-jbpm 9 | jar 10 | 11 | 12 | 13 | org.jboss.bpm 14 | gwt-console-profiles 15 | 2.5.0-SNAPSHOT 16 | ../pom.xml 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /gui/profiles/jbpm/src/main/resources/console.config.js: -------------------------------------------------------------------------------- 1 | var consoleConfig = { 2 | profileName: "jBPM Console", 3 | logo: "app/jbpm_logo.png", 4 | serverWebContext: "/gwt-console-server", 5 | defaultEditor: "org.jboss.bpm.console.client.process.ProcessModule", 6 | overallReportFile: "overall_activity.rptdesign", 7 | processSummaryReportFile: "process_summary.rptdesign", 8 | instanceSummaryReportFile: "instance_summary.rptdesign" 9 | }; 10 | -------------------------------------------------------------------------------- /gui/profiles/jbpm/src/main/resources/errai-proxy.json: -------------------------------------------------------------------------------- 1 | {"xhp": { 2 | "version": "1.1", 3 | "services": [ 4 | {"id": "default", 5 | "url":"http://127.0.0.1:8080/jbpm-console/in.erraiBus", 6 | "passthrough":true 7 | }, 8 | ] 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /gui/profiles/jbpm/src/main/resources/jbpm.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/profiles/jbpm/src/main/resources/jbpm.gif -------------------------------------------------------------------------------- /gui/profiles/jbpm/src/main/resources/jbpm_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/profiles/jbpm/src/main/resources/jbpm_logo.png -------------------------------------------------------------------------------- /gui/profiles/jbpm/src/main/resources/toolset-profile.properties: -------------------------------------------------------------------------------- 1 | org.jboss.bpm.console.client.task.AssignedTasksModule 2 | org.jboss.bpm.console.client.task.OpenTasksModule 3 | #org.jboss.bpm.console.client.process.v2.Explorer 4 | org.jboss.bpm.console.client.process.ProcessModule 5 | #org.jboss.bpm.console.client.process.ProcessHistoryModule 6 | #org.jboss.bpm.console.client.engine.DeploymentModule 7 | #org.jboss.bpm.console.client.engine.JobListModule 8 | #org.jboss.bpm.monitor.gui.client.DebugPanel 9 | #org.jboss.bpm.console.client.monitor.ExecutionHistoryView 10 | #org.jboss.bpm.console.client.history.ProcessHistorySearchModule 11 | org.jboss.bpm.console.client.PreferencesModule 12 | org.jboss.bpm.console.client.ServerStatusModule 13 | org.jboss.bpm.console.client.report.ReportModule 14 | -------------------------------------------------------------------------------- /gui/profiles/pom.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 4.0.0 6 | JBoss BPM - Console::GUI:Profiles 7 | org.jboss.bpm 8 | gwt-console-profiles 9 | pom 10 | 11 | 12 | 13 | 14 | org.jboss.bpm 15 | gwt-console-gui 16 | 2.5.0-SNAPSHOT 17 | ../pom.xml 18 | 19 | 20 | 21 | 22 | jbpm 23 | drools 24 | riftsaw 25 | 26 | 27 | -------------------------------------------------------------------------------- /gui/profiles/riftsaw/pom.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 4.0.0 6 | JBoss BPM - Console::GUI::Profile::RiftSaw 7 | org.jboss.bpm 8 | gwt-console-profile-riftsaw 9 | jar 10 | 11 | 12 | 13 | org.jboss.bpm 14 | gwt-console-profiles 15 | 2.5.0-SNAPSHOT 16 | ../pom.xml 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /gui/profiles/riftsaw/src/main/resources/console.config.js: -------------------------------------------------------------------------------- 1 | var consoleConfig = { 2 | profileName: "BPEL Console", // don't change 3 | logo: "app/riftsaw_logo.png", 4 | serverWebContext: "/bpel-console-server", 5 | defaultEditor: "org.jboss.bpm.console.client.process.ProcessModule", 6 | overallReportFile: "overall_activity.rptdesign", 7 | processSummaryReportFile: "process_summary.rptdesign", 8 | instanceSummaryReportFile: "instance_summary.rptdesign" 9 | }; -------------------------------------------------------------------------------- /gui/profiles/riftsaw/src/main/resources/riftsaw_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/profiles/riftsaw/src/main/resources/riftsaw_logo.png -------------------------------------------------------------------------------- /gui/profiles/riftsaw/src/main/resources/toolset-profile.properties: -------------------------------------------------------------------------------- 1 | #org.jboss.bpm.console.client.task.AssignedTasksModule 2 | #org.jboss.bpm.console.client.task.OpenTasksModule 3 | org.jboss.bpm.console.client.process.v2.Explorer 4 | org.jboss.bpm.console.client.engine.DeploymentModule 5 | #org.jboss.bpm.console.client.engine.JobListModule 6 | #org.jboss.bpm.monitor.gui.client.DebugPanel 7 | org.jboss.bpm.console.client.monitor.ExecutionHistoryView 8 | org.jboss.bpm.console.client.history.ProcessHistorySearchModule 9 | org.jboss.bpm.console.client.PreferencesModule 10 | org.jboss.bpm.console.client.ServerStatusModule 11 | #org.jboss.bpm.console.client.report.ReportModule -------------------------------------------------------------------------------- /gui/war-base/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | JBoss BPM - Console::GUI::WAR Base Overlay 5 | org.jboss.bpm 6 | gwt-console-war-base 7 | war 8 | 9 | 10 | 11 | org.jboss.bpm 12 | gwt-console-gui 13 | 2.5.0-SNAPSHOT 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | Something is wrong if you see this in your final WAR! 7 | 8 | -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/chart.css: -------------------------------------------------------------------------------- 1 | 2 | series.s0 line { 3 | color: green; 4 | } 5 | 6 | .s0 point { 7 | color: green; 8 | background-color: green 9 | } 10 | 11 | 12 | series.s1 line { 13 | color: red; 14 | } 15 | 16 | .s1 point { 17 | color: red; 18 | background-color: red 19 | } 20 | 21 | series.s2 line { 22 | color: blue; 23 | } 24 | 25 | .s2 point { 26 | color: blue; 27 | background-color: blue 28 | } -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/Jbpm_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/Jbpm_logo.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/Jbpm_logo_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/Jbpm_logo_small.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/ajax-loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/ajax-loader.gif -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/bg_gradient.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/bg_gradient.gif -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/bg_headergradient.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/bg_headergradient.gif -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/bg_listgradient.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/bg_listgradient.gif -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/bg_suggestgradient.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/bg_suggestgradient.gif -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/blank_loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/blank_loading.gif -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/blank_splash.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/blank_splash.gif -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/gwt-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/gwt-logo.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/icons/05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/icons/05.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/icons/05_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/icons/05_1.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/icons/13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/icons/13.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/icons/14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/icons/14.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/icons/27.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/icons/27.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/icons/29.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/icons/29.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/icons/31.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/icons/31.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/icons/36.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/icons/36.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/icons/41.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/icons/41.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/icons/49.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/icons/49.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/icons/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/icons/add.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/icons/add_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/icons/add_small.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/icons/confirm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/icons/confirm.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/icons/confirm_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/icons/confirm_small.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/icons/deny.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/icons/deny.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/icons/deny_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/icons/deny_small.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/icons/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/icons/error.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/icons/examine.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/icons/examine.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/icons/large.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/icons/large.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/icons/large_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/icons/large_small.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/icons/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/icons/loading.gif -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/icons/lock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/icons/lock.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/icons/lock_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/icons/lock_small.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/icons/pause.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/icons/pause.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/icons/pause_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/icons/pause_small.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/icons/play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/icons/play.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/icons/play_red_big.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/icons/play_red_big.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/icons/play_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/icons/play_small.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/icons/remove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/icons/remove.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/icons/remove_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/icons/remove_small.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/icons/stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/icons/stop.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/icons/stop_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/icons/stop_small.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/icons/unlock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/icons/unlock.png -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/loading-circle.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/loading-circle.gif -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/loading.gif -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/loading_lite.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/loading_lite.gif -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/processSample.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/processSample.jpg -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/images/tab.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/main/webapp/images/tab.gif -------------------------------------------------------------------------------- /gui/war-base/src/main/webapp/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /gui/war-base/src/test/examples/ForkJoinExample.par: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/test/examples/ForkJoinExample.par -------------------------------------------------------------------------------- /gui/war-base/src/test/examples/TaskAssignmentExample.par: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/test/examples/TaskAssignmentExample.par -------------------------------------------------------------------------------- /gui/war-base/src/test/java/PreparationTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | 23 | import junit.framework.Assert; 24 | import junit.framework.TestCase; 25 | 26 | /** 27 | * @author Heiko.Braun 28 | */ 29 | public class PreparationTest extends TestCase 30 | { 31 | 32 | protected void setUp() throws Exception 33 | { 34 | 35 | } 36 | 37 | public void testSuccess() 38 | { 39 | Assert.assertTrue(true); 40 | } 41 | 42 | } 43 | -------------------------------------------------------------------------------- /gui/war-base/src/test/resources/ForkJoinExample3.par: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/test/resources/ForkJoinExample3.par -------------------------------------------------------------------------------- /gui/war-base/src/test/resources/SampleProcess.par: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/war-base/src/test/resources/SampleProcess.par -------------------------------------------------------------------------------- /gui/war-templates/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | JBoss BPM - Console::GUI::Webapp Templates 5 | org.jboss.bpm 6 | gwt-console-war-templates 7 | 8 | 9 | 10 | org.jboss.bpm 11 | gwt-console-gui 12 | 2.5.0-SNAPSHOT 13 | 14 | 15 | 16 | 17 | 18 | src/main/resources 19 | false 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /gui/war-templates/src/main/resources/WEB-INF/classes/errai-proxy.json: -------------------------------------------------------------------------------- 1 | {"xhp": { 2 | "version": "1.1", 3 | "services": [ 4 | {"id": "default", 5 | "url":"http://127.0.0.1:8080/@console.app.webcontext@/in.erraiBus", 6 | "passthrough":true 7 | }, 8 | ] 9 | } 10 | } -------------------------------------------------------------------------------- /gui/war-templates/src/main/resources/WEB-INF/jboss-web.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | 9 | 10 | 11 | ${console.app.webcontext} 12 | 13 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /gui/war-templates/src/main/resources/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | BPM Console UI 7 | 8 | @comment.left@ 9 | 10 | xmlProxy 11 | org.jboss.errai.tools.proxy.XmlHttpProxyServlet 12 | 1 13 | 14 | 15 | 16 | erraiProxy 17 | Errai Proxy 18 | org.jboss.errai.tools.proxy.XmlHttpProxyServlet 19 | 20 | config.name 21 | errai-proxy.json 22 | 23 | 1 24 | 25 | @comment.right@ 26 | 27 | 28 | ErraiServlet 29 | org.jboss.errai.bus.server.servlet.DefaultBlockingServlet 30 | 1 31 | 32 | 33 | 34 | ErraiServlet 35 | *.erraiBus 36 | 37 | 38 | @comment.left@ 39 | 40 | xmlProxy 41 | /app/xhp/* 42 | 43 | 44 | 45 | erraiProxy 46 | /app/proxy/* 47 | 48 | @comment.right@ 49 | 50 | -------------------------------------------------------------------------------- /gui/wars/GWT_TEST_README.txt: -------------------------------------------------------------------------------- 1 | Special node for executing GWT tests under linux: 2 | The GWT-maven plugin executes any test prefixed "GwtTest" 3 | (See http://gwt-maven.googlecode.com/svn/docs/maven-googlewebtoolkit2-plugin/testing.html) 4 | It reads stderr in order to figure wether or not the test has been successful. 5 | On fedora (or any other linux) it happens that that mozilla components issue the following 6 | INFO message to stderr, which causes the test to fail: 7 | 8 | > Gtk-WARNING **: Unable to locate theme engine in module_path: "nodoka" 9 | 10 | This is caused by missing nodoka (theme) package; please install it as follow: 11 | yum install gtk-nodoka-engine (on fedora) 12 | 13 | -------------------------------------------------------------------------------- /gui/wars/README.txt: -------------------------------------------------------------------------------- 1 | Running in hosted mode: 2 | ---------------------- 3 | 4 | Start the GWT shell with 5 | 6 | mvn gwt: 7 | 8 | When the hosted browser is started, it's enough to hit the 'refresh' button to recompile 9 | and verfiy changes. 10 | 11 | NOTE: Really quick turnaround through 12 | 13 | mvn -Dhosted gwt: 14 | 15 | (Will run "mvn -o -Dgoogle.webtoolkit.compileSkip=true gwt:") 16 | 17 | 18 | Running in web mode: 19 | ------------------- 20 | 21 | mvn package 22 | 23 | Produces a war file in target/gwt-console.war, 24 | which can be deployed to a running jboss instance. 25 | 26 | Problems? 27 | --------- 28 | Please post any questions to the gwt-console developer forum. 29 | (http://www.jboss.org/index.html?module=bb&op=viewforum&f=295) 30 | 31 | Have fun. 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /gui/wars/jbpm/pom.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 4.0.0 6 | JBoss BPM - Console::GUI::Webapp::jbpm 7 | org.jboss.bpm 8 | gwt-console-jbpm 9 | war 10 | 11 | 12 | 13 | org.jboss.bpm 14 | gwt-console-war-parent 15 | 2.5.0-SNAPSHOT 16 | 17 | 18 | 19 | 20 | src/main/properties/jbpm.properties 21 | 22 | 23 | 24 | maven-dependency-plugin 25 | 26 | 27 | org.codehaus.mojo 28 | build-helper-maven-plugin 29 | 30 | 31 | org.codehaus.mojo 32 | gwt-maven-plugin 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /gui/wars/jbpm/src/main/properties/jbpm.properties: -------------------------------------------------------------------------------- 1 | comment.left= 3 | console.app.webcontext=jbpm-console 4 | -------------------------------------------------------------------------------- /gui/wars/jbpm/src/main/resources/toolset-profile.properties: -------------------------------------------------------------------------------- 1 | org.jboss.bpm.console.client.task.AssignedTasksModule 2 | org.jboss.bpm.console.client.task.OpenTasksModule 3 | #org.jboss.bpm.console.client.process.v2.Explorer 4 | org.jboss.bpm.console.client.process.ProcessModule 5 | #org.jboss.bpm.console.client.process.ProcessHistoryModule 6 | #org.jboss.bpm.console.client.engine.DeploymentModule 7 | #org.jboss.bpm.console.client.engine.JobListModule 8 | #org.jboss.bpm.monitor.gui.client.DebugPanel 9 | #org.jboss.bpm.console.client.monitor.ExecutionHistoryView 10 | #org.jboss.bpm.console.client.history.ProcessHistorySearchModule 11 | org.jboss.bpm.console.client.PreferencesModule 12 | org.jboss.bpm.console.client.ServerStatusModule 13 | org.jboss.bpm.console.client.report.ReportModule 14 | -------------------------------------------------------------------------------- /gui/wars/jbpm/src/main/webapp/app/console.config.js: -------------------------------------------------------------------------------- 1 | var consoleConfig = { 2 | profileName: "jBPM Console", 3 | logo: "app/jbpm_logo.png", 4 | serverWebContext: "/gwt-console-server", 5 | defaultEditor: "org.jboss.bpm.console.client.process.ProcessModule", 6 | overallReportFile: "overall_activity.rptdesign", 7 | processSummaryReportFile: "process_summary.rptdesign", 8 | instanceSummaryReportFile: "instance_summary.rptdesign" 9 | }; 10 | -------------------------------------------------------------------------------- /gui/wars/jbpm/src/main/webapp/app/errai-proxy.json: -------------------------------------------------------------------------------- 1 | {"xhp": { 2 | "version": "1.1", 3 | "services": [ 4 | {"id": "default", 5 | "url":"http://127.0.0.1:8080/jbpm-console/in.erraiBus", 6 | "passthrough":true 7 | }, 8 | ] 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /gui/wars/jbpm/src/main/webapp/app/jbpm.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/wars/jbpm/src/main/webapp/app/jbpm.gif -------------------------------------------------------------------------------- /gui/wars/jbpm/src/main/webapp/app/jbpm_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/wars/jbpm/src/main/webapp/app/jbpm_logo.png -------------------------------------------------------------------------------- /gui/wars/jbpm/src/main/webapp/app/toolset-profile.properties: -------------------------------------------------------------------------------- 1 | org.jboss.bpm.console.client.task.AssignedTasksModule 2 | org.jboss.bpm.console.client.task.OpenTasksModule 3 | #org.jboss.bpm.console.client.process.v2.Explorer 4 | org.jboss.bpm.console.client.process.ProcessModule 5 | #org.jboss.bpm.console.client.process.ProcessHistoryModule 6 | #org.jboss.bpm.console.client.engine.DeploymentModule 7 | #org.jboss.bpm.console.client.engine.JobListModule 8 | #org.jboss.bpm.monitor.gui.client.DebugPanel 9 | #org.jboss.bpm.console.client.monitor.ExecutionHistoryView 10 | #org.jboss.bpm.console.client.history.ProcessHistorySearchModule 11 | org.jboss.bpm.console.client.PreferencesModule 12 | org.jboss.bpm.console.client.ServerStatusModule 13 | org.jboss.bpm.console.client.report.ReportModule 14 | -------------------------------------------------------------------------------- /gui/wars/jbpm/src/main/webapp/console.config.js: -------------------------------------------------------------------------------- 1 | var consoleConfig = { 2 | profileName: "jBPM Console", 3 | logo: "app/jbpm_logo.png", 4 | serverWebContext: "/gwt-console-server", 5 | defaultEditor: "org.jboss.bpm.console.client.process.ProcessModule", 6 | overallReportFile: "overall_activity.rptdesign", 7 | processSummaryReportFile: "process_summary.rptdesign", 8 | instanceSummaryReportFile: "instance_summary.rptdesign" 9 | }; 10 | -------------------------------------------------------------------------------- /gui/wars/jbpm/src/main/webapp/errai-proxy.json: -------------------------------------------------------------------------------- 1 | {"xhp": { 2 | "version": "1.1", 3 | "services": [ 4 | {"id": "default", 5 | "url":"http://127.0.0.1:8080/jbpm-console/in.erraiBus", 6 | "passthrough":true 7 | }, 8 | ] 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /gui/wars/jbpm/src/main/webapp/jbpm.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/wars/jbpm/src/main/webapp/jbpm.gif -------------------------------------------------------------------------------- /gui/wars/jbpm/src/main/webapp/jbpm_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/wars/jbpm/src/main/webapp/jbpm_logo.png -------------------------------------------------------------------------------- /gui/wars/jbpm/src/main/webapp/toolset-profile.properties: -------------------------------------------------------------------------------- 1 | org.jboss.bpm.console.client.task.AssignedTasksModule 2 | org.jboss.bpm.console.client.task.OpenTasksModule 3 | #org.jboss.bpm.console.client.process.v2.Explorer 4 | org.jboss.bpm.console.client.process.ProcessModule 5 | #org.jboss.bpm.console.client.process.ProcessHistoryModule 6 | #org.jboss.bpm.console.client.engine.DeploymentModule 7 | #org.jboss.bpm.console.client.engine.JobListModule 8 | #org.jboss.bpm.monitor.gui.client.DebugPanel 9 | #org.jboss.bpm.console.client.monitor.ExecutionHistoryView 10 | #org.jboss.bpm.console.client.history.ProcessHistorySearchModule 11 | org.jboss.bpm.console.client.PreferencesModule 12 | org.jboss.bpm.console.client.ServerStatusModule 13 | org.jboss.bpm.console.client.report.ReportModule 14 | -------------------------------------------------------------------------------- /gui/wars/riftsaw/pom.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 4.0.0 6 | JBoss BPM - Console::GUI::Webapp::RiftSaw 7 | org.jboss.bpm 8 | gwt-console-riftsaw 9 | war 10 | 11 | 12 | 13 | org.jboss.bpm 14 | gwt-console-war-parent 15 | 2.5.0-SNAPSHOT 16 | 17 | 18 | 19 | 20 | src/main/properties/riftsaw.properties 21 | 22 | 23 | 24 | maven-dependency-plugin 25 | 26 | 27 | org.codehaus.mojo 28 | build-helper-maven-plugin 29 | 30 | 31 | org.codehaus.mojo 32 | gwt-maven-plugin 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /gui/wars/riftsaw/src/main/properties/riftsaw.properties: -------------------------------------------------------------------------------- 1 | comment.left= 3 | console.app.webcontext=bpel-console 4 | -------------------------------------------------------------------------------- /gui/wars/riftsaw/src/main/webapp/app/console.config.js: -------------------------------------------------------------------------------- 1 | var consoleConfig = { 2 | profileName: "BPEL Console", // don't change 3 | logo: "app/riftsaw_logo.png", 4 | serverWebContext: "/bpel-console-server", 5 | defaultEditor: "org.jboss.bpm.console.client.process.ProcessModule", 6 | overallReportFile: "overall_activity.rptdesign", 7 | processSummaryReportFile: "process_summary.rptdesign", 8 | instanceSummaryReportFile: "instance_summary.rptdesign" 9 | }; -------------------------------------------------------------------------------- /gui/wars/riftsaw/src/main/webapp/app/riftsaw_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmc/bpm-console/ccd03a6717aa7c95768b3b41c3e5a135062e8ac9/gui/wars/riftsaw/src/main/webapp/app/riftsaw_logo.png -------------------------------------------------------------------------------- /gui/wars/riftsaw/src/main/webapp/app/toolset-profile.properties: -------------------------------------------------------------------------------- 1 | #org.jboss.bpm.console.client.task.AssignedTasksModule 2 | #org.jboss.bpm.console.client.task.OpenTasksModule 3 | org.jboss.bpm.console.client.process.v2.Explorer 4 | org.jboss.bpm.console.client.engine.DeploymentModule 5 | #org.jboss.bpm.console.client.engine.JobListModule 6 | #org.jboss.bpm.monitor.gui.client.DebugPanel 7 | org.jboss.bpm.console.client.monitor.ExecutionHistoryView 8 | org.jboss.bpm.console.client.history.ProcessHistorySearchModule 9 | org.jboss.bpm.console.client.PreferencesModule 10 | org.jboss.bpm.console.client.ServerStatusModule 11 | #org.jboss.bpm.console.client.report.ReportModule -------------------------------------------------------------------------------- /server/integration/src/main/java/org/jboss/bpm/console/server/integration/UserManagement.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.server.integration; 23 | 24 | import java.util.List; 25 | 26 | /** 27 | * @author Heiko.Braun 28 | */ 29 | public interface UserManagement 30 | { 31 | List getGroupsForActor(String actorId); 32 | 33 | List getActorsForGroup(String groupName); 34 | } -------------------------------------------------------------------------------- /server/integration/src/main/java/org/jboss/bpm/console/server/plugin/FormAuthorityRef.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.server.plugin; 23 | 24 | /** 25 | * Identifies the source entity associated with a form. 26 | * I.e. process or task. 27 | * 28 | * @author Heiko.Braun 29 | */ 30 | public class FormAuthorityRef 31 | { 32 | public enum Type {TASK, PROCESS} 33 | 34 | private Type currentType = null; 35 | 36 | private String referenceId; 37 | 38 | public FormAuthorityRef(String referenceId) 39 | { 40 | this.referenceId = referenceId; 41 | this.currentType = Type.TASK; 42 | } 43 | 44 | public FormAuthorityRef(String referenceId, Type currentType) 45 | { 46 | this.currentType = currentType; 47 | this.referenceId = referenceId; 48 | } 49 | 50 | public Type getType() 51 | { 52 | return this.currentType; 53 | } 54 | 55 | public String getReferenceId() 56 | { 57 | return referenceId; 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /server/integration/src/main/java/org/jboss/bpm/console/server/plugin/FormDispatcherPlugin.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.server.plugin; 23 | 24 | import javax.activation.DataHandler; 25 | import java.net.URL; 26 | import java.util.Map; 27 | 28 | /** 29 | * Render task UI's and process task completion. 30 | * 31 | * @author Heiko.Braun 32 | */ 33 | public interface FormDispatcherPlugin 34 | { 35 | URL getDispatchUrl(FormAuthorityRef ref); 36 | 37 | DataHandler provideForm(FormAuthorityRef ref); 38 | } 39 | -------------------------------------------------------------------------------- /server/integration/src/main/java/org/jboss/bpm/console/server/plugin/ProcessActivityPlugin.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2009 JBoss, a divison Red Hat, Inc 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package org.jboss.bpm.console.server.plugin; 17 | 18 | /** 19 | * @author: Heiko Braun 20 | * @date: Oct 13, 2010 21 | */ 22 | public interface ProcessActivityPlugin { 23 | 24 | byte[] getProcessImage(String definitionId); 25 | 26 | byte[] getProcessInstanceImage(String definition, String instanceId); 27 | 28 | } 29 | -------------------------------------------------------------------------------- /server/integration/src/main/java/org/jboss/bpm/console/server/plugin/ProcessEnginePlugin.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.server.plugin; 23 | 24 | import org.jboss.bpm.console.client.model.DeploymentRef; 25 | import org.jboss.bpm.console.client.model.JobRef; 26 | 27 | import java.util.List; 28 | 29 | /** 30 | * Manages runtime aspects of the underlying process engine. 31 | * 32 | * @author Heiko.Braun 33 | */ 34 | public interface ProcessEnginePlugin 35 | { 36 | List getDeployments(); 37 | 38 | void deleteDeployment(String id); 39 | 40 | void suspendDeployment(String id, boolean isSuspended); 41 | 42 | List getJobs(); 43 | 44 | void executeJob(String jobId); 45 | } 46 | -------------------------------------------------------------------------------- /server/integration/src/main/java/org/jboss/bpm/console/server/plugin/ProcessHistoryPlugin.java: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | */ 4 | package org.jboss.bpm.console.server.plugin; 5 | 6 | import java.util.List; 7 | import java.util.Set; 8 | 9 | import org.jboss.bpm.console.client.model.HistoryProcessInstanceRef; 10 | import org.jboss.bpm.console.client.model.ProcessDefinitionRef; 11 | 12 | /** 13 | * @author Jeff Yu 14 | * @date Mar 17, 2011 15 | */ 16 | public interface ProcessHistoryPlugin { 17 | 18 | List getHistoryProcessInstances(String definitionkey, String status, 19 | long starttime, long endtime, String correlationkey); 20 | 21 | List getProcessDefinitions(); 22 | 23 | List getProcessInstanceKeys(String definitionId); 24 | 25 | List getActivityKeys(String instanceId); 26 | 27 | List getAllEvents(String instanceId); 28 | 29 | Set getCompletedInstances(String definitionId, long timestamp, String timespan); 30 | 31 | Set getFailedInstances(String definitionId, long timestamp, String timespan); 32 | 33 | Set getTerminatedInstances(String definitionId, long timestamp, String timespan); 34 | 35 | String getCompletedInstances4Chart(String definitionId, String timespan); 36 | 37 | String getFailedInstances4Chart(String definitionId, String timespan); 38 | 39 | 40 | } 41 | -------------------------------------------------------------------------------- /server/pom.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 4.0.0 6 | JBoss BPM - Console::Server 7 | org.jboss.bpm 8 | gwt-console-servermodule 9 | pom 10 | 11 | 12 | 13 | org.jboss.bpm 14 | gwt-console-parent 15 | 2.5.0-SNAPSHOT 16 | ../pom.xml 17 | 18 | 19 | 20 | war-base 21 | wars 22 | integration 23 | 24 | 25 | -------------------------------------------------------------------------------- /server/war-base/SQL.txt: -------------------------------------------------------------------------------- 1 | Group membership 2 | ---------------- 3 | select u.NAME_ as userName, g.NAME_ as groupName, m.ROLE_ as role from JBPM_ID_USER as u, JBPM_ID_GROUP as g, JBPM_ID_MEMBERSHIP as m 4 | where u.ID_=m.USER_ AND m.GROUP_=g.ID_ 5 | 6 | Log analysis 7 | ------------- 8 | 9 | [Instance start and end] 10 | 11 | SELECT l.CLASS_, l.DATE_, l.TOKEN_, i.ID_ as instanceID, p.NAME_ as processName, p.ID_ as processID 12 | FROM JBPM_LOG l, JBPM_TOKEN t, JBPM_PROCESSINSTANCE i, JBPM_PROCESSDEFINITION p 13 | WHERE l.CLASS_='I' OR l.CLASS_='X' 14 | AND t.ID_=l.TOKEN_ 15 | AND t.PROCESSINSTANCE_=i.ID_ 16 | AND i.PROCESSDEFINITION_=p.ID_ 17 | GROUP BY l.CLASS_ 18 | ORDER BY l.DATE_ ASC, l.TOKEN_ 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /server/war-base/scripts/assembly-config.xml: -------------------------------------------------------------------------------- 1 | 3 | report 4 | 5 | zip 6 | 7 | false 8 | 9 | 10 | ${project.build.outputDirectory} 11 | / 12 | 13 | *.rpt* 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /server/war-base/src/main/java/org/jboss/bpm/console/server/gson/GsonFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.server.gson; 23 | 24 | import com.google.gson.Gson; 25 | import com.google.gson.GsonBuilder; 26 | 27 | /** 28 | * @author Heiko.Braun 29 | */ 30 | public class GsonFactory 31 | { 32 | public static Gson createInstance() 33 | { 34 | Gson gson = new GsonBuilder() 35 | .setDateFormat("yyyy-MM-dd HH:mm:ss") 36 | .registerTypeAdapter(java.sql.Timestamp.class, new SQLDateTypeAdapter()) 37 | .create(); 38 | return gson; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /server/war-base/src/main/java/org/jboss/bpm/console/server/util/FilterServletOutputStream.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.server.util; 23 | 24 | import javax.servlet.ServletOutputStream; 25 | import java.io.DataOutputStream; 26 | import java.io.IOException; 27 | import java.io.OutputStream; 28 | 29 | /** 30 | * @author Heiko.Braun 31 | */ 32 | public class FilterServletOutputStream extends ServletOutputStream 33 | { 34 | 35 | private DataOutputStream stream; 36 | 37 | public FilterServletOutputStream(OutputStream output) { 38 | stream = new DataOutputStream(output); 39 | } 40 | 41 | public void write(int b) throws IOException { 42 | stream.write(b); 43 | } 44 | 45 | public void write(byte[] b) throws IOException { 46 | stream.write(b); 47 | } 48 | 49 | public void write(byte[] b, int off, int len) throws IOException 50 | { 51 | stream.write(b,off,len); 52 | } 53 | 54 | } 55 | -------------------------------------------------------------------------------- /server/war-base/src/main/java/org/jboss/bpm/console/server/util/ProjectName.java: -------------------------------------------------------------------------------- 1 | package org.jboss.bpm.console.server.util; 2 | 3 | /** 4 | * Jeff Yu 5 | * Mar 30, 2011 6 | */ 7 | public enum ProjectName { 8 | RIFTSAW, JBPM, DROOLS; 9 | 10 | } 11 | -------------------------------------------------------------------------------- /server/war-base/src/main/java/org/jboss/bpm/console/server/util/RsComment.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.server.util; 23 | 24 | @java.lang.annotation.Target(value = {java.lang.annotation.ElementType.TYPE, java.lang.annotation.ElementType.METHOD}) @java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME) 25 | public @interface RsComment { 26 | 27 | java.lang.String title() default ""; 28 | java.lang.String description() default ""; 29 | ProjectName[] project() default {ProjectName.RIFTSAW, ProjectName.JBPM, ProjectName.DROOLS}; 30 | java.lang.String example() default ""; 31 | } -------------------------------------------------------------------------------- /server/war-base/src/main/resources/process.jpdl.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /server/war-base/src/main/webapp/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |

GWT Console Server

5 | 6 |

Published URL's

7 | You can find a list of RiftSaw resources here, 8 | and a list of jBPM resources here. 9 | 10 |

Example usage (this is an example for jBPM, replace the gwt-console-server as bpel-console-server for RiftSaw project)

11 | 12 |
13 |    curl -u "user:password" -H 'Accept: application/json' http://localhost:8080/gwt-console-server/rs/process/definitions
14 |    curl -H 'Accept: application/json' http://localhost:8080/gwt-console-server/rs/process/definition/1/instances
15 | 
16 | 17 |

Problems?

18 | Please post any questions to the gwt-console developer forum. 19 | 20 | 21 | -------------------------------------------------------------------------------- /server/war-base/src/main/webapp/login.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | HTTP 401 4 | 5 | 6 |
7 | 8 |
9 |

10 | 11 |
12 |

BPM Console Server

13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 |
Username:
Password:
28 |
29 | 30 | 31 | -------------------------------------------------------------------------------- /server/war-base/src/main/webapp/login_failed.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | HTTP 401 4 |
5 | 6 | 7 |
8 |

9 | 10 |
11 |

Login failed!

12 |
13 | 14 | 15 | -------------------------------------------------------------------------------- /server/war-base/src/test/java/org/jboss/bpm/test/typeconversion/AnnotatedComplexType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.test.typeconversion; 23 | 24 | import javax.xml.bind.annotation.XmlRootElement; 25 | import javax.xml.bind.annotation.XmlElement; 26 | import javax.xml.bind.annotation.XmlType; 27 | import java.util.Date; 28 | 29 | /** 30 | * @author Heiko.Braun 31 | */ 32 | @XmlRootElement() 33 | @XmlType(namespace = "http://foo.bar.com", name = "Order") 34 | public class AnnotatedComplexType 35 | { 36 | @XmlElement(name = "timestamp") 37 | long data = new Date().getTime(); 38 | } 39 | -------------------------------------------------------------------------------- /server/war-base/src/test/java/org/jboss/bpm/test/typeconversion/ComplexType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.test.typeconversion; 23 | 24 | /** 25 | * @author Heiko.Braun 26 | */ 27 | public class ComplexType 28 | { 29 | String message; 30 | 31 | 32 | public ComplexType() 33 | { 34 | } 35 | 36 | public String getMessage() 37 | { 38 | return message; 39 | } 40 | 41 | public void setMessage(String message) 42 | { 43 | this.message = message; 44 | } 45 | 46 | public ComplexType(String message) 47 | { 48 | this.message = message; 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /server/war-base/src/test/java/org/jboss/bpm/test/typeconversion/IllegalType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.test.typeconversion; 23 | 24 | import java.io.InputStream; 25 | import java.io.ByteArrayInputStream; 26 | 27 | /** 28 | * @author Heiko.Braun 29 | */ 30 | public class IllegalType 31 | { 32 | InputStream in = new ByteArrayInputStream("Hwllo World".getBytes()); 33 | } 34 | -------------------------------------------------------------------------------- /server/wars/jbpm/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | JBoss BPM - Console::Server::jBPM Webapp 5 | org.jboss.bpm 6 | gwt-console-server-jbpm 7 | war 8 | 9 | 10 | 11 | org.jboss.bpm 12 | gwt-console-warsmodule 13 | 2.5.0-SNAPSHOT 14 | ../pom.xml 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /server/wars/jbpm/src/main/webapp/WEB-INF/jboss-web.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | 9 | java:/jaas/jbpm-console 10 | 11 | gwt-console-server 12 | 13 | 14 | -------------------------------------------------------------------------------- /server/wars/pom.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 4.0.0 6 | JBoss BPM - Console::WARs (Parent) 7 | org.jboss.bpm 8 | gwt-console-warsmodule 9 | pom 10 | 11 | 12 | 13 | org.jboss.bpm 14 | gwt-console-servermodule 15 | 2.5.0-SNAPSHOT 16 | 17 | 18 | 19 | jbpm 20 | riftsaw 21 | 22 | 23 | 24 | 25 | org.jboss.bpm 26 | gwt-console-server-war-base 27 | ${project.version} 28 | provided 29 | war 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | org.apache.maven.plugins 38 | maven-war-plugin 39 | 40 | 41 | 42 | org.jboss.bpm 43 | gwt-console-server-war-base 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /server/wars/riftsaw/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | JBoss BPM - Console::Server::Riftsaw Webapp 5 | org.jboss.bpm 6 | gwt-console-server-riftsaw 7 | war 8 | 9 | 10 | 11 | org.jboss.bpm 12 | gwt-console-warsmodule 13 | 2.5.0-SNAPSHOT 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /server/wars/riftsaw/src/main/webapp/WEB-INF/jboss-web.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | 9 | java:/jaas/other 10 | 11 | bpel-console-server 12 | 13 | 14 | -------------------------------------------------------------------------------- /shared/pom.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 4.0.0 6 | JBoss BPM - Console::Shared 7 | org.jboss.bpm 8 | gwt-console-shared 9 | pom 10 | 11 | 12 | 13 | 14 | org.jboss.bpm 15 | gwt-console-parent 16 | 2.5.0-SNAPSHOT 17 | ../pom.xml 18 | 19 | 20 | 21 | rpc 22 | 23 | 24 | -------------------------------------------------------------------------------- /shared/rpc/src/main/java/org/jboss/bpm/console/client/model/HistoryActivityInstanceRef.java: -------------------------------------------------------------------------------- 1 | package org.jboss.bpm.console.client.model; 2 | 3 | import org.jboss.errai.bus.server.annotations.ExposeEntity; 4 | 5 | import java.io.Serializable; 6 | import java.util.Date; 7 | 8 | import javax.xml.bind.annotation.XmlRootElement; 9 | 10 | @XmlRootElement(name = "historyProcessInstance") 11 | @ExposeEntity 12 | public class HistoryActivityInstanceRef implements Serializable 13 | { 14 | 15 | private String activityName; 16 | private Date startTime; 17 | private Date endTime; 18 | private String executionId; 19 | private long duration; 20 | 21 | public String getActivityName() { 22 | return activityName; 23 | } 24 | 25 | public void setActivityName(String activityName) { 26 | this.activityName = activityName; 27 | } 28 | 29 | public Date getStartTime() { 30 | return startTime; 31 | } 32 | 33 | public void setStartTime(Date startTime) { 34 | this.startTime = startTime; 35 | } 36 | 37 | public Date getEndTime() { 38 | return endTime; 39 | } 40 | 41 | public void setEndTime(Date endTime) { 42 | this.endTime = endTime; 43 | } 44 | 45 | public String getExecutionId() { 46 | return executionId; 47 | } 48 | 49 | public void setExecutionId(String executionId) { 50 | this.executionId = executionId; 51 | } 52 | 53 | public long getDuration() { 54 | return duration; 55 | } 56 | 57 | public void setDuration(long duration) { 58 | this.duration = duration; 59 | } 60 | 61 | 62 | } 63 | -------------------------------------------------------------------------------- /shared/rpc/src/main/java/org/jboss/bpm/console/client/model/HistoryActivityInstanceRefWrapper.java: -------------------------------------------------------------------------------- 1 | package org.jboss.bpm.console.client.model; 2 | 3 | import java.util.List; 4 | 5 | import javax.xml.bind.annotation.XmlElement; 6 | import javax.xml.bind.annotation.XmlRootElement; 7 | 8 | @XmlRootElement(name = "wrapper") 9 | public class HistoryActivityInstanceRefWrapper { 10 | List historyEntires; 11 | 12 | public HistoryActivityInstanceRefWrapper() 13 | { 14 | } 15 | 16 | public HistoryActivityInstanceRefWrapper(List historyEntires) 17 | { 18 | this.historyEntires = historyEntires; 19 | } 20 | 21 | @XmlElement 22 | public List getDefinitions() 23 | { 24 | return historyEntires; 25 | } 26 | 27 | @XmlElement(name = "totalCount") 28 | public int getTotalCount() 29 | { 30 | return historyEntires.size(); 31 | } 32 | 33 | public void setDefinitions(List historyEntires) 34 | { 35 | this.historyEntires = historyEntires; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /shared/rpc/src/main/java/org/jboss/bpm/console/client/model/HistoryProcessInstanceRefWrapper.java: -------------------------------------------------------------------------------- 1 | package org.jboss.bpm.console.client.model; 2 | 3 | import java.util.List; 4 | 5 | import javax.xml.bind.annotation.XmlElement; 6 | import javax.xml.bind.annotation.XmlRootElement; 7 | 8 | @XmlRootElement(name = "wrapper") 9 | public class HistoryProcessInstanceRefWrapper { 10 | List historyEntires; 11 | 12 | public HistoryProcessInstanceRefWrapper() 13 | { 14 | } 15 | 16 | public HistoryProcessInstanceRefWrapper(List historyEntires) 17 | { 18 | this.historyEntires = historyEntires; 19 | } 20 | 21 | @XmlElement 22 | public List getDefinitions() 23 | { 24 | return historyEntires; 25 | } 26 | 27 | @XmlElement(name = "totalCount") 28 | public int getTotalCount() 29 | { 30 | return historyEntires.size(); 31 | } 32 | 33 | public void setDefinitions(List historyEntires) 34 | { 35 | this.historyEntires = historyEntires; 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /shared/rpc/src/main/java/org/jboss/bpm/console/client/model/JobRefWrapper.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.client.model; 23 | 24 | import javax.xml.bind.annotation.XmlRootElement; 25 | import java.util.List; 26 | import java.util.ArrayList; 27 | 28 | /** 29 | * @author Heiko.Braun 30 | */ 31 | @XmlRootElement(name = "wrapper") 32 | public class JobRefWrapper 33 | { 34 | List jobs = new ArrayList(); 35 | 36 | 37 | public JobRefWrapper() 38 | { 39 | } 40 | 41 | public JobRefWrapper(List deployments) 42 | { 43 | this.jobs = deployments; 44 | } 45 | 46 | public List getJobs() 47 | { 48 | return jobs; 49 | } 50 | 51 | public void setJobs(List jobs) 52 | { 53 | this.jobs = jobs; 54 | } 55 | 56 | public int getTotalCount() 57 | { 58 | return jobs.size(); 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /shared/rpc/src/main/java/org/jboss/bpm/console/client/model/PluginInfo.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.client.model; 23 | 24 | /** 25 | * @author Heiko.Braun 26 | */ 27 | public class PluginInfo 28 | { 29 | private String type; 30 | private boolean available; 31 | 32 | 33 | public PluginInfo() 34 | { 35 | } 36 | 37 | public PluginInfo(String type, boolean available) 38 | { 39 | this.type = type; 40 | this.available = available; 41 | } 42 | 43 | public String getType() 44 | { 45 | return type; 46 | } 47 | 48 | public void setType(String type) 49 | { 50 | this.type = type; 51 | } 52 | 53 | public boolean isAvailable() 54 | { 55 | return available; 56 | } 57 | 58 | public void setAvailable(boolean available) 59 | { 60 | this.available = available; 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /shared/rpc/src/main/java/org/jboss/bpm/console/client/model/ProcessInstancePerformance.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.client.model; 23 | 24 | import java.util.Map; 25 | 26 | /** 27 | * @author Heiko.Braun 28 | */ 29 | public final class ProcessInstancePerformance 30 | { 31 | private long id; 32 | private String processName; 33 | 34 | Map instanceMetrics; // Map 35 | 36 | public ProcessInstancePerformance(long processId, String processName, Map instanceMetrics) 37 | { 38 | this.id = processId; 39 | this.processName = processName; 40 | this.instanceMetrics = instanceMetrics; 41 | } 42 | 43 | 44 | public long getId() 45 | { 46 | return id; 47 | } 48 | 49 | public String getProcessName() 50 | { 51 | return processName; 52 | } 53 | 54 | public Map getInstanceMetrics() 55 | { 56 | return instanceMetrics; 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /shared/rpc/src/main/java/org/jboss/bpm/console/client/model/RoleAssignmentRefWrapper.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.client.model; 23 | 24 | import javax.xml.bind.annotation.XmlRootElement; 25 | import java.util.List; 26 | 27 | /** 28 | * @author Heiko.Braun 29 | */ 30 | @XmlRootElement(name = "wrapper") 31 | public class RoleAssignmentRefWrapper 32 | { 33 | List roles; 34 | 35 | public RoleAssignmentRefWrapper() 36 | { 37 | } 38 | 39 | public RoleAssignmentRefWrapper(List roles) 40 | { 41 | this.roles = roles; 42 | } 43 | 44 | public List getRoles() 45 | { 46 | return roles; 47 | } 48 | 49 | public void setRoles(List roles) 50 | { 51 | this.roles = roles; 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /shared/rpc/src/main/java/org/jboss/bpm/console/client/model/ServerStatus.java: -------------------------------------------------------------------------------- 1 | /* 2 | * JBoss, Home of Professional Open Source. 3 | * Copyright 2006, Red Hat Middleware LLC, and individual contributors 4 | * as indicated by the @author tags. See the copyright.txt file in the 5 | * distribution for a full listing of individual contributors. 6 | * 7 | * This is free software; you can redistribute it and/or modify it 8 | * under the terms of the GNU Lesser General Public License as 9 | * published by the Free Software Foundation; either version 2.1 of 10 | * the License, or (at your option) any later version. 11 | * 12 | * This software is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with this software; if not, write to the Free 19 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 20 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 21 | */ 22 | package org.jboss.bpm.console.client.model; 23 | 24 | import java.util.List; 25 | import java.util.ArrayList; 26 | 27 | /** 28 | * @author Heiko.Braun 29 | */ 30 | public class ServerStatus 31 | { 32 | List plugins = new ArrayList(); 33 | 34 | public List getPlugins() 35 | { 36 | return plugins; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /shared/rpc/src/main/java/org/jboss/bpm/console/client/model/StringRef.java: -------------------------------------------------------------------------------- 1 | package org.jboss.bpm.console.client.model; 2 | 3 | import javax.xml.bind.annotation.XmlRootElement; 4 | 5 | /** 6 | * User: Jeff Yu 7 | * Date: 12/04/11 8 | */ 9 | @XmlRootElement(name = "stringRef") 10 | public class StringRef { 11 | 12 | private String value; 13 | 14 | public StringRef(){} 15 | 16 | public StringRef(String value) { 17 | this.value = value; 18 | } 19 | 20 | public String getValue() { 21 | return value; 22 | } 23 | 24 | public void setValue(String value) { 25 | this.value = value; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /shared/rpc/src/main/java/org/jboss/bpm/console/client/model/StringRefWrapper.java: -------------------------------------------------------------------------------- 1 | package org.jboss.bpm.console.client.model; 2 | 3 | import java.util.List; 4 | 5 | /** 6 | * User: Jeff Yu 7 | * Date: 13/04/11 8 | */ 9 | public class StringRefWrapper { 10 | 11 | private List values; 12 | 13 | 14 | public StringRefWrapper() { 15 | 16 | } 17 | 18 | 19 | public StringRefWrapper(List values) { 20 | this.values = values; 21 | } 22 | 23 | public List getValues() { 24 | return values; 25 | } 26 | 27 | public void setValues(List values) { 28 | this.values = values; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /shared/rpc/src/main/resources/ErraiApp.properties: -------------------------------------------------------------------------------- 1 | # errai marker file used for auto discovery --------------------------------------------------------------------------------