Components:
File Manager/Invoker

File Manager/Invoker

ArchStudio 3 user-interface-based tools expose a diverse set of user interfaces because of their wide range of capabilities. However, file management (loading and saving architecture descriptions) capabilities are needed by almost all of them. Furthermore, a distinguished tool is needed that can invoke the other ArchStudio 3 tools, so the end-user is not presented with a dizzying array of interfaces upon ArchStudio 3 startup.

The distinguished tool that manages open architecture descriptions and invokes the other user-interface-based tools in the ArchStudio 3 toolset is called the File Manager/Invoker. A screenshot of this tool is shown here:

file manager/invoker

This tool shows all open architecture descriptions in its main panel. Each open architecture description is denoted by a unique URL that distinguishes it from other open architecture descriptions. The list of open URLs corresponds to the list of architecture descriptions in memory in the xArchADT component.

The Architecture menu allows users to create new architecture descriptions, open existing ones from files or URLs, save architecture descriptions to files, and close open architecture descriptions.

The Invoke menu tailors itself to the tools available in the ArchStudio 3 tool set. Tools that have user interfaces and can be invoked by the File Manager/Invoker automatically report their status to the File Manager/Invoker. When a tool is available for invocation, its name appears on the Invoke menu. Users simply select an architecture description and invoke the appropriate tool to start it. An example of a tool that does this is ArchEdit.

Tool developers that want to participate in the Invoke menu must implement a small boilerplate piece of code in their components. This procedure is described in the component developer's guide elsewhere on this site.


Functionality

ArchStudio 3 has a distributed user interface. That is, each tool in the environment can present its own GUI however it likes. There is no "master window" as is found in so many IDEs like Microsoft Visual Studio. Instead, different components handle different tasks with their own UIs. File management, the duties found on the file menu of an IDE, are delegated to the File Manager/Invoker component of ArchStudio 3, which is the first and only one whose UI appears at startup. All the files managed by the File Manager are XML architecture descriptions (usually xADL 2.0 files); currently, ArchStudio 3 uses that as its primary file format.

Every open architecture has to have an identifier, which is specified by a URI. The URI may also be the architecture's URL, that is, where it can be found on the filesystem or on the Internet, but this is not a requirement.

The File menu options behave as follows:


Additional questions about the File Manager/Invoker should be sent to Eric M. Dashofy.