public ViewSelectionBookmark(BookmarkManager aBookmarkManager, ModelBrowser aBrowser) : base() { iBookmarkManager = aBookmarkManager; iBrowser = aBrowser; NSBundle.LoadNibNamedOwner("ViewSelectionBookmark.nib", this); }
public ViewAddBookmark(BookmarkManager aBookmarkManager, Location aLocation) : base() { iBookmarkManager = aBookmarkManager; iBookmark = new Bookmark(aLocation); NSBundle.LoadNibNamedOwner("ViewAddBookmark.nib", this); }
public WindowSave(ISaveSupport aSaveSupport) : base() { iSaveSupport = aSaveSupport; iImageList = new Dictionary <uint, System.Uri>(); //iImages = new List<NSImage>(); iImageLocations = new List <string>(); NSBundle.LoadNibNamedOwner("WindowSave.nib", this); }
public WindowPopover(IViewPopover aView) : base() { iView = aView; bool ret = NSBundle.LoadNibNamedOwner("WindowPopover.nib", this); if (!ret) { Linn.UserLog.WriteLine(DateTime.Now + ": Logging for #822 nib failed to load"); } }
public void DebugConsole(Id aSender) { // close existing debug window if (iUserLog != null) { iUserLog.Window.Close(); iUserLog.Release(); iUserLog = null; } // load a fresh debug window iUserLog = new UserLogDialogMonobjc(); NSBundle.LoadNibNamedOwner("UserLog.nib", iUserLog); iUserLog.Window.MakeKeyAndOrderFront(this); }
public void ApplicationWillFinishLaunching(NSObject aNoticiation) { // create the main window iMainWindow = new WindowMainController(); iMainWindow.EventWindowMainClosed += MainWindowClosed; NSBundle.LoadNibNamedOwner("MainWindow.nib", iMainWindow); // create the about box iWindowAbout = new WindowAbout(); NSBundle.LoadNibNamedOwner("WindowAbout.nib", iWindowAbout); // initialise the main window from model data iController.InitialiseMainWindow(iMainWindow); // start the model - network stack etc... iController.Start(iMainWindow); //register for fast user switching notifications IntPtr handlerPtr = Monobjc.ObjectiveCRuntime.Selector("sessionChangedHandler:"); NSWorkspace.SharedWorkspace.NotificationCenter.AddObserverSelectorNameObject(this, handlerPtr, NSWorkspace.NSWorkspaceSessionDidBecomeActiveNotification, null); NSWorkspace.SharedWorkspace.NotificationCenter.AddObserverSelectorNameObject(this, handlerPtr, NSWorkspace.NSWorkspaceSessionDidResignActiveNotification, null); }
public ViewSelectionRoom(IModelSelectionList <Linn.Kinsky.Room> aModel) : base() { iModel = aModel; NSBundle.LoadNibNamedOwner("ViewSelectionRoom.nib", this); }
public ViewSelectionSource(IModelSelectionList <Linn.Kinsky.Source> aModel) : base() { iModel = aModel; NSBundle.LoadNibNamedOwner("ViewSelectionSource.nib", this); }
public WindowNotification(INotification aNotification) : base() { iNotification = aNotification; NSBundle.LoadNibNamedOwner("WindowNotification.nib", this); }
public WindowUpdate(AutoUpdate aAutoUpdate) : base() { iAutoUpdate = aAutoUpdate; NSBundle.LoadNibNamedOwner("WindowUpdate.nib", this); }