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 Andrey.

How did you manage to make the diagram to be readonly in that fashion you described.
I've also been trying to do that, but I didn't figure out how to do that.

Thanks
rui


2013/12/17 Andrey Pavlenko <andrey.a.pavlenko@xxxxxxxxx>
Seems I've found everything I need.
Bob, thank you for developing such a customizable plugin!


On Mon, Dec 16, 2013 at 11:06 PM, Andrey Pavlenko <andrey.a.pavlenko@xxxxxxxxx> wrote:
And one more question - how to disable all property tabs except of Description?


On Mon, Dec 16, 2013 at 9:51 PM, Andrey Pavlenko <andrey.a.pavlenko@xxxxxxxxx> wrote:
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





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




--

Rui G. Domingues
Skype id: rgdoms
Contacto: 914903721


Back to the top