Math2mat

/home/ythoma/docs/math2mat/svn/wp1/framework/m2mGUI/src/m2m/frontend/dynamicview/ThreadRouteConnections.java

Go to the documentation of this file.
00001 
00017 package m2m.frontend.dynamicview;
00018 
00019 import m2m.frontend.dynamicview.editPart.SchemaPart;
00020 
00021 import org.eclipse.ui.IWorkbenchPage;
00022 import org.eclipse.ui.PlatformUI;
00023 
00024 
00025 public class ThreadRouteConnections implements Runnable
00026 {       
00030         public void run() 
00031         {
00032                 /* Get the view and route connections */
00033                 IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
00034                 MyGraphicalEditor graphEditor = ((MyGraphicalEditor)page.findView(MyGraphicalEditor.ID));
00035                 ((SchemaPart)(graphEditor.getGraphicalViewer().getRootEditPart().getContents())).Intersections();
00036         }
00037 }
 All Classes Namespaces Files Functions Variables Enumerations