Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration of 2 new visualization options #173

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions src/Molecule-IDE-Tests/MyClass.class.st

This file was deleted.

4 changes: 2 additions & 2 deletions src/Molecule-IDE/MolImplementations.class.st
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Class {
#name : #MolImplementations,
#superclass : #MolOptions,
#superclass : #MolOptionsPresenter,
#instVars : [
'selectedType'
],
Expand Down Expand Up @@ -41,7 +41,7 @@ MolImplementations >> initializePresenters [

super initializePresenters.

implementationList := SpFilteringListDoubleClickPresenter new.
implementationList := MolSpFilteringListDoubleClickPresenter new.
implementationList displayIcon: [ :elem |
self iconNamed: elem systemIconName ]
]
Expand Down
6 changes: 3 additions & 3 deletions src/Molecule-IDE/MolInterfaces.class.st
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Class {
#name : #MolInterfaces,
#superclass : #MolOptions,
#superclass : #MolOptionsPresenter,
#instVars : [
'selectedInterface',
'requiredList',
Expand Down Expand Up @@ -261,12 +261,12 @@ MolInterfaces >> initializePresenters [
addItemLabeled: 'Required XOR Offered'
do: [ self xorMode ].

requiredList := SpFilteringListDoubleClickPresenter new.
requiredList := MolSpFilteringListDoubleClickPresenter new.
requiredList
displayIcon: [ :elem | self iconNamed: elem systemIconName ];
contextMenu: [ self listMenu ].

offeredList := SpFilteringListDoubleClickPresenter new.
offeredList := MolSpFilteringListDoubleClickPresenter new.
offeredList
displayIcon: [ :elem | self iconNamed: elem systemIconName ];
contextMenu: [ self listMenu ]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Class {
#name : #MolOptions,
#name : #MolOptionsPresenter,
#superclass : #SpPresenter,
#instVars : [
'implementationList',
Expand All @@ -11,25 +11,25 @@ Class {
}

{ #category : #tests }
MolOptions >> buttonBrowse [
MolOptionsPresenter >> buttonBrowse [
"used for test purposes"

^ buttonBrowse
]

{ #category : #tests }
MolOptions >> buttonBrowseAction [
MolOptionsPresenter >> buttonBrowseAction [
]

{ #category : #tests }
MolOptions >> implementationList [
MolOptionsPresenter >> implementationList [
"used for test purposes"

^ implementationList
]

{ #category : #tests }
MolOptions >> initializePresenters [
MolOptionsPresenter >> initializePresenters [
"buttons"

buttonBrowse := self newButton
Expand All @@ -55,7 +55,7 @@ MolOptions >> initializePresenters [
]

{ #category : #tests }
MolOptions >> listImplementations: selectedClass [
MolOptionsPresenter >> listImplementations: selectedClass [
"necessary to use a Collection or one of its subclasses (Array in this case) to retrieve implementations of the selected Type Trait"

(selectedClass = '' or: selectedClass = OrderedCollection new)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
Class {
#name : #SpFilteringListDoubleClickPresenter,
#name : #MolSpFilteringListDoubleClickPresenter,
#superclass : #SpFilteringListPresenter,
#category : #'Molecule-IDE-Tools'
}

{ #category : #simulation }
SpFilteringListDoubleClickPresenter >> connectPresenters [
MolSpFilteringListDoubleClickPresenter >> connectPresenters [

super connectPresenters.
self doubleClickActivated
]

{ #category : #simulation }
SpFilteringListDoubleClickPresenter >> doubleClickActivated [
MolSpFilteringListDoubleClickPresenter >> doubleClickActivated [
"activates the Browse functionality by double-clicking an element"

| item |
Expand All @@ -22,7 +22,7 @@ SpFilteringListDoubleClickPresenter >> doubleClickActivated [
]

{ #category : #simulation }
SpFilteringListDoubleClickPresenter >> initializePresenters [
MolSpFilteringListDoubleClickPresenter >> initializePresenters [
"changes the original 'Filter...' placeholder text to 'Hit return to accept'"

super initializePresenters.
Expand Down
8 changes: 0 additions & 8 deletions src/Molecule-IDE/MolUtils.extension.st

This file was deleted.

Loading