// set size and position, if desired
Size windowSize = adjustSize ?
ScreenUtils.getAdjustedWindowSize(preferredSize) :
preferredSize;
NewWindowOptions options = new NewWindowOptions();
if (position != null)
options.setPosition(position);
// open the satellite - it will call us back on registerAsSatellite
// at which time we'll call setSessionInfo, setParams, etc.
RStudioGinjector.INSTANCE.getGlobalDisplay().openSatelliteWindow(
name,