|
Class: WorkspaceApplication
Object
|
+--Model
|
+--ApplicationModel
|
+--ToolApplicationModel
|
+--MultiViewToolApplication
|
+--WorkspaceApplication
- Package:
- stx:libtool
- Category:
- Interface-Smalltalk
- Version:
- rev:
1.326
date: 2019/07/25 10:59:38
- user: cg
- file: WorkspaceApplication.st directory: libtool
- module: stx stc-classLibrary: libtool
- Author:
- Claus Gittinger
A simple wrapper around a WorkSpace-View, adding a pullDown menu.
defaults
-
default
-
a place where the default workspaceApplication could be hooked in;
see SystemBrowser default and FileBrowser default on the intention...
-
defaultEditToolbarVisible
-
-
defaultInfoVisible
-
-
defaultMyWorkspaceDotWspFile
-
-
defaultToolbarVisible
-
-
filterTemplate
-
-
generatorTemplate
-
-
textProcessorTemplate
-
-
webServiceLinkName
-
help specs
-
helpSpec
-
interface specs
-
manageSnippetsDialogSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
usage example(s):
UIPainter new openOnClass:WorkspaceApplication andSelector:#manageSnippetsDialogSpec
WorkspaceApplication new openInterface:#manageSnippetsDialogSpec
|
-
toolBarSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
usage example(s):
UIPainter new openOnClass:WorkspaceApplication andSelector:#toolBarSpec
WorkspaceApplication new openInterface:#toolBarSpec
|
-
windowSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
usage example(s):
UIPainter new openOnClass:WorkspaceApplication andSelector:#windowSpec
WorkspaceApplication new openInterface:#windowSpec
WorkspaceApplication open
|
-
windowSpecForInfoBar
-
This resource specification was automatically generated
by the UIPainter of ST/X.
usage example(s):
UIPainter new openOnClass:WorkspaceApplication andSelector:#windowSpecForInfoBar
WorkspaceApplication new openInterface:#windowSpecForInfoBar
|
menu specs
-
bufferAddMenuSlice
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:WorkspaceApplication andSelector:#bufferAddMenuSlice
(Menu new fromLiteralArrayEncoding:(WorkspaceApplication bufferAddMenuSlice)) startUp
|
-
bufferMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:WorkspaceApplication andSelector:#bufferMenu
(Menu new fromLiteralArrayEncoding:(WorkspaceApplication bufferMenu)) startUp
|
-
editMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:WorkspaceApplication andSelector:#editMenu
(Menu new fromLiteralArrayEncoding:(WorkspaceApplication editMenu)) startUp
|
-
editModeInfoLabelMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:Tools::NewSystemBrowser andSelector:#editModeInfoLabelMenu
(Menu new fromLiteralArrayEncoding:(Tools::NewSystemBrowser editModeInfoLabelMenu)) startUp
|
-
editToolBarMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:WorkspaceApplication andSelector:#editToolBarMenu
(Menu new fromLiteralArrayEncoding:(WorkspaceApplication editToolBarMenu)) startUp
|
-
executionMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:WorkspaceApplication andSelector:#executionMenu
(Menu new fromLiteralArrayEncoding:(WorkspaceApplication executionMenu)) startUp
|
-
fileMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:WorkspaceApplication andSelector:#fileMenu
(Menu new fromLiteralArrayEncoding:(WorkspaceApplication fileMenu)) startUp
|
-
helpMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:WorkspaceApplication andSelector:#helpMenu
(Menu new fromLiteralArrayEncoding:(WorkspaceApplication helpMenu)) startUp
|
-
languageInfoLabelMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
-
mainMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:WorkspaceApplication andSelector:#mainMenu
(Menu new fromLiteralArrayEncoding:(WorkspaceApplication mainMenu)) startUp
|
-
manageSnippetDialogMenuSpec
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:WorkspaceApplication andSelector:#manageSnippetDialogMenuSpec
(Menu new fromLiteralArrayEncoding:(WorkspaceApplication manageSnippetDialogMenuSpec)) startUp
|
-
smalltalkMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:WorkspaceApplication andSelector:#smalltalkMenu
(Menu new fromLiteralArrayEncoding:(WorkspaceApplication smalltalkMenu)) startUp
|
-
toolBarMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:WorkspaceApplication andSelector:#toolBarMenu
(Menu new fromLiteralArrayEncoding:(WorkspaceApplication toolBarMenu)) startUp
|
-
workspaceMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:WorkspaceApplication andSelector:#workspaceMenu
(Menu new fromLiteralArrayEncoding:(WorkspaceApplication workspaceMenu)) startUp
|
private
-
createWorkspaceView
-
special startup
-
openEvaluationWorkspace
-
self openEvaluationWorkspace
-
openForSinglePageDoing: aBlock
-
the original Workspace
-
openMyWorkspace
-
openMyWorkspace_new leads to an error in root /, which we don't understand...
usage example(s):
self openMyWorkspace_old.
|
usage example(s):
WorkspaceApplication openMyWorkspace
|
-
openMyWorkspace_new
-
open showing tabs for ALL bookmarked workspace files
-
openMyWorkspace_old
-
open showing the single file: MyWorkspace.wsp
-
openOnFile: aFilename
-
launch a new workspace on the contents of some file
usage example(s):
WorkspaceApplication openOnFile:'Makefile'
|
-
openSystemWorkspace
-
|ws b|
ws := self openSystemWorkspace.
ws addMyWorkspace.
ws selectedWorkspaceIndexHolder value:(ws workspaces size).
ws selectedWorkspace contents:'Tools::NewSystemBrowser open'; selectAll.
ws selectedWorkspace
add:(b := Button label:'DoIt' action:[ws doIt. b destroy])
-
openWith: initialText
-
launch a new workspace with some initial contents.
The workspace will be opened in smalltalk syntax mode
usage example(s):
WorkspaceApplication openWith:'Transcript showCR:''hello world'''
|
-
openWith: initialText selected: selectedBoolean
-
launch a new workspace with some initial contents.
The workspace will be opened in smalltalk syntax mode
usage example(s):
WorkspaceApplication openWith:'Transcript showCR:''hello world'''
|
-
openWith: initialText selected: selectedBoolean title: titleString
-
launch a new workspace with some initial contents.
The workspace will be opened in smalltalk syntax mode
usage example(s):
WorkspaceApplication
openWith:'Transcript showCR:''hello world'''
selected:false
title:'hello'
|
-
openWithGlobalsInspector
-
open a workspaceApp with a single initial pane, showing global variables.
Same as Smalltalk inspect, but looks nicer...
usage example(s):
self openWithGlobalsInspector
|
-
openWithText: initialText
-
like openWith, but will set the language to 'text', so it is not incorrectly syntax highlighted
usage example(s):
WorkspaceApplication openWithText:'foo 1 2 3 4'
|
-
openWithWorkspaceVariableInspector
-
open a workspaceApp with a single initial pane, showing workspace variables.
Same as Workspace workspaceVariables inspect, but looks nicer...
usage example(s):
self openWithWorkspaceVariableInspector
|
startup
-
open
-
the very first open opens a MyWorkspace
usage example(s):
MyWorkspaceOpened := nil.
WorkspaceApplication open.
|
-
openRegularWorkspace
-
always open a normal MyWorkspace
aspects
-
autoDefineVariables
-
-
autoFetchSelectionHolder
-
-
autoFetchSelectionMenuItemVisible
-
-
bookmarks
-
-
browseItMenuButtonVisibile
-
typo in previous version
-
browseItMenuButtonVisible
-
-
canChangeLanguageHolder
-
return/create the 'canChangeLanguageHolder' value holder (automatically generated)
-
canChangeLanguageHolder: something
-
set the 'canChangeLanguageHolder' value holder (automatically generated)
-
cursorColHolder
-
-
cursorColLabelHolder
-
-
cursorLineAndColumnLabelHolder
-
-
cursorLineHolder
-
-
cursorLineLabelHolder
-
-
doItMenuButtonVisibile
-
typo in previous version
-
doItMenuButtonVisible
-
-
hasHistory
-
-
hasInfoLabel
-
-
inspectItMenuButtonVisibile
-
typo in previous version
-
inspectItMenuButtonVisible
-
-
languageInfoLabelHolder
-
'Syntax: ',
-
modeLabelHolder
-
-
namespaceHolder
-
-
namespaceInfoLabelHolder
-
-
printItMenuButtonVisibile
-
typo in previous version
-
printItMenuButtonVisible
-
-
profileItMenuButtonVisible
-
-
setWindowLabel: label
-
-
setWindowLabel: label language: language
-
-
smalltalkMenuEnabledHolder
-
-
syntax: aProgrammingLanguageOrNil
-
the argument must sth. like SmalltalkLanguage
-
syntaxHolder
-
-
toolBarView
-
aspects-queries
-
anyWorkspaceVariableIsDefined
-
-
canAddBookmark
-
-
isSQLWorkspaceAvailable
-
-
isSQLWorkspaceSelected
-
-
isWebBrowserAvailable
-
-
selectedWorkspaceIsTextView
-
autofetch selection
-
autoFetchSelection
-
-
autoFetchSelection: aBoolean
-
-
autoFetchSelectionLines
-
-
itemFromClipboard
-
-
selectionClear: foo
-
Transcript showCR:foo.
-
startClipboardWatcher
-
-
stopClipboardWatcher
-
-
waitForClipBoardToChange
-
defaults
-
defaultEvaluatorSyntax
-
-
defaultFileNameForLoad
-
-
defaultFileNameForSave
-
eval-ws
-
defaultFileNameForSaveAll
-
-
defaultNameSpaceForDoIts
-
-
defaultPatternLoad
-
-
executeMenuVisible
-
-
thisIsASmalltalkWorkspace
-
can be redefined in a subclass to disable smalltalk-specific menu items
(expecco uses workspaces as scratchpads)
-
thisIsASmalltalkWorkspaceAndAutoFetchMenuItemVisible
-
drag & drop
-
droppedFile: aFilename in: aComponent
-
this is a notification from my textView component
help
-
helpSpec
-
dynamically adjust the menuSave item's helpText
-
updateHelpSpec: aSpec
-
dynamically adjust the menuSave item's helpText
initialization & release
-
closeRequest
-
asks for permission before closing
-
initialSyntax: aLanguage
-
-
postBuildEditModeInfoLabel: aLabel
-
-
postBuildWith: aBuilder
-
force geometry update
-
postOpenWith: aBuilder
-
(comment from inherited method)
starts the active help for this tool (if turned on in the settings)
and updates the info label and the font's (from the settings)
-
processEvent: anEvent
-
filter double click in line-label.
Return true, if I have eaten the event
menu-actions
-
askForFilterBlock: message template: template rememberIn: nameOfClassVar
-
-
autoDefineVariablesChanged
-
-
basicInspectIt
-
-
browseImplementorsOfIt
-
-
browseIt
-
-
browseReferencesToIt
-
-
clearHistory
-
-
compareTextAgainst
-
-
doIt
-
-
inspectIt
-
-
inspectIt: isBasicInspector
-
there is none - i.e. it is a HTMLDocumentView
-
inspectWorkspaceVariables
-
-
loadFile: aFileName encoding: encodingSymbolOrNil label: label
-
This small hack allows programmers to have their own
MyWorkspace.wsp in their ~/.smalltalk directory
-
manageSnippets
-
selectedSnippetsName.
-
menuSQLConnect
-
-
menuSave
-
-
newEvaluationWorkspace
-
-
newSystemWorkspace
-
-
openDocumentation
-
opens the documentation file
-
openEditingDocumentation
-
opens the documentation file
-
pasteAndExecute: aString
-
-
pasteSnippet
-
-
printIt
-
-
profileIt
-
-
redoLastDoIt
-
-
removeAllWorkspaceVariables
-
-
removeGlobalVariable
-
-
removeSharedPool
-
-
removeWorkspaceVariable
-
-
renameWorkspace: wsIndex to: newName
-
-
setCompilerForSyntax
-
-
setCompilerForSyntaxIn: aWorkspace
-
compilerClass := (language evaluatorClass "self compilerClassForSyntaxName:syntax").
-
setNameSpaceForDoIts
-
-
spyOnIt
-
-
switchToBookmarkEntry: bookmark
-
-
terminateBackgroundProcesses
-
-
timeIt
-
menu-actions-adding
-
addBookmark
-
-
addClassVariableInspector
-
-
addEvaluationWorkspace
-
-
addGlobalVariable
-
-
addGlobalVariableInspector
-
-
addInspectorOn: aValue basic: isBasicInspector suppressPseudoSlots: suppressPseudoSlots
-
Inspector2 does not work yet!
-
addInspectorOn: aValue inspectorClass: inspectorClass suppressPseudoSlots: suppressPseudoSlots
-
v allowFollow:true.
-
addMyWorkspace
-
-
addNamespaceInspector
-
-
addNamespaceInspectorFor: aNameSpaceOrSharedPool
-
-
addSQLWorkspace
-
-
addSelectionToSnippets
-
-
addSharedPool
-
-
addSharedPoolInspector
-
-
addStopWatch
-
avoid making stx:libwidg3 a prerequisite.
-
addTeaTimer
-
you think that is a useless gimmick ?
I use it in the office and as a wakeup clock timer
-
addTerminal
-
mhm - xterm embedding seems to no longer work; the default from user prefs is therefore false
-
addWebBrowser
-
-
addWorkspaceVariable
-
-
addWorkspaceVariableInspector
-
-
addWorkspaceWithSameContents
-
-
menuAddBookmarkTo: folder
-
menu-actions-editing
-
babelFishTranslate: fromToModeString
-
translate the selected text and paste it after the selection.
This is now obsolete, as that web service no longer exists (sigh)
-
changesBrowserOnText
-
-
editBookmarks
-
-
editModeInsert
-
-
editModeInsertAndSelect
-
-
editModeOverwrite
-
-
fileInText
-
filein the selected workspace's contents as if read from a file
-
filterText
-
a filterblock is asked for, which is applied to the
selected line range.
Each line for which the filter evaluats to false is removed
-
generateText
-
a generatorblock is asked for, which is evaluated to generate
lines onto an output stream.
The generated text is inserted (or replaces the current selection)
-
googleSpellingSuggestion
-
-
indent
-
-
pasteLastDoIt
-
-
processText
-
a block is asked for, which is applied to each line of the selected line range.
Each line is replaced by the corresponding output of the processing block
-
undent
-
menu-dynamic
-
bookmarkMenu
-
-
editModeInfoLabelMenu
-
-
languageListMenuSlice
-
dynamically generate a slice containing the available
programming languages
-
makeRecentDoItsMenuFor: aSelector
-
-
namespaceInfoLabelMenu
-
-
namespaceInfoLabelMenuHolder
-
-
pasteRecentDoItMenu
-
-
recentDoItsMenuFor: aSelector
-
-
redoRecentDoItMenu
-
private
-
askIfAnyModified: question yesButton: yesButtonText
-
reset modified flag so question is asked only once
-
compilerClassForSyntaxName: syntax
-
-
compilerClassOf: aWorkspace
-
catch, because it could be a non-edit view there (VT100, TeaTimer etc.)
-
createEvaluationWorkspace
-
self renameWorkspace:(self selectedWorkspaceIndexHolder value) to:'Eval'.
-
createWorkspace
-
Modified (format): / 05-07-2011 / 14:18:52 / cg
-
createWorkspaceView
-
(ws respondsTo:#languageHolder:) ifTrue:[
-
createWorkspaceViewForText
-
creates a language unaware workspace
-
isModifiedWorkspace: aView
-
-
lastDoItsString
-
-
syntaxFromEvaluatorClass: aClass
-
knowing the evaluator class, determine the syntax highlighter class
-
workspaceSelectionChanged
-
attach line, col and mode holders to the current workspace window
special startup
-
openSystemWorkspace
-
create the tabs for the initial welcome system workspace
user actions
-
infoVisibilityChanged
-
(comment from inherited method)
#CodeView.
-
namespaceChangedByUser
-
remember as default for next new workspace
-
syntaxChangedByUser
-
remember as default for next new workspace
-
toolBarVisibilityChanged
-
(comment from inherited method)
force it to recompute its dimension
|