On 25-08-15 09:09, H. Hirzel wrote:
Hello

I am looking for a list of ready made dialog windows in Pharo 4.0 and
the main API to use them.

- FileDialog,

MindmapNode class>>open
        |fileName|
fileName := UITheme current chooseFileIn: World title: 'Choose file' extensions: nil path: nil preview:nil.
        fileName ifNotNil: [(FLMaterializer materializationFromFileNamed: 
fileName)
                root openInWorld attachAllSubnodes detachAllSubnodes ]

MindmapNode>>saveMap
        |fileName|
fileName := UITheme current fileSaveIn: World title: 'Choose file' extensions: nil path: nil.
        fileName ifNotNil: [    FLSerializer serialize: self toFileNamed: 
fileName].

Stephan


Reply via email to