Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » undo redu
undo redu [message #205859] Wed, 17 September 2008 19:44
Eclipse UserFriend
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
Previous Topic:programmatically open a related diagram
Next Topic:Programmatically expand a project structure
Goto Forum:
  


Current Time: Wed Jan 27 11:14:23 GMT 2021

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

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

Back to the top