private void OnSelectedSpreadSheetChange() { UndoHelper.WindowUndo(this, UndoHelper.UNDO_WIN_CHANGE); SpreadSheetConfigItem = new GoogleSpreadSheetConfigEditorGUI(SelectedSpreadSheet); selectedConverter = 0; EditorGUIUtility.keyboardControl = 0; }
public void Initialize() { popupWin = new SpreadSheetConvertToolPopupWindow(); textAPIWin = new SpreadSheetConverterTestAPIPopupWindow(); ConverterUtility.GetConverterSubClass(); WindowHelper.Initialize(position); if (OAuthConfigItem == null) { OAuthConfigItem = new GoogleAPIOAuthConfigEditorGUI(GoogleAPIOAuthEditorConfig.Instance); } if (SpreadSheetConfigItem == null) { SpreadSheetConfigItem = new GoogleSpreadSheetConfigEditorGUI(SelectedSpreadSheet); OnSelectedSpreadSheetChange(); } Repaint(); IsInitialized = true; }