eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'FileApplicationNoteBook':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: FileApplicationNoteBook


Inheritance:

   Object
   |
   +--Model
      |
      +--ApplicationModel
         |
         +--AbstractFileBrowser
            |
            +--FileApplicationNoteBook

Package:
stx:libtool
Category:
Interface-Tools-File
Version:
rev: 1.371 date: 2019/07/30 09:48:19
user: stefan
file: FileApplicationNoteBook.st directory: libtool
module: stx stc-classLibrary: libtool
Author:
Christian Penk

Description:




Class protocol:

application list
o  applicationList
returns a list of all applications to start by the NoteBookApplication with
#className #type

example:
#( #'FooEditor' nil )

o  classFor: aApplicationListItem

o  defaultApplication
returns the application to be started if no itemQuery returns true or no supportedSuffix is supported

o  typeFor: aApplicationListItem

classAccess
o  textEditorClass

defaults
o  openAnotherApplicationOnSameItem

interface specs
o  windowSpec
This resource specification was automatically generated
by the UIPainter of ST/X.

usage example(s):

     UIPainter new openOnClass:FileApplicationNoteBook andSelector:#windowSpec
     FileApplicationNoteBook new openInterface:#windowSpec
     FileApplicationNoteBook open

menu specs
o  tabMenu
This resource specification was automatically generated
by the MenuEditor of ST/X.

usage example(s):

     MenuEditor new openOnClass:FileApplicationNoteBook andSelector:#tabMenu
     (Menu new fromLiteralArrayEncoding:(FileApplicationNoteBook tabMenu)) startUp


Instance protocol:

accessing
o  listOfApplications
return the value of the instance variable 'listOfApplications' (automatically generated)

o  selectionHistoryList

o  selectionHistoryList: aCol

accessing-applications
o  getAllApplicationsByClass: aClass andType: aType
and:[appl type = aType]

o  getApplicationByType: aType

o  getIndexFor: aApplication

o  getSameApplicationsFor: anApplication

actions-app-common
o  changeItem: anItem for: anAppl
self doSelect:anAppl.

o  changeModified: aSymbol for: anAppl

o  closeSubCanvas: aApplication
"/ UPDATE THE LAST SELECTION BECAUSE SEL INDEX IS DECREMENTED FOR HIGHER INDEXES

o  destroyTab: tabIndex

o  doCloseAllApplications

o  doCloseAllOtherApplications
(Dialog confirm:(resources string:'Really close all Tabs ?')) ifFalse:[^ self].

o  doCloseApplication

o  doRenameTab

o  doSelectInList

o  openApplByFileItem: anItem
open a new embedded app, or a standard system command (for example pdf reader).
return the new app or nil, if none was embedded.
Uses the default class list for open of applications by item

o  openApplicationClass: aClass withItem: anItem withType: aType
Modified (format): / 12-01-2012 / 01:10:50 / cg

o  openApplicationClass: aClass withItem: anItem withType: aType checkExisting: checkExisting
Modified (format): / 29-11-2011 / 19:06:27 / cg

o  openApplicationClass: aClass withItem: anItem withType: aType checkExisting: checkExisting preSetItem: aBlock
do not open unreadable items

o  openDefaultApplicationByItem: anItem
open the default application if no application for item is available or the start of the
available application failed

o  setSameFileIndexFor: anAppl
Modified (format): / 24-07-2011 / 08:22:03 / cg

o  startApplication: anApplication
start a subapplication in the lower panel (terminal, finder, archive viewer or text editor)

o  tabStringAdd: aString for: anAppl

o  tabStringChangeTo: aString for: anAppl

o  tryToGetExistingApplFor: aClass withItem: anItem withType: aType preSetItem: aBlock
sameAppls := sameAppl first.

actions-app-spec
o  addTerminalIn: aDirectory

o  changeDirectoryDescription

o  closeAllApplicationsEnabled

o  closeDirectoryDescription
Modified (format): / 12-11-2017 / 11:18:40 / cg

o  doAddArchiverOn: aFilename

o  newTextEditor
Modified (format): / 12-11-2017 / 11:18:35 / cg

o  openArchiveViewApplication: anItem
Modified (format): / 12-11-2017 / 11:18:31 / cg

o  openCommandResultApplication
Modified (format): / 12-11-2017 / 11:18:19 / cg

o  openCompareDirectory: directory1 with: directory2

o  openDirectoryDescription

o  openNewTextEditorOn: anItem
Modified (format): / 12-11-2017 / 11:18:11 / cg

o  openSearchFileOn: anItem
Modified (format): / 12-01-2012 / 01:02:30 / cg

o  openTerminalApplication: anItem

o  openTextEditor

o  openTextEditorForFile: aFilename

o  openTextEditorOn: anItem

o  openTextEditorOn: anItem type: aDirDescrOrFile

o  openTextEditorWithHexPresentationOn: anItem
Modified (format): / 12-11-2017 / 11:18:06 / cg

applicationlist access
o  applicationList

aspects
o  canvasHolder

o  cursorColLabelHolder

o  cursorLineAndColumnLabelHolder

o  cursorLineLabelHolder

o  fileEncodingHolder

o  inputTabColumnConversionHolder

o  lineEndConventionHolder

o  lockFileEncodingHolder

o  modeLabelHolder

o  modeLabelMenu

o  modeLabelMenuHolder

o  privateTabList

o  selectedEditorPage
if your app needs to be notified of changes, uncomment one of the lines below:

usage example(s):

selectedEditorPage onChangeSend:#selectedEditorPageChanged to:self.

o  tabList

o  tabList: aValue

change & update
o  canvasChanged
invoked when the contentsView has been changed

o  update: something with: aParameter from: changedObject
don't want the tabs with one application - that's why i have to change my tablist

o  viewDirectoryDescriptionChanged

menu & actions
o  destroyTabAt: idx

o  tabMenuAt: aTab

queries
o  getSameFilesModifiedFor: aAppl

selection
o  currentTabMenusApplication
only valid within menu processing

o  doSelect: anAppl
self gotoFile:fileName.

o  selectedApplication

startup & release
o  closeRequest
asks for permission before closing

o  makeDependent

o  postOpenAsSubcanvasWith: aBuilder

o  postOpenWith: aBuilder
only invoked if the application not started from a master

o  preBuildWith: aBuilder

o  tryCloseApplications


Private classes:

    ArchiveViewApplication
    CommandResult
    DigitalNotepadFileViewApplication
    HtmlViewApplication
    ImageViewApplication
    Terminal
    TextEditor
    XMLViewApplication
    XViewApplication


ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Thu, 02 Dec 2021 02:58:07 GMT