GrafoscopioBrowser will be deprecated. Its funcionality should be on GrafoscopioGUI and GrafoscopioNotebook.
This commit is contained in:
parent
9a30b9a31d
commit
6e0b00ac53
@ -275,53 +275,6 @@ GrafoscopioBrowser class >> showSettings [
|
||||
Transcript show: pandoc
|
||||
]
|
||||
|
||||
{ #category : #'graphical interface' }
|
||||
GrafoscopioBrowser class >> startDockingBar [
|
||||
"Creates a custom docking bar for grafoscopio on top, with shorcuts for most used actions, and a fixed place for asking for help.
|
||||
Some of the functionalities implemented now in the grafoscopio interface for document trees should be moved here, like the ones
|
||||
related with help, external tools and grafoscopio updates and about"
|
||||
|
||||
| launchMenu helpMenu updateMenu |
|
||||
|
||||
launchMenu := MenuMorph new.
|
||||
launchMenu
|
||||
add: 'New notebook' target: self selector: #open;
|
||||
add: 'Notebook from file...' target: (self new) selector: #openFromFileSelector;
|
||||
add: 'Notebook from Internet...' target: (self new) selector: #openFromUrlUI;
|
||||
add: 'Recent notebooks...' target: self selector: #openFromRecentlyUsed;
|
||||
add: 'Example notebooks...' target: self selector: #messageNotImplementedYet;
|
||||
add: 'Roassal visualizations gallery' target: (RTExampleBrowser new) selector: #open;
|
||||
add: 'Playground' target: (Smalltalk tools) selector: #openWorkspace;
|
||||
add: 'Transcript' target: (Smalltalk tools) selector: #openTranscript.
|
||||
|
||||
updateMenu := MenuMorph new.
|
||||
updateMenu
|
||||
add: 'Grafoscopio' target: self selector: #updateGrafoscopioUI;
|
||||
add: 'Documentation' target: self selector: #updateDocumentationUI;
|
||||
add: 'DataViz package' target: self selector: #updateDatavizUI;
|
||||
add: 'Database engine' target: ExternalApp selector: #installSQLite32BitsUI;
|
||||
add: 'Pandoc path' target: ExternalApp selector: #configurePandoc;
|
||||
add: 'Fossil path' target: ExternalApp selector: #configureFossil;
|
||||
add: 'All the system' target: self selector: #updateSystem.
|
||||
|
||||
helpMenu := MenuMorph new.
|
||||
helpMenu
|
||||
add: 'Tutorial in Grafoscopio' target: (self new) selector: #openTutorialInGrafoscopio;
|
||||
add: 'PDF Manual' target: self selector: #openHelpInPdf;
|
||||
add: 'HTML Manual' target: self selector: #openHelpInHtml;
|
||||
add: 'Manual in grafoscopio' target: (self new) selector: #openHelpInGrafoscopio;
|
||||
add: 'About Grafoscopio' target: self selector: #messageAbout.
|
||||
|
||||
dockingBar := DockingBarMorph new.
|
||||
dockingBar
|
||||
add: 'Launch' subMenu: launchMenu;
|
||||
add: 'Update' subMenu: updateMenu;
|
||||
add: 'Help' subMenu: helpMenu.
|
||||
dockingBar
|
||||
adhereToTop;
|
||||
openInWorld.
|
||||
]
|
||||
|
||||
{ #category : #updating }
|
||||
GrafoscopioBrowser class >> updateDataviz [
|
||||
"I'm update the Dataviz package with new versions of itself take from the source code repository.
|
||||
|
@ -227,6 +227,53 @@ GrafoscopioGUI class >> exampleBootstrapUI [
|
||||
ui openWithSpecLayout: lay.
|
||||
]
|
||||
|
||||
{ #category : #'graphical interface' }
|
||||
GrafoscopioGUI class >> startDockingBar [
|
||||
"Creates a custom docking bar for grafoscopio on top, with shorcuts for most used actions, and a fixed place for asking for help.
|
||||
Some of the functionalities implemented now in the grafoscopio interface for document trees should be moved here, like the ones
|
||||
related with help, external tools and grafoscopio updates and about"
|
||||
|
||||
| launchMenu helpMenu updateMenu |
|
||||
|
||||
launchMenu := MenuMorph new.
|
||||
launchMenu
|
||||
add: 'New notebook' target: self selector: #open;
|
||||
add: 'Notebook from file...' target: (self new) selector: #openFromFileSelector;
|
||||
add: 'Notebook from Internet...' target: (self new) selector: #openFromUrlUI;
|
||||
add: 'Recent notebooks...' target: self selector: #openFromRecentlyUsed;
|
||||
add: 'Example notebooks...' target: self selector: #messageNotImplementedYet;
|
||||
add: 'Roassal visualizations gallery' target: (RTExampleBrowser new) selector: #open;
|
||||
add: 'Playground' target: (Smalltalk tools) selector: #openWorkspace;
|
||||
add: 'Transcript' target: (Smalltalk tools) selector: #openTranscript.
|
||||
|
||||
updateMenu := MenuMorph new.
|
||||
updateMenu
|
||||
add: 'Grafoscopio' target: self selector: #updateGrafoscopioUI;
|
||||
add: 'Documentation' target: self selector: #updateDocumentationUI;
|
||||
add: 'DataViz package' target: self selector: #updateDatavizUI;
|
||||
add: 'Database engine' target: ExternalApp selector: #installSQLite32BitsUI;
|
||||
add: 'Pandoc path' target: ExternalApp selector: #configurePandoc;
|
||||
add: 'Fossil path' target: ExternalApp selector: #configureFossil;
|
||||
add: 'All the system' target: self selector: #updateSystem.
|
||||
|
||||
helpMenu := MenuMorph new.
|
||||
helpMenu
|
||||
add: 'Tutorial in Grafoscopio' target: (self new) selector: #openTutorialInGrafoscopio;
|
||||
add: 'PDF Manual' target: self selector: #openHelpInPdf;
|
||||
add: 'HTML Manual' target: self selector: #openHelpInHtml;
|
||||
add: 'Manual in grafoscopio' target: (self new) selector: #openHelpInGrafoscopio;
|
||||
add: 'About Grafoscopio' target: self selector: #messageAbout.
|
||||
|
||||
dockingBar := DockingBarMorph new.
|
||||
dockingBar
|
||||
add: 'Launch' subMenu: launchMenu;
|
||||
add: 'Update' subMenu: updateMenu;
|
||||
add: 'Help' subMenu: helpMenu.
|
||||
dockingBar
|
||||
adhereToTop;
|
||||
openInWorld.
|
||||
]
|
||||
|
||||
{ #category : #initialization }
|
||||
GrafoscopioGUI >> initializePresenter [
|
||||
tree.
|
||||
|
Loading…
Reference in New Issue
Block a user