Skip to main content



      Home
Home » Archived » Visual Editor (VE) » Invoke command programatically
Invoke command programatically [message #132258] Tue, 17 October 2006 13:19
Eclipse UserFriend
Hello,
I need to invoke this command from a process after on the current active
VE editor. My command extends CommandWrapper, and the constructor is

public MyCommand(EditDomain domain, IJavaObjectInstance model)

I can get the org.eclipse.gef.EditDomain from the current editor, but
don't know how to get the current editing model.

So I have 2 questions :
1. How do I get or create the model from the current editing content?
2. After constructed my command, can I just simply call the execute?

Thanks.
Previous Topic:What is going to VE team anyway ?
Next Topic:Invoke command programatically
Goto Forum:
  


Current Time: Wed Apr 30 20:55:33 EDT 2025

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

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

Back to the top