Module Simantics/DesktopUI

This module is undocumented. This is a list of its definitions.

newModel :: Resource -> String -> <WriteGraph> Resource

newModel type name creates a new model of the given type under the current project and returns it. The model gets a configuration, an SCLMain module and a local library. A null name makes the model take a fresh generated name of the form Model1.

newSharedLibraryAction :: Resource -> <Proc> ()

The New / Shared Library action of the project explorer. Opens a dialog that offers every concrete index root type inheriting L0.SharedOntology and creates the shared library the user selects. The argument is the resource the action was invoked on and is not used.