Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » gmf logging
gmf logging [message #206396] Tue, 23 September 2008 01:29
Eclipse UserFriend
Originally posted by: fad85.fgmail.com

hey there,

i would like to print the running operations' name on the screen while im
assembling a GMF model

my code extract is related to the eclipse operation history:
IOperationHistory operationHistory =
window.getWorkbench().getOperationSupport().getOperationHist ory();
IUndoableOperation [] undoHistory =
operationHistory.getUndoHistory(IOperationHistory.GLOBAL_UND O_CONTEXT);
System.out.println(undoHistory[i].getLabel());

if i use a class diagram, and create a class with its attribute, ill get
notificiations only about creation (like: Create Class), and nothing about
the name of it (like: dog Class)

how should i modify this code in order to get more details about name
properties too?
or is there another way to log the operation?

thanks,john
Previous Topic:diagram file
Next Topic:.gmfmap nodes mapping for multiple concrete supertypes
Goto Forum:
  


Current Time: Fri Jun 27 23:35:50 EDT 2025

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

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

Back to the top