Hide palette entry

8 views
Skip to first unread message

Simone Di Cola

unread,
Jun 4, 2014, 12:42:45 PM6/4/14
to spray...@googlegroups.com
Hi, 
 is it any way to not show an entry within the palette (without deleting the behavior section in .spray file)? 

Simone 

Jörg Reichert

unread,
Jun 4, 2014, 1:58:56 PM6/4/14
to spray...@googlegroups.com
--
Sie erhalten diese Nachricht, weil Sie in Google Groups E-Mails von der Gruppe "spray-user" abonniert haben.
Wenn Sie sich von dieser Gruppe abmelden und keine E-Mails mehr von dieser Gruppe erhalten möchten, senden Sie eine E-Mail an spray-users...@googlegroups.com.
Weitere Optionen finden Sie unter https://groups.google.com/d/optout.

Simone Di Cola

unread,
Jun 4, 2014, 2:07:34 PM6/4/14
to spray...@googlegroups.com
Thanks mate

Simone Di Cola

unread,
Jun 6, 2014, 12:11:25 PM6/6/14
to spray...@googlegroups.com
Joerg, a simple question (for you): how do I use  Location? Can you give me an example? 

Thanks

Jörg Reichert

unread,
Jun 6, 2014, 4:20:33 PM6/6/14
to spray...@googlegroups.com
Simone,

How is it possible to get 
  - the anchor location:
ILocation location = Graphiti.getLayoutService().getLocationRelativeToDiagram(anchorShape);
  - mouse down location: IAddContext as well as ICreateContext provide methods getX and getY so you can compare these values of the getX, getY of the location of the anchorShape

Joerg
Reply all
Reply to author
Forward
0 new messages