Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [bpmn2-modeler-dev] How to make a read-only diagram?

Hi Bob,

Thank you for the suggestion, but this is not exactly what I'm looking for. BPMN2Editor.setEditable(false) allows changing the diagram but doesn't allow to save the changes. I want to disable all kind of the diagram modifications except of moving the shapes and, maybe, adding/deleting/changing text annotations.


On Mon, Dec 16, 2013 at 8:06 PM, Bob Brodt <bbrodt@xxxxxxxxxx> wrote:
Hi Andrey,

The BPMN2Editor class has a public method named setEditable(boolean) - you can use this to make the editor read-only.

HTH,
Bob



Hi,

I'm working on a workflow visualization tool based on the BPMN2 Modeler plugin for Eclipse. The tool generates a bpmn2 document and opens it in the modeler. Now I want to make the diagram read-only so that a user can move the shapes on the diagram but can not change or delete something. Is it possible to implement with the current plugin and how?

Thanks.

_______________________________________________
bpmn2-modeler-dev mailing list
bpmn2-modeler-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/bpmn2-modeler-dev



Back to the top