eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'AbstractLauncherApplication::PackageLoadDialog':

Home

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

Class: PackageLoadDialog (private in AbstractLauncherApplication

This class is only visible from within AbstractLauncherApplication.

Inheritance:

   Object
   |
   +--Model
      |
      +--ApplicationModel
         |
         +--AbstractLauncherApplication::PackageLoadDialog

Package:
stx:libtool
Category:
Interface-Smalltalk
Owner:
AbstractLauncherApplication

Description:


handwritten q&d dialog to load packages.
TODO:
    rewrite using UI builder


Class protocol:

opening
o  open
(comment from inherited method)
create an instance of the application and open its view.
Sorry, but for visualworks compatibility, the builder is returned,
not the application instance

o  openModal
(comment from inherited method)
create an instance of the application and open its view modal


Instance protocol:

initialize & release
o  initializeIcons
folderHalfGreyIcon := ToolbarIconLibrary directoryOpenHalfGrey18x18Icon.

o  release
(comment from inherited method)
remove all references to objects that may refer to self.
Subclasses may redefine this method but should do a 'super release'.

menu
o  itemMenu
loadPackageAndUpdate value:package value:false value:item.

o  itemMenu_githubRoot: item

o  itemMenu_localMonticelloRoot: item

o  itemMenu_remoteMonticelloRoot: item

menu-actions
o  loadAction: doBrowse
the button's load action

o  loadPackageAndUpdate: package browse: doBrowse subPackages: subPackages item: someItem
try to load the file as is (i.e. not via package-id

o  loadPackageDefinition: package browse: doBrowse subPackages: subPackages item: someItem
is there a project definition class's source?

opening
o  openLoadPackageDialog
open a dialog showing wellknown packages (listed in the packages directory)
and offer to load the selected one(s).
TODO: make this a little app instead of an ad-hoc dialog,
add remote packages (central goody repository?)

o  openLoadPackageDialogModal: modal
open a dialog showing wellknown packages (listed in the packages directory)
and offer to load the selected one(s).
TODO: make this a little app instead of an ad-hoc dialog,
add remote packages (central goody repository?)

private
o  addItemWithPackagePath: path target: target asApplication: isApplication toRoot: aRoot
add a package item to the tree

o  filterChangedAction
nothing

o  getItemByPath: path packageID: packageID under: aRoot
ensures an item for a path and returns it.

o  getMonticelloRepositories

o  readOtherPackageTrees
see if there is a project definition file in this dir

o  readOtherPackageTreesInBackground

o  readPackagesFolder
looks for the packages folder, which contains symbolic-link-like entries
for packages which were generated during the build process

o  selectionChangeAction: selectionIndices

o  showPackageInfoAction: package
try to find the package's source

o  updateAction: whatChanged parameter: parameter
update the corresponding tree item


Private classes:

    MyHierarchicalItem


ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 27 Jul 2024 02:34:37 GMT