Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » how to use ClinetContext
how to use ClinetContext [message #47069] Wed, 13 September 2006 07:17
Eclipse UserFriend
Originally posted by: marguu.libero.it

Hi all! In a precedent thread =

( http://dev.eclipse.org/newslists/news.eclipse.modeling.gmf/m sg00110.htm=
l) =

I find a solution to a problem of mine, but I didn't understand how I ca=
n =

use that suggestion.

QUOTE:
"To register a client context through code, you can instantiate a new =

org.eclipse.gmf.runtime.emf.type.core.ClientContext, use #bindId or =

#bindPattern to bind your element types to that context, and register yo=
ur =

new context with =

ClientContextManager.getInstance().registerClientContext()"

- Where can I use this code?
- How can I instantiate a new ClientContext (with wich ElementMatcher)?
- Can I delete the =

org.eclipse.gmf.runtime.emf.type.core.elementTypeBindings extension poin=
t =

in the plugin.xml?

Thanks in advance
Angelo Marguglio

-- =

Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
Previous Topic:Diagram focus
Next Topic:Adding custom 'default' creation tools to the palette
Goto Forum:
  


Current Time: Wed Apr 16 04:10:08 EDT 2025

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

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

Back to the top