Skip to content

Commit

Permalink
removed irrelevant, bpmn-specific code
Browse files Browse the repository at this point in the history
  • Loading branch information
hofstef committed Nov 28, 2024
1 parent a287a8a commit 91dbce3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export default function DomainStoryContextPadProvider(
});

popupMenu.registerProvider("ds-replace", replaceMenuProvider);
popupMenu.registerProvider("bpmn-replace", replaceMenuProvider);

this.getContextPadEntries = function (element) {
selectedElement = element;
Expand Down
3 changes: 1 addition & 2 deletions src/app/tools/modeler/bpmn/modeler/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import DomainStoryPalette from "./palette/domainStoryPalette";
import DomainStoryRules from "./domainStoryRules";
import DomainStoryUpdater from "./domainStoryUpdater";
import CreateModule from "diagram-js/lib/features/create";
import PopupMenuModule from "bpmn-js/lib/features/popup-menu";
import ContextPadModule from "diagram-js/lib/features/context-pad";
import CommandStack from "diagram-js/lib/command/CommandStack";
import UpdateLabelHandler from "./updateHandler/updateLabelHandler";
Expand All @@ -16,7 +15,7 @@ import ReplaceMenuProvider from "./change-icon/replaceMenuProvider";
import DSModeling from "./modeling/dSModeling";

export default {
__depends__: [CreateModule, ContextPadModule, PopupMenuModule],
__depends__: [CreateModule, ContextPadModule],
__init__: [
"domainStoryRenderer",
"paletteProvider",
Expand Down
3 changes: 1 addition & 2 deletions src/app/tools/modeler/bpmn/modeler/modeling/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import DomainStoryPalette from "../palette/domainStoryPalette";
import CreateModule from "diagram-js/lib/features/create";
import PopupMenuModule from "bpmn-js/lib/features/popup-menu";
import ContextPadModule from "diagram-js/lib/features/context-pad";
import CommandStack from "diagram-js/lib/command/CommandStack";
import UpdateLabelHandler from "../updateHandler/updateLabelHandler";
Expand All @@ -16,7 +15,7 @@ import ReplaceMenuProvider from "../change-icon/replaceMenuProvider";
import DomainStoryContextPadProvider from "../context-pad/domainStoryContextPadProvider";

export default {
__depends__: [CreateModule, ContextPadModule, PopupMenuModule],
__depends__: [CreateModule, ContextPadModule],
__init__: [
"domainStoryRenderer",
"paletteProvider",
Expand Down

0 comments on commit 91dbce3

Please sign in to comment.