public GetItemController()
            : base(NSObject.AllocAndInitInstance("GetItemController"))
        {
            Unused.Value = NSBundle.loadNibNamed_owner(NSString.Create("get-item"), this);
            Unused.Value = window().setFrameAutosaveName(NSString.Create("get-item window"));

            m_okButton = new IBOutlet<NSButton>(this, "okButton").Value;
            m_table = new IBOutlet<NSTableView>(this, "table").Value;

            m_table.setDoubleAction("doubleClicked:");
        }
Example #2
0
        public StackController(IntPtr instance)
            : base(instance)
        {
            m_table = new IBOutlet<NSTableView>(this, "table").Value;
            m_table.setDoubleAction("doubleClicked:");

            Broadcaster.Register("debugger processed breakpoint event", this);
            Broadcaster.Register("debugger break all", this);
            Broadcaster.Register("debugger stopped", this);
            Broadcaster.Register("debugger thrown exception", this);
            Broadcaster.Register("debugger processed step event", this);
            Broadcaster.Register("debugger state changed", this);
            Broadcaster.Register("changed thread", this);
        }
        public BrowseRecentFilesController()
            : base(NSObject.AllocAndInitInstance("BrowseRecentFilesController"))
        {
            Unused.Value = NSBundle.loadNibNamed_owner(NSString.Create("BrowseRecentFiles"), this);

            m_table = new IBOutlet<NSTableView>(this, "table").Value;
            m_table.setDoubleAction("doubleClicked:");
            m_table.setTarget(this);

            Broadcaster.Register("opening document window", this);
            Broadcaster.Register("saved new document window", this);
            Broadcaster.Register("opened directory", this);

            DoLoadPrefs();
        }
        public BrowseLocalFilesController()
            : base(NSObject.AllocAndInitInstance("BrowseLocalFilesController"))
        {
            Unused.Value = NSBundle.loadNibNamed_owner(NSString.Create("BrowseLocalFiles"), this);

            m_table = new IBOutlet<NSTableView>(this, "table").Value;
            m_table.setDoubleAction("doubleClicked:");
            m_table.setTarget(this);

            m_searchField =  new IBOutlet<NSSearchField>(this, "searchField").Value;
            m_search =  new IBOutlet<NSSearchFieldCell>(this, "search").Value;
            m_spinner =  new IBOutlet<NSProgressIndicator>(this, "progress").Value;

            Broadcaster.Register("opened directory", this);
            Broadcaster.Register("closed directory", this);
            Broadcaster.Register("directory changed", this);
        }