Skip to content

Commit

Permalink
draft impl
Browse files Browse the repository at this point in the history
Issue #320
  • Loading branch information
rsoika committed Feb 7, 2024
1 parent 33d2083 commit e095fac
Show file tree
Hide file tree
Showing 11 changed files with 404 additions and 990 deletions.
35 changes: 35 additions & 0 deletions open-bpmn.glsp-client/open-bpmn-glsp/src/bpmn-actions.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/********************************************************************************
* Copyright (c) 2022 Imixs Software Solutions GmbH and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* This Source Code may also be made available under the following Secondary
* Licenses when the conditions for such availability set forth in the Eclipse
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
* with the GNU Classpath Exception which is available at
* https://www.gnu.org/software/classpath/license.html.
*
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
********************************************************************************/
import { Action } from '@eclipse-glsp/protocol';

/**
* Open-BPMN Auto Align to Grid Acton
*/
export interface BPMNAutoAlignAction extends Action {
kind: typeof BPMNAutoAlignAction.KIND;
}

export namespace BPMNAutoAlignAction {
export const KIND = 'autoAlign';

export function is(object: any): object is BPMNAutoAlignAction {
return Action.hasKind(object, KIND);
}

export function create(): BPMNAutoAlignAction {
return { kind: KIND };
}
}
1 change: 1 addition & 0 deletions open-bpmn.glsp-client/open-bpmn-glsp/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
********************************************************************************/
// import createBPMNDiagramContainer from './di.config';

export * from './bpmn-actions';
export * from './bpmn-element-views';
export * from './bpmn-routing-views';
// export { createBPMNDiagramContainer };
Expand Down
Loading

0 comments on commit e095fac

Please sign in to comment.