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