Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Vertical Scrollbar Query
Vertical Scrollbar Query [message #1590994] Thu, 29 January 2015 08:55 Go to next message
Rahul Dev Mishra is currently offline Rahul Dev MishraFriend
Messages: 11
Registered: July 2013
Location: Bangalore, India
Junior Member
Hi All,

On my graphiti editor, I have added a listener to the vertical scrollbar.
Now I would like to get the top position (xy coordinate) of the graphiti editor whenever I scroll up or down using the vertical scrollbar.

Is it possible in Graphiti ?

Thanks,
Rahul

[Updated on: Thu, 29 January 2015 08:56]

Report message to a moderator

Re: Vertical Scrollbar Issue [message #1593198 is a reply to message #1590994] Fri, 30 January 2015 13:27 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1886
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Rahul,

that should be possible by getting the view location of the viewport from
the graphical viewer installed in the DiagramEditor.

Michael


"Rahul Dev Mishra" schrieb im Newsbeitrag
news:macsi8$on$1@xxxxxxxxe.org...

Hi All,

On my graphiti editor, I have added a listener to the vertical scrollbar.
Now I would like to get the top position (xy coordinate) of the graphiti
editor whenever I scroll up or down using the vertical scrollbar.

Is it possible in Graphiti ?

Thanks,
Rahul
Re: Vertical Scrollbar Issue [message #1598758 is a reply to message #1593198] Tue, 03 February 2015 06:18 Go to previous message
Rahul Dev Mishra is currently offline Rahul Dev MishraFriend
Messages: 11
Registered: July 2013
Location: Bangalore, India
Junior Member
Hi Michael,

Thanks a lot for your reply.

I could now get the viewport location.

Thanks,
Rahul
Previous Topic:Graphiti and EMFStore
Next Topic:how can I install EditPolicy to the shape
Goto Forum:
  


Current Time: Sat Apr 21 12:05:07 GMT 2018

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

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