public Perspective createUserPerspective(final String name,final boolean show){
  Perspective perspective=model.addPerspective(name,true);
  perspective.store(context);
  if (show) {
    showPerspective(name);
  }
  return perspective;
}

public Perspective createUserPerspective ( final String name , final boolean show ) { Perspective perspective = model . addPerspective ( name , true ) ; perspective . store ( context ) ; if ( show ) { showPerspective ( name ) ; } return perspective ; }
creates a user - defined perspectives , and possibly switches to this new perspective immediately . the new perspective will be a copy of the current one .
