Skip to content
This repository has been archived by the owner on Dec 2, 2021. It is now read-only.

Commit

Permalink
feat(camunda-platform): add implementation group
Browse files Browse the repository at this point in the history
Closes #41
  • Loading branch information
Niklas Kiefer committed Jul 26, 2021
1 parent 922db44 commit a97a87a
Show file tree
Hide file tree
Showing 12 changed files with 3,291 additions and 11 deletions.
18 changes: 8 additions & 10 deletions src/provider/camunda-platform/CamundaPlatformPropertiesProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {
ExternalTaskPriorityProps,
FieldInjectionProps,
HistoryCleanupProps,
ImplementationProps,
JobExecutionProps,
ProcessVariablesProps,
TasklistProps,
Expand Down Expand Up @@ -68,12 +69,12 @@ export default class CamundaPlatformPropertiesProvider {
_getGroups(element) {
const groups = [
ProcessVariablesGroup(element),
ImplementationGroup(element),
AsynchronousContinuationsGroup(element),
CallActivityGroup(element),
CandidateStarterGroup(element),
ConditionalGroup(element),
ConnectorGroup(element),
DelegatePropsGroup(element),
ErrorGroup(element),
EventGroup(element),
ExtensionPropertiesGroup(element),
Expand Down Expand Up @@ -117,18 +118,15 @@ function updateGeneralGroup(groups, element) {
entries.splice(insertIndex, 0, ...VersionTagProps({ element }));
}

// @TODO: implement, hide with no entries in the meantime
function DelegatePropsGroup(element) {

if (!is(element, 'camunda:ServiceTaskLike')) {
return null;
}
function ImplementationGroup(element) {

const group = {
label: 'Delegate Props',
id: 'CamundaPlatform__DelegateProps',
label: 'Implementation',
id: 'CamundaPlatform__Implementation',
component: Group,
entries: []
entries: [
...ImplementationProps({ element })
]
};

if (group.entries.length) {
Expand Down
Loading

0 comments on commit a97a87a

Please sign in to comment.