4 Usage
Here is a description of the menu structure and what each menu does -
- Info
The ‘Info’ menu item produces a submenu ...
- Info Panel
A panel giving very limited information about Gorm
- Preferences
A panel allowing you to set preferences about how Gorm operates
- Help (not implemented)
A panel providing general help on using Gorm
- Document
The ‘Document’ menu item produces a submenu ...
- Open
This produces an open panel that lets you open a Gorm document.
You use this if you want to use Gorm to edit an exisiting document.
- New Application
This creates a new application document within Gorm, you may then use the
Palettes panel to drag new objects into the document.
- New Module
Contains a submenu, which also contains:
- New Empty
produces an empty document with only NSFirst and NSOwner.
- New Inspector
produces a document with NSOwner, NSFirst and a window which is the correct size for an Inspector.
- New Palette
produces a document which is like the one by ‘New Inspector’, but it’s window is the right size for a Palette.
- Save
This saves the current document
- Save As
This saves the current document to a new file and changes the document name
to match the new name on disk.
- Save All
This saves all documents currently being edited by Gorm.
- Revert To Saved
This removes all changes made to the document sunce the last save, or since
the document was opened.
- Test Interface
This provides interactive testing of the active document. To end testing, you
need to select the ‘quit’ menu item.
- Translate
Contains a submenu, which also contains:
- Load Strings
Load a string file. This file contains the strings to translate.
- Export Strings
Export a strings file. TODO
- Miniaturize
This miniaturises the active document (or whatever panel is currently key).
- Close
This closes the currenly active document.
- Debug
Prints some useful internal information.
- Load Sound
Loads a sound into the .gorm file.
- Image
Loads an image into the .gorm file.
- Edit
In addition to the usual Cut, Copy, Paste, Delete Select All, this menu also contains:
- Set Name
This allows the user to set a name for a given object in the Objects view in the main document window.
- Group
Which produces a submenu
- In Splitview
Groups views into an NSSplitView. Gorm does this based on the relative positions of the views being grouped. It determines the orientation and the order of th views and then groups them either vertically or horizontally in the order they appear on the screen.
- In Box
Simply groups all of the views into one NSBox.
- In ScrollView
Simply groups all of the views into one NSScrollView.
- Ungroup
Ungroups the contained views.
- Disable Guideline
This item toggles between Enable Guideline and Disable Guideline. This allows the user to turn on or off the guides which appear when placing views in a window or view in Gorm.
- Font Panel
The Font Panel allow you to modify fonts of your views.
- Classes
Contains menus for working with classes.
- Create Subclass
Creates a subclass of the currently selected class in the current document classes view.
- Load Class
Loads a class from a .h file into the current document.
- Create Class Files
Generates a .h and .m file from the currently selected class in the current document classes view.
- Instantiate
Creates an instance of the selected class in the current document classes view.
- Add Outlet/Action
Adds an outlet or an action depending on what is selected in the document classes view. If the outlet icon is selected, it will add an outlet, if it the action icon is selected it will add an action.
- Remove
Removes the currently selected outlet, action or class.
- Tools
Contains the inspector and the palette menus
- Inspector
Shows the inspector
- Palette
Shows the palette
- Load Palette
Opens a file panel and allows the user to load a palette into Gorm.
- Layout
Contains a menu for working with alignement and layout of you views
- Alignement
Wich produces a submenu
- Center Vertically
Center Vertically two or more views. TODO :explain what is the reference view
- Center Horizontally
Center Horizontally two or more views. TODO :explain what is the reference view
- Left Edges
TODO
- Right Edges
TODO
- Top Edges
TODO
- Bottom Edges
TODO
- Bring to Front
Bring to front the selected view
- Send to Back
Send to back the selected view
- Windows
Shows currently open windows.
- Services
Shows currently available services.
- Hide
Hides the application.
- Quit
Quits the application.