undo redu [message #205859] |
Wed, 17 September 2008 19:44 |
Eclipse User |
|
|
|
Originally posted by: bab.gmail.com
hey there,
im about to display the operations' name on the screen when i assemble a
gmf model
my code extract is:
IOperationHistory operationHistory =
window.getWorkbench().getOperationSupport().getOperationHist ory();
IUndoableOperation [] undoHistory =
operationHistory.getUndoHistory(IOperationHistory.GLOBAL_UND O_CONTEXT);
System.out.println(undoHistory[0].getLabel());
if i use a class diagram, and create a class with an attribute i get the
notificiation only about creating (like: Create Property), but not for the
name of them (like: dog class)
how should i modify my code in order to reach more details?
thanks,
john
|
|
|
Powered by
FUDForum. Page generated in 0.02260 seconds