Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Event listener of GMF plug-in
Event listener of GMF plug-in [message #219601] Fri, 20 February 2009 19:50
Vitaly Savicks is currently offline Vitaly SavicksFriend
Messages: 15
Registered: July 2009
Junior Member

I am developing a plug-in to test a tool implemented using GMF. The main
task is to test the tool's graphical user interface, so I need to deal
with user generated events, graphical elements rendered on canvas and
model elements.

As I am new to GMF and Eclipse the first problem I encountered was
capturing and recording user events and canvas changes. I have found
several threads on the newsgroup about capturing commands, generated on
requests. Both reimplementing EditPart or EditPolicy and getCommandXXX
methods work fine, but I need lower-level event capturing i.e. capturing
user mouse clicks on GMF canvas and palette and recording this information
along with commands generated in order to recreate user interaction in
future automatically.

Can anyone please suggest me how can I capture this information? And in
particular how to do it from external plug-in?

Thank you in advance.

Previous Topic:Changing a connection's source decoration dynamically
Next Topic:Keyboard navigation with GMF
Goto Forum:

Current Time: Sat Apr 17 23:32:19 GMT 2021

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

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

Back to the top