gmf logging [message #206396] |
Tue, 23 September 2008 01:29 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03798 seconds