public static void doGoTo( String strQualifedType )
  {
    EditorUtilities.showWaitCursor( true );
    try
    {
      IType type = TypeSystem.getByFullNameIfValid( strQualifedType );
      if( type == null )
      {
        return;
      }
      IFile[] sourceFiles = type.getSourceFiles();
      if( sourceFiles != null && sourceFiles.length > 0 )
      {
        //## todo: maybe support multiple files here?
        IFile sourceFile = sourceFiles[0];
        LabFrame.instance().openFile( PathUtil.create( sourceFile.toURI() ) );
      }
    }
    catch( Exception e )
    {
      throw new RuntimeException( e );
    }
    finally
    {
      EditorUtilities.showWaitCursor( false );
    }
  }
public static void doGoTo( String strQualifedType )
  {
    EditorUtilities.showWaitCursor( true );
    try
    {
      IType type = TypeSystem.getByFullNameIfValid( strQualifedType );
      if( type == null )
      {
        return;
      }
      IFile[] sourceFiles = type.getSourceFiles();
      if( sourceFiles != null && sourceFiles.length > 0 )
      {
       
        IFile sourceFile = sourceFiles[0];
        LabFrame.instance().openFile( PathUtil.create( sourceFile.toURI() ) );
      }
    }
    catch( Exception e )
    {
      throw new RuntimeException( e );
    }
    finally
    {
      EditorUtilities.showWaitCursor( false );
    }
  }
public static void dogoto( string strqualifedtype ) { editorutilities.showwaitcursor( true ); try { itype type = typesystem.getbyfullnameifvalid( strqualifedtype ); if( type == null ) { return; } ifile[] sourcefiles = type.getsourcefiles(); if( sourcefiles != null && sourcefiles.length > 0 ) { ifile sourcefile = sourcefiles[0]; labframe.instance().openfile( pathutil.create( sourcefile.touri() ) ); } } catch( exception e ) { throw new runtimeexception( e ); } finally { editorutilities.showwaitcursor( false ); } }