public static void clone(final CGraphWindow parent,final INaviView view,final IViewContainer container){
  final CloneThread cloneThread=new CloneThread(parent,view,container);
  CProgressDialog.showEndless(parent,String.format("Cloning view '%s'",view.getName()),cloneThread);
  if (cloneThread.getException() != null) {
    CUtilityFunctions.logException(cloneThread.getException());
    final String innerMessage="E00118: " + "View could not be cloned";
    final String innerDescription=CUtilityFunctions.createDescription(String.format("The view '%s' could not be cloned.",view.getName()),new String[]{"It is unclear why this problem occurred. Please check the stack trace for more information."},new String[]{"The view was not cloned."});
    NaviErrorDialog.show(parent,innerMessage,innerDescription,cloneThread.getException());
  }
}

public static void clone ( final CGraphWindow parent , final INaviView view , final IViewContainer container ) { final CloneThread cloneThread = new CloneThread ( parent , view , container ) ; CProgressDialog . showEndless ( parent , String . format ( "Cloning view '%s'" , view . getName ( ) ) , cloneThread ) ; if ( cloneThread . getException ( ) != null ) { CUtilityFunctions . logException ( cloneThread . getException ( ) ) ; final String innerMessage = "E00118: " + "View could not be cloned" ; final String innerDescription = CUtilityFunctions . createDescription ( String . format ( "The view '%s' could not be cloned." , view . getName ( ) ) , new String [ ] { "It is unclear why this problem occurred. Please check the stack trace for more information." } , new String [ ] { "The view was not cloned." } ) ; NaviErrorDialog . show ( parent , innerMessage , innerDescription , cloneThread . getException ( ) ) ; } }
creates a copy of a graph and opens it .
