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

o  openModal


Instance protocol:

initialize & release
o  initializeIcons
folderHalfGreyIcon := ToolbarIconLibrary directoryOpenHalfGrey18x18Icon.

o  release

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

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  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?

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

o  readOtherPackageTreesInBackground

o  readPackageTree
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.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Thu, 25 Apr 2024 04:50:02 GMT