Grx3DViewPart.java
Go to the documentation of this file.
00001 package com.generalrobotix.ui.view;
00002 
00003 import org.eclipse.swt.widgets.Composite;
00004 
00005 import com.generalrobotix.ui.GrxBaseView;
00006 import com.generalrobotix.ui.GrxBaseViewPart;
00007 import com.generalrobotix.ui.GrxPluginManager;
00008 import com.generalrobotix.ui.grxui.Activator;
00009 
00010 public class Grx3DViewPart extends GrxBaseViewPart {
00011 
00012     public void createPartControl(Composite parent) {
00013         //  3DViewは、一つしか開かない。。//
00014         Activator act = Activator.getDefault();
00015                 if(act != null){
00016                         GrxPluginManager manager = act.manager_;
00017                         if(manager != null){
00018                                 GrxBaseView view = manager.getView(Grx3DView.class, false);
00019                                 if(view == null)
00020                                         createView( Grx3DView.class, "3DView", this, parent );
00021                         }
00022                 }
00023     }
00024 }


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Thu Apr 11 2019 03:30:16