FileBrowser for VA Smalltalk

FileBrowser is a new addition to the configuration map “Philemon Tools” , available at VAStGoodies.com, for VA Smalltalk. This little but powerful tool has the following features:

  • navigate through your local filesystem showing the contents of files (including images)
  • file selection based on pattern matching
  • support for custom templates for editing (see templateGroups:)
  • configurable contents font
  • navigation history
  • spawn external programs associated with the selected file (e.g. starts Notepad on Windows for .INI)

filebrowser

This goodie requires you to load the applications from the configuration map “Compuware SplitterWidget”, also available at VAStGoodies.com

This entry was posted in Smalltalk and tagged , , . Bookmark the permalink.

6 Responses to FileBrowser for VA Smalltalk

  1. Robert says:

    Hello,

    I downloaded your Soek-ALL package from the Cincom repository and have your ‘Class Browser’ demo working fine.

    How do I go about using this for all classes in the image?

    Thanks.
    Rob

  2. Have a look at ProjectSelectionView>>renderContentOn: . You should change the argument of list:

  3. If you want to export a project then this example gets you started

    p := Soek.Project new.
    p name: 'Xtreams'.
    p version: '460'.
    p pageUrl:'http://code.google.com/p/xtreams'.
    p classesContainer:(Soek.StoreClassesContainer new
    bundle: (Store.Glorp.StoreBundle latestOf: 'XtreamsDevelopment' version:[ :v | '460' = v ])
    ;yourself).
    ex := Soek.Publisher for: p.
    ex publish.

  4. Robert says:

    Thank you for your reply!

    So just to be sure I understand – I first create a project and publish it. Then I use that published Project for rendering in the browser?

    I assume I can grab the entire image or bundles/packages within the image?

    Thanks so much.
    Rob

  5. Have a look at the StoreClassesContainer to see how you can add more bundles and packages. A similar container class exists for Monticello packages (so you can publish projects from squeaksource or any other repository).

  6. Robert says:

    Hi,
    I used the following code in a Workspace whereby I was trying to view JQTouch classes
    p := Soek.Project new.
    p name: ‘Robert’.
    p version: ’1′.
    p pageUrl:’http://localhost:7777/'.
    p classesContainer:(Soek.ClassesContainer new
    bundle: (Store.Glorp.StoreBundle latestOf: ‘JQTouch’ version:[ :v | '1.0.1' = v ])
    ;yourself).
    ex := Soek.Publisher for: p.
    ex publish.

    I got a new folder and files created on my filesystem
    projectsseasidesoek.goodies.stRobert1
    classes.phtml
    dir.txt
    dynamic2.css
    dynamic2.js
    index.html
    JQTCanvasExtender.phtml
    JQTExampleDemos.phtml
    JQTExampleForm.phtml
    JQTExampleLogin.phtml
    JQTExampleTapDrivenLoad.phtml
    JQTLoadOnEvent.phtml
    JQTouchFileLibraryReference.phtml
    selectors.phtml
    WAHtmlCanvas.phtml

    ***
    So, I believe these files are the published items that I can now use in your app. My question is, how do I use your tool based on your first example:
    “Have a look at ProjectSelectionView>>renderContentOn: . You should change the argument of list:”

    Thanks.
    Rob