private void navigate(UML.UMLItem item) { if (fullyLoaded) { if (this.navigatorControl == null) { this.navigatorControl = this.model.addWindow("Navigate", "TSF.UmlToolingFramework.EANavigator.NavigatorControl") as NavigatorControl; this.navigatorControl.BeforeExpand += new TreeViewCancelEventHandler(this.NavigatorTreeBeforeExpand); this.navigatorControl.NodeDoubleClick += new TreeNodeMouseClickEventHandler(this.NavigatorTreeNodeDoubleClick); this.navigatorControl.fqnButtonClick += new EventHandler(this.FqnButtonClick); this.navigatorControl.guidButtonClick += new EventHandler(this.GuidButtonClick); this.navigatorControl.quickSearchTextChanged += new EventHandler(this.quickSearchTextChanged); this.navigatorControl.settings = this.settings; } if (this.navigatorControl != null && this.model != null) { if (item != null) { this.navigatorControl.setElement(item); } } } }