Skip to content
Permalink
Browse files

Remove some of the most annoying deprecations of Spec 1 before we rev…

…ert the code to get back to the real Spec 1.

Fixes #3857
  • Loading branch information
jecisc committed Jul 10, 2019
1 parent b83d1b7 commit 87c559f0517582f81bf404303deeedb95902decd
@@ -68,11 +68,6 @@ AbstractListPresenter >> menu [
AbstractListPresenter >> menu: aBlock [
"Set the block used to defined the menu"

self
deprecated:
'Use #contextMenu: instead. The old way to create a MenuPresenter was this method taking a MenuMorph as parameter. This will not work with other backend and will be totally removed in Pharo7. Now you should use #contextMenu takin a MeruPresenter (or a block returning a menu presenter) as parameter.'
on: '2019-03-07'
in: #Pharo8.
self
contextMenu: [ aBlock
cull:
@@ -84,11 +79,6 @@ AbstractListPresenter >> menu: aBlock [

{ #category : #'*Spec-Deprecated80' }
AbstractListPresenter >> menu: aBlock shifted: aBoolean [
self
deprecated:
'Use #contextMenu: instead. The old way to create a MenuPresenter was this method taking a MenuMorph as parameter. This will not work with other backend and will be totally removed in Pharo7. Now you should use #contextMenu takin a MeruPresenter (or a block returning a menu presenter) as parameter.'
on: '2019-03-07'
in: #Pharo8.
self
contextMenu: [ aBlock
cull:
@@ -39,7 +39,6 @@ ComposablePresenter >> newIconList [

{ #category : #'*Spec-Deprecated80' }
ComposablePresenter >> newMultiColumnList [
self deprecated: 'Use newTable instead' on: '2019-02-05' in: #Pharo8.
^ self instantiate: MultiColumnListPresenter
]

@@ -67,9 +66,6 @@ ComposablePresenter >> newTabManager [

{ #category : #'*Spec-Deprecated80' }
ComposablePresenter >> newTree [

self deprecated: 'Use #newTreeTable instead'.

^ self instantiate: TreePresenter
]

@@ -86,13 +82,7 @@ ComposablePresenter >> on: aShortcut do: aBlock [

{ #category : #'*Spec-Deprecated80' }
ComposablePresenter >> setModal: aWindow [

self
deprecated: 'Do not use this directly. Use #openModalWithSpec (and family) instead.'
on: '2019-02-26'
in: #Pharo8.

self changed: #setModal: with: { aWindow }
self changed: #setModal: with: {aWindow}
]

{ #category : #'*Spec-Deprecated80' }

0 comments on commit 87c559f

Please sign in to comment.
You can’t perform that action at this time.