From 0de1c794e092bc786cc03f900e679c449bab5e93 Mon Sep 17 00:00:00 2001 From: Eric Winger Date: Mon, 13 Aug 2018 16:11:26 -0700 Subject: [PATCH] restore package menu --- sources/JadeiteProjectsBrowserPresenter.cls | 2 ++ sources/RowanSystemBrowserPresenter.cls | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/sources/JadeiteProjectsBrowserPresenter.cls b/sources/JadeiteProjectsBrowserPresenter.cls index 90260db8..d9b043ad 100644 --- a/sources/JadeiteProjectsBrowserPresenter.cls +++ b/sources/JadeiteProjectsBrowserPresenter.cls @@ -549,6 +549,7 @@ onViewOpened super onViewOpened. self registerPresentersForUpdates. projectListPresenter view contextMenu: (self projectMenu). + packageListPresenter view contextMenu: (Menu fromStrings: self pkgsMenuStrings). self updateProjects. ! openDictionaryBrowserOn: classService @@ -1143,6 +1144,7 @@ updateMenuBar clear; addItem: (Menu fromStrings: self jadeMenuStrings); addItem: self projectMenu; + addItem: (Menu fromStrings: self pkgsMenuStrings); addItem: (Menu fromStrings: self classesMenuStrings); addItem: methodFilterMenu; addItem: (Menu fromStrings: self methodsMenuStrings); diff --git a/sources/RowanSystemBrowserPresenter.cls b/sources/RowanSystemBrowserPresenter.cls index ec0d8bc1..c17d4e8e 100644 --- a/sources/RowanSystemBrowserPresenter.cls +++ b/sources/RowanSystemBrowserPresenter.cls @@ -125,9 +125,6 @@ onViewClosed subPresenters do:[:presenter | BrowserUpdate current removeEventsTriggeredFor: presenter]! -packageTabName - ^'Rowan Packages'! - projectDictionaryChanged ! @@ -487,7 +484,6 @@ updateTabLabel !RowanSystemBrowserPresenter categoriesFor: #getViews!public! ! !RowanSystemBrowserPresenter categoriesFor: #labelOfClass:changedTo:!event handlers!public! ! !RowanSystemBrowserPresenter categoriesFor: #onViewClosed!event handlers!public! ! -!RowanSystemBrowserPresenter categoriesFor: #packageTabName!menus!overrides!private! ! !RowanSystemBrowserPresenter categoriesFor: #projectDictionaryChanged!event handlers!public! ! !RowanSystemBrowserPresenter categoriesFor: #registerPresentersForUpdates!event handlers!initialization!public!rowan! ! !RowanSystemBrowserPresenter categoriesFor: #registerTabPresentersForUpdates!event handlers!initialization!public!rowan! !