Skip to main content
Jump to: navigation, search

Difference between revisions of "Graphical Shared-Editor Example Application"

(How to Run Like Above)
(Required Elements)
 
Line 5: Line 5:
 
*[http://www.eclipse.org/emf EMF 2.3+]
 
*[http://www.eclipse.org/emf EMF 2.3+]
 
*[http://www.eclipse.org/gef GEF 3.3+]
 
*[http://www.eclipse.org/gef GEF 3.3+]
*Plugins from [http://www.eclipse.org/projectsetfiles/ecf.gefeditor.psf gefeditor project set file] (save this project set file and import plugins into workspace)
+
*Plugins from [http://www.eclipse.org/ecf/projectsetfiles/ecf.gefeditor.psf gefeditor project set file] (save this project set file and import plugins into workspace)
  
 
Two clients editing with simple node editor
 
Two clients editing with simple node editor

Latest revision as of 17:00, 18 September 2007

Required Elements

Two clients editing with simple node editor

Gefeditor.png

How to Run Like Above

  1. Run two Eclipse clients in addition to your workspace (you can use the launch configs added by plugins in workspace: GEF Editor 1, GEF Editor 2, GEF Editor 3
  2. For each client, create the same project (e.g. 'foo' as above) in that client's workspace.
  3. For each client, add the "Communications" commands to the current perspective via Window->Customize Perspective->Commands (tab)->Communications (check box)
  4. For each client, connect to default collaboration server ecftcp://ecf.eclipse.org:3282/server
  5. For each client, choose File->New->Other...->ECF Graphshare Examples->Shared GEF Diagram. Put the new file in the 'foo' project (i.e. the one created above), and call it the same name (e.g. 'bar.diagram' as above). It's very important that the file have the same project name and same file name as this path is the unique identifier.
  6. You should be able to use the shared editor as per the picture above.

Back to the top