Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Disable marquee select tool for specific node
Disable marquee select tool for specific node [message #1773155] Fri, 22 September 2017 10:52 Go to next message
Martin Jedlicka is currently offline Martin JedlickaFriend
Messages: 122
Registered: January 2016
Senior Member

I have a diagram on which is inserted a note (text) from the palette. I need the user not to do anything with this note, the note can not be selected using the marquee selection tool from the palette

Somehow change selection policy editpart for node?

Is that possible?

Thank you for your advice.

Re: Disable marquee select tool for specific node [message #1773168 is a reply to message #1773155] Fri, 22 September 2017 15:11 Go to previous message
Pierre Guilet is currently offline Pierre GuiletFriend
Messages: 250
Registered: June 2017
Senior Member

There is no Sirius mechanism to do what you want that is deactivate selection for the marquee only
It is related to GMF/GEF DragTracker.

If you want to deactivate completely the selection you can provide a custom edit part extending the Sirius note one with the corresponding GMF extension point and make it not selectable with the isSelectable method.



Pierre Guilet - Obeo
Need training or professional services for Sirius?

[Updated on: Fri, 22 September 2017 15:44]

Report message to a moderator

Previous Topic:Custom EditPart for a container
Next Topic: Bordered Nodes looks like a List of SubNodes
Goto Forum:

Current Time: Thu Mar 04 16:49:31 GMT 2021

Powered by FUDForum. Page generated in 0.02070 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top