if (session == null)
{
throw new IllegalArgumentException("ISession == null");
}
SessionPropertiesSheet propsSheet = getSessionPropertiesDialog(session);
if (propsSheet == null)
{
propsSheet = new SessionPropertiesSheet(session);
_app.getMainFrame().addWidget(propsSheet);
positionSheet(propsSheet);
}
else
{
propsSheet.moveToFront();
}
propsSheet.selectTabIndex(tabIndexToSelect);
}