|
Class: PackageLoadDialog (private in AbstractLauncherApplication
This class is only visible from within
AbstractLauncherApplication.
Object
|
+--Model
|
+--ApplicationModel
|
+--AbstractLauncherApplication::PackageLoadDialog
- Package:
- stx:libtool
- Category:
- Interface-Smalltalk
- Owner:
- AbstractLauncherApplication
handwritten q&d dialog to load packages.
TODO:
rewrite using UI builder
opening
-
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
-
openModal
-
(comment from inherited method)
create an instance of the application and open its view modal
initialize & release
-
initializeIcons
-
folderHalfGreyIcon := ToolbarIconLibrary directoryOpenHalfGrey18x18Icon.
-
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
-
itemMenu
-
loadPackageAndUpdate value:package value:false value:item.
-
itemMenu_githubRoot: item
-
-
itemMenu_localMonticelloRoot: item
-
-
itemMenu_remoteMonticelloRoot: item
-
menu-actions
-
loadAction: doBrowse
-
the button's load action
-
loadPackageAndUpdate: package browse: doBrowse subPackages: subPackages item: someItem
-
try to load the file as is (i.e. not via package-id
-
loadPackageDefinition: package browse: doBrowse subPackages: subPackages item: someItem
-
is there a project definition class's source?
opening
-
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?)
-
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
-
addItemWithPackagePath: path target: target asApplication: isApplication toRoot: aRoot
-
add a package item to the tree
-
filterChangedAction
-
nothing
-
getItemByPath: path packageID: packageID under: aRoot
-
ensures an item for a path and returns it.
-
getMonticelloRepositories
-
-
readOtherPackageTrees
-
see if there is a project definition file in this dir
-
readOtherPackageTreesInBackground
-
-
readPackagesFolder
-
looks for the packages folder, which contains symbolic-link-like entries
for packages which were generated during the build process
-
selectionChangeAction: selectionIndices
-
-
showPackageInfoAction: package
-
try to find the package's source
-
updateAction: whatChanged parameter: parameter
-
update the corresponding tree item
MyHierarchicalItem
|