-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: StanZGenchev <stan.z.genchev@gmail.com>
- Loading branch information
1 parent
a7cff58
commit e51f0fc
Showing
44 changed files
with
1,778 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# folders | ||
dist/ | ||
.settings/ | ||
target/ | ||
derby/ | ||
dirigible_local/ | ||
|
||
# files | ||
.DS_Store | ||
.project | ||
.classpath | ||
*.bak | ||
*.class | ||
*.jar | ||
derby.log | ||
/bin/ | ||
/target/ | ||
/target/ | ||
/target/ | ||
/target/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
|
||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> | ||
<title>About</title> | ||
</head> | ||
<body lang="EN-US"> | ||
<h2>About This Content</h2> | ||
|
||
<p>April 25, 2020</p> | ||
<h3>License</h3> | ||
|
||
<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise | ||
indicated below, the Content is provided to you under the terms and conditions of the | ||
Eclipse Public License Version 2.0 ("EPL"). A copy of the EPL is available | ||
at <a href="http://www.eclipse.org/legal/epl-v20.html">http://www.eclipse.org/legal/epl-v20.html</a>. | ||
For purposes of the EPL, "Program" will mean the Content.</p> | ||
|
||
<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is | ||
being redistributed by another party ("Redistributor") and different terms and conditions may | ||
apply to your use of any object code in the Content. Check the Redistributor's license that was | ||
provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise | ||
indicated below, the terms and conditions of the EPL still apply to any source code in the Content | ||
and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<groupId>org.eclipse.dirigible</groupId> | ||
<artifactId>dirigible-components-parent</artifactId> | ||
<version>11.0.0-SNAPSHOT</version> | ||
<relativePath>../../pom.xml</relativePath> | ||
</parent> | ||
|
||
<name>Components - IDE - Processes - Perspective</name> | ||
<artifactId>dirigible-components-perspective-processes</artifactId> | ||
<packaging>jar</packaging> | ||
|
||
<properties> | ||
<license.header.location>../../../licensing-header.txt</license.header.location> | ||
<parent.pom.folder>../../../</parent.pom.folder> | ||
</properties> | ||
|
||
</project> |
21 changes: 21 additions & 0 deletions
21
...s/META-INF/dirigible/perspective-processes/configs/bpm-historic-process-instances-view.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
* Copyright (c) 2024 Eclipse Dirigible contributors | ||
* | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v2.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v20.html | ||
* | ||
* SPDX-FileCopyrightText: Eclipse Dirigible contributors | ||
* SPDX-License-Identifier: EPL-2.0 | ||
*/ | ||
const viewData = { | ||
id: 'bpm-historic-process-instances-view', | ||
label: 'Historic Process Instances', | ||
region: 'left', | ||
autoFocusTab: false, | ||
path: '/services/web/perspective-processes/views/bpm-historic-process-instances.html', | ||
}; | ||
if (typeof exports !== 'undefined') { | ||
exports.getView = () => viewData; | ||
} |
22 changes: 22 additions & 0 deletions
22
...s/src/main/resources/META-INF/dirigible/perspective-processes/configs/bpm-image-viewer.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* | ||
* Copyright (c) 2024 Eclipse Dirigible contributors | ||
* | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v2.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v20.html | ||
* | ||
* SPDX-FileCopyrightText: Eclipse Dirigible contributors | ||
* SPDX-License-Identifier: EPL-2.0 | ||
*/ | ||
const viewData = { | ||
id: 'bpm-image-viewer', | ||
label: 'Process Inspector', | ||
region: 'center', | ||
lazyLoad: false, | ||
autoFocusTab: true, | ||
path: '/services/web/perspective-processes/views/bpm-image-viewer.html', | ||
}; | ||
if (typeof exports !== 'undefined') { | ||
exports.getView = () => viewData; | ||
} |
21 changes: 21 additions & 0 deletions
21
...es/src/main/resources/META-INF/dirigible/perspective-processes/configs/bpm-perspective.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
* Copyright (c) 2024 Eclipse Dirigible contributors | ||
* | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v2.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v20.html | ||
* | ||
* SPDX-FileCopyrightText: Eclipse Dirigible contributors | ||
* SPDX-License-Identifier: EPL-2.0 | ||
*/ | ||
const perspectiveData = { | ||
id: 'bpm-workspace', | ||
label: 'Processes Workspace', | ||
path: '/services/web/perspective-processes/processes.html', | ||
order: 820, | ||
icon: '/services/web/perspective-processes/images/process.svg', | ||
}; | ||
if (typeof exports !== 'undefined') { | ||
exports.getPerspective = () => perspectiveData; | ||
} |
21 changes: 21 additions & 0 deletions
21
...in/resources/META-INF/dirigible/perspective-processes/configs/bpm-process-context-view.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
* Copyright (c) 2024 Eclipse Dirigible contributors | ||
* | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v2.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v20.html | ||
* | ||
* SPDX-FileCopyrightText: Eclipse Dirigible contributors | ||
* SPDX-License-Identifier: EPL-2.0 | ||
*/ | ||
const viewData = { | ||
id: 'bpm-process-context-view', | ||
label: 'Process Context', | ||
region: 'bottom', | ||
autoFocusTab: false, | ||
path: '/services/web/perspective-processes/views/bpm-process-context.html', | ||
}; | ||
if (typeof exports !== 'undefined') { | ||
exports.getView = () => viewData; | ||
} |
21 changes: 21 additions & 0 deletions
21
...esources/META-INF/dirigible/perspective-processes/configs/bpm-process-definitions-view.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
* Copyright (c) 2024 Eclipse Dirigible contributors | ||
* | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v2.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v20.html | ||
* | ||
* SPDX-FileCopyrightText: Eclipse Dirigible contributors | ||
* SPDX-License-Identifier: EPL-2.0 | ||
*/ | ||
const viewData = { | ||
id: 'bpm-process-definitions-view', | ||
label: 'Process Definitions', | ||
region: 'left', | ||
autoFocusTab: false, | ||
path: '/services/web/perspective-processes/views/bpm-process-definitions.html', | ||
}; | ||
if (typeof exports !== 'undefined') { | ||
exports.getView = () => viewData; | ||
} |
21 changes: 21 additions & 0 deletions
21
.../resources/META-INF/dirigible/perspective-processes/configs/bpm-process-instances-view.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
* Copyright (c) 2024 Eclipse Dirigible contributors | ||
* | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v2.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v20.html | ||
* | ||
* SPDX-FileCopyrightText: Eclipse Dirigible contributors | ||
* SPDX-License-Identifier: EPL-2.0 | ||
*/ | ||
const viewData = { | ||
id: 'bpm-process-instances-view', | ||
label: 'Process Instances', | ||
region: 'left', | ||
autoFocusTab: false, | ||
path: '/services/web/perspective-processes/views/bpm-process-instances.html', | ||
}; | ||
if (typeof exports !== 'undefined') { | ||
exports.getView = () => viewData; | ||
} |
21 changes: 21 additions & 0 deletions
21
.../main/resources/META-INF/dirigible/perspective-processes/configs/bpm-process-jobs-view.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
* Copyright (c) 2024 Eclipse Dirigible contributors | ||
* | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v2.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v20.html | ||
* | ||
* SPDX-FileCopyrightText: Eclipse Dirigible contributors | ||
* SPDX-License-Identifier: EPL-2.0 | ||
*/ | ||
const viewData = { | ||
id: 'bpm-process-jobs-view', | ||
label: 'Jobs Incidents', | ||
region: 'bottom', | ||
autoFocusTab: false, | ||
path: '/services/web/perspective-processes/views/bpm-process-jobs.html', | ||
}; | ||
if (typeof exports !== 'undefined') { | ||
exports.getView = () => viewData; | ||
} |
19 changes: 19 additions & 0 deletions
19
...ain/resources/META-INF/dirigible/perspective-processes/configs/bpm-task-details-window.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* | ||
* Copyright (c) 2024 Eclipse Dirigible contributors | ||
* | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v2.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v20.html | ||
* | ||
* SPDX-FileCopyrightText: Eclipse Dirigible contributors | ||
* SPDX-License-Identifier: EPL-2.0 | ||
*/ | ||
const viewData = { | ||
id: 'bpm-user-task-details', | ||
label: 'Process Task Details', | ||
path: '/services/web/perspective-processes/dialogs/bpm-task-details.html' | ||
}; | ||
if (typeof exports !== 'undefined') { | ||
exports.getView = () => viewData; | ||
} |
21 changes: 21 additions & 0 deletions
21
...ses/src/main/resources/META-INF/dirigible/perspective-processes/configs/bpm-tasks-view.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
* Copyright (c) 2024 Eclipse Dirigible contributors | ||
* | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v2.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v20.html | ||
* | ||
* SPDX-FileCopyrightText: Eclipse Dirigible contributors | ||
* SPDX-License-Identifier: EPL-2.0 | ||
*/ | ||
const viewData = { | ||
id: 'bpm-user-tasks', | ||
region: 'bottom', | ||
label: 'User Tasks', | ||
autoFocusTab: false, | ||
path: '/services/web/perspective-processes/views/bpm-tasks.html' | ||
}; | ||
if (typeof exports !== 'undefined') { | ||
exports.getView = () => viewData; | ||
} |
19 changes: 19 additions & 0 deletions
19
...s/src/main/resources/META-INF/dirigible/perspective-processes/configs/perspective-menu.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* | ||
* Copyright (c) 2024 Eclipse Dirigible contributors | ||
* | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v2.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v20.html | ||
* | ||
* SPDX-FileCopyrightText: Eclipse Dirigible contributors | ||
* SPDX-License-Identifier: EPL-2.0 | ||
*/ | ||
exports.getMenu = () => ({ | ||
perspectiveId: 'bpm-workspace', | ||
include: { | ||
window: true, | ||
help: true, | ||
}, | ||
items: [] | ||
}); |
83 changes: 83 additions & 0 deletions
83
...src/main/resources/META-INF/dirigible/perspective-processes/dialogs/bpm-task-details.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
<!-- | ||
Copyright (c) 2010-2024 Eclipse Dirigible contributors | ||
All rights reserved. This program and the accompanying materials | ||
are made available under the terms of the Eclipse Public License v2.0 | ||
which accompanies this distribution, and is available at | ||
http://www.eclipse.org/legal/epl-v20.html | ||
SPDX-FileCopyrightText: Eclipse Dirigible contributors | ||
SPDX-License-Identifier: EPL-2.0 | ||
--> | ||
<!DOCTYPE HTML> | ||
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" ng-app="taskDetails" ng-controller="TaskDetailsController"> | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link rel="icon" sizes="any" href="data:;base64,iVBORw0KGgo="> | ||
<title dg-view-title></title> | ||
<script type="text/javascript" src="services/bpm-tasks-details-window.js"></script> | ||
<theme></theme> | ||
<script type="text/javascript" src="/services/web/ide-bpm-workspace/services/bpm-task-details-window.js"> | ||
</script> | ||
<script type="text/javascript" src="/services/js/resources-core/services/loader.js?id=ide-view-js"></script> | ||
<link type="text/css" rel="stylesheet" | ||
href="/services/js/resources-core/services/loader.js?id=ide-view-css" /> | ||
</head> | ||
|
||
<body class="dg-vbox"> | ||
<fd-busy-indicator-extended class="dg-fill-parent" ng-hide="state.error || !state.isBusy" dg-size="l"> | ||
{{state.busyText}} | ||
</fd-busy-indicator-extended> | ||
<table fd-table outer-borders="none" display-mode="compact" class="dg-list-border-bottom"> | ||
<thead fd-table-header> | ||
<tr fd-table-row></tr> | ||
</thead> | ||
<tbody fd-table-body> | ||
<tr fd-table-row ng-repeat="prop in rows"> | ||
<td fd-table-cell><strong>{{ prop.name }}</strong></td> | ||
<td fd-table-cell>{{ prop.value }}</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<fd-message-page glyph="sap-icon--error" ng-if="state.error"> | ||
<fd-message-page-title>Editor encounterd an error!</fd-message-page-title> | ||
<fd-message-page-subtitle>{{errorMessage}}</fd-message-page-subtitle> | ||
</fd-message-page> | ||
|
||
<script type="text/javascript"> | ||
angular.module('taskDetails', ['ideUI', 'ideView']) | ||
.controller('TaskDetailsController', ['$scope', 'ViewParameters', function ($scope, ViewParameters) { | ||
$scope.errorMessage = 'Аn unknown error was encountered. Please see console for more information.'; | ||
$scope.state = { | ||
isBusy: true, | ||
error: false, | ||
busyText: "Loading...", | ||
}; | ||
$scope.rows = []; | ||
const props = [ | ||
['Operation type', 'operationType'], | ||
['Email', 'email'], | ||
['Created', 'createdAt'], | ||
['Finished', 'isFinished'] | ||
]; | ||
|
||
$scope.dataParameters = ViewParameters.get(); | ||
if (!$scope.dataParameters.hasOwnProperty('taskDetails')) { | ||
$scope.state.error = true; | ||
$scope.errorMessage = "The 'taskDetails' data parameter is missing."; | ||
} else { | ||
for (let prop of props){ | ||
const value = $scope.dataParameters.taskDetails[prop[1]] || ''; | ||
$scope.rows.push({ name: prop[0], value }); | ||
} | ||
$scope.state.isBusy = false; | ||
} | ||
}]); | ||
</script> | ||
</body> | ||
|
||
</html> |
Oops, something went wrong.