Menus: The Main Menu

The menu contains all the necessary items out of the basic functionality of the program and project management. Some of the items listed contain even more items below, in order to regroup so its logical functionality. Some of these elements are connected to specific functions, while others offer more choices by the other are still toggle, or every click reverse their status, making active menu or a particular condition, in this case the state is indicated a check symbol next to the entry.
The entries are grouped by type, and their function is described below:

File
| New Project | Create an empty project. It gives a dialog for setting the parameters of the project, including the name of the project itself and the version of the database to which you want to see. The confirmation of the data base is created a new card project, including a new list of objects and a new list views.

Project Open

Get a file previously saved project. It gives a dialog box, so you can select the desired file in the directory of the operating system. The extension of uploaded file extension is set as the default for future rescue. With this feature you can also create a project by reading a file containing SQL statements, in which case it is sufficient to select a file with the extension sql. Files of this type are not considered project files within the application, so the next rescue asked for the name of the file associated with the new project, the original file will no longer be taken into account.

| Recent Open | It allows you to select and load a previously saved project files from a list containing the last <n> projects worked, where <n> corresponds to the number set in the general options. The menu appears only when activated options in general and if you have worked at least one file.

Import from database

Import structure from an existing database, hence creating a new project. It gives a window for the selection of types of objects you want to import, then the window will be displayed for the login and connection to the database server. The loading is done for all of the personal property which has been the connection to the exclusion of anything else, including objects of the system, although present in the same database. According to the version of the PostgreSQL server it is possible that some kind of purpose are not available.

Save Project

Save the current project files. Currently it is possible to save data in either ini (text), which in XML format, there are no differences between the two formats, but only structural each format also contains the same information as the other for the same project. If the project is new, there is a dialog box to set the new file name or write above a disk already. The extension used for the file name is set as the default for future saves and will no longer be required, unless we use the item described below.

| Save Project on... | Allows saving project on file with a different name and different format. As described in the previous item, now you can save data in either ini (text) format xml. It gives a dialog box to set the filename or write above a disk already. The extension of uploaded files is set as the default for future rescue.
| Close project | Closes the current project if the project has undergone changes will be proposed rescuing the latest changes.
| Print setup... | It allows you to configure the parameters of the press and the default printer to send prints. In any case, you can change these settings later if required (eg printing or graphic reports). The total value settings and customizations override the individual project, with the exception of projects loaded after changes, which maintain the settings saved on the file.
| Exit | Closes application pgDesigner and returns to the operating system, if one or more of the projects has been amended opened being proposed rescue.

Edit
| Object Copy | Create a copy of the selected object. It gives the dialog box for editing data object. It should be borne in mind that it is not possible to create multiple objects with the same name, so it is likely that is to be amended one proposed for copying. The object created will be added to the current project and displayed located in the upper left of the diagram.

Delete object

Delete from the project selected object. That operation is sought further confirmation. If you want to delete the object contains references to other objects, they are deleted. The delete function is valid only in the Main View (see charts, views and display project), while if performed in other views of the project, the subject will be deleted only sight, however remaining within the project and displayed in view of Main.

Edit object

It allows you to edit the properties of the selected object. It gives a dialog to manage its data, leading to the amendment, any changes will be reflected on the record, including cancellation. It should be kept in mind that changes or deletions made by further editing windows activated from the primary dialog box (see edit properties of the fields of a table) will not be recoverable, even if no change is made in the dialog box first.

| Move object | Move the selected object in a different position in the diagram. It gives a dialog box in which you can set manually new X, Y coordinates of the object in the chart, representing the upper left of the diagram and compared to the current display. This feature can also be activated by the State Panel, double-click the mouse in that displays the current position of the object.
| Color object | It allows you to customize the colors of the object selected. It gives a dialog box, for different types of object, then you change the setting of color, including colors that can take the object in different states. This customization will be overwritten if the settings are changed in the general options.
| Copy on display | It allows you to copy the reference of the selected another view on the same project. Menu Project is a voice with which you can set in a general views and articles related to them, unlike this function is set for the management of a single element, which is the current subject.

Delete from display

It allows to remove the reference of the selected sight active. It should be borne in mind that it is not possible to remove objects from the main view (Main View), for the physical elimination of the project is a voice and a specific function. Menu Project is a voice with which you can set in a general views and articles related to them, unlike this function is set for the management of a single element, which is the current subject. As already described, from the elimination of a different view from that Main does not cause the actual removal from the project, but the mere sight disconnect itself the subject will still be visible in the Main View.

| Copy on project | This feature allows you to copy the selected object on another project site. It should be borne in mind that will be copied only the object and its characteristics and properties, with the exception of references to other objects in the project source.
| New | In this menu are a series of related items, with which you can create new objects in the project. The same functionality is exercised, and made easier by Panel tools on the left side of the main window. Enabling or less of items on this menu is dependent on the version of database PostgreSQL chosen for the project.

Area

It allows you to create an object rectangular. An area can be used to define or highlight a group of other objects, only a purely graphical diagram of the project, not any function or interference with the operations creation of the database. In any condition such items will always drawn without cover most significant objects (eg lines relation ...), then remain as background to the plot. This type of object you can define the fill color and, optionally, a line of text that appears starting from the upper left corner of the internal area, the size and position can be changed at any time.

| Stamp | Create a simple but particular subject. The object is composed of a simple rectangle, which shows some ownership of the project to which it belongs. For a detailed description of this item can be found in later chapters.
| Domain | Create a domain PostgreSQL. It gives a dialog box for entering the necessary data and setting properties. The item is part of the objects under PostgreSQL, and the description will therefore refer to the official documentation.
| Procedures SQL/PlSQL | Create a procedure (or function) PostgreSQL. It gives a dialog box for entering the necessary data and setting properties. The item is part of the objects under PostgreSQL, and the description will therefore refer to the official documentation.

Relation

Create a relationship between two tables. The report is actually created after the connection established between the tables, selecting with the mouse, leading to the selection is presented with a dialog box for entering the necessary data and the completion of the properties of relation. To create a relation is that the project must contain at least two tables, complete their respective fields, it is not possible to define relations in the absence of tables and fields. The item is part of the objects under PostgreSQL, and the description will therefore refer to the official documentation.

| Sequence | Create a sequence PostgreSQL. It gives a dialog box for entering the necessary data and setting properties. The item is part of the objects under PostgreSQL, and the description will therefore refer to the official documentation.

Table

Create a table PostgreSQL. It gives a dialog box for entering the necessary data and setting properties; through this window you can also access the editing fields and indexes of the table. It should be borne in mind that some of the data may be entered unless there are related items in the project, for example, you can define the tablespace table (or an index of the table) unless there is at least an object tablespace the project, in this case the combo will contain a reference to this tablespace allowing the hook to the table. The item is part of the objects under PostgreSQL, and the description will therefore refer to the official documentation.

| Tablespace | Create a tablespace PostgreSQL. It gives a dialog box for entering the necessary data and setting properties. The creation of a tablespace is needed if you want to combine, for example, object to a table. The item is part of the objects under PostgreSQL, and the description will therefore refer to the official documentation.

Text

Create an object text. It gives a dialog box for entering the necessary data and setting properties. As for the areas, the text object has no real function on the database, and is considered only a graphic within the diagram, which may be used as a note or to define areas logical. The string of text entered will be displayed in the diagram to the desired position and can be dragged, modified and deleted as any other object of the project.

| Type | Create a type PostgreSQL. It gives a dialog box for entering the necessary data and setting properties. The types in the project will be presented whenever it is necessary, appear on lists with the types of default PostgreSQL. The item is part of the objects under PostgreSQL, and the description will therefore refer to the official documentation.

Trigger

Create a trigger PostgreSQL. It gives a dialog box for entering the necessary data and setting properties. It should be borne in mind that some of the data may be entered unless there are related items in the project, for example, you can define the reference table of trigger only if there is at least one table in the project, in this case the combo contain references to this table allowing the hook to trigger. The item is part of the objects under PostgreSQL, and the description will therefore refer to the official documentation.

| View | Create a view PostgreSQL. It gives a dialog box for entering the necessary data and setting properties. Among the functions pgDesigner is also a wizard to help you create custom views. The item is part of the objects under PostgreSQL, and the description will therefore refer to the official documentation.
| View Wizard | Run the wizard to build a view. It gives a dialog box where you can select the tables and fields components view now is not managed the definition of WHERE conditions. The object can be created manually amended. At the end of including property, will create a new vision and added to the project and in the diagram.

Chart Update

Runs updating the graph. This feature redraw all objects in the graph, correcting any visual anomalies. In some cases, employees also the speed of the processor and video card, as well as the number of objects in the diagram, it is possible that the graphics engine is completely updated compared to the settings of objects in the draft, so they may be abnormalities occur purely visual, that you can arrange forcing the application to upgrade the entire diagram.

Reorganize diagram

This function performs the repositioning of the objects in the diagram based on a very simple algorithm, placing objects in the diagram according to a purely mathematical, without taking into account any relationship between the objects themselves. The objects are arranged in order of creation, starting from left to right and from top to bottom on the chart; to reaching the limits of the design, repositioning start spreading again coordinated by initials. This logic can be applied initially to the first loading of a project from a database or file sql, to allow users to realize the magnitude and the number of elements of the project, allowing then placing objects in a more humanly logic.

| Find objects | This function opens a dialog, allowing you to search for items within a project. For a detailed description of this feature please refer to the later chapters.

Project

Open Projects

This menu is displayed unless there are active projects. It contains a sub-menu, with the list of projects open, each of which in turn contains another sub menu with a list of views of the project, including the Main View. Selecting one of these views, change the appearance of the graphics, and display all objects related to the same view. It should be borne in mind that the selection of a view puts the project in a state of change, because the setting is considered as an amendment and saved in the project file and the subsequent loading of the last project override your view was selected.

Create Database

This feature allows you to create objects directly on an existing database on a server PostgreSQL. It gives a window for the selection of types of objects you want to create, then displays the window to log in and connect to the database server. It should be borne in mind that you used to access the database must have the appropriate write rights to create objects contained in the draft.

| Export SQL | Create the necessary SQL commands the structure of the project and saves them to a file with extension sql, or display them in an appropriate dialog box. As for export database, there is a window for the selection of types of objects you want to create.
| Print Diagram | Runs printing graph of the project. It gives a dialog box that displays the graph divided into pages, as configured in the parameters of printer; pages can be esporate as image files or sent directly to the printer.
| Print Report | Through this item on to a further sub-menu containing some items with which you can create reporting project in different formats.
| HTML Format | Run report of the project, containing all the information concerning the project and object, in html format. The report is then displayed on a special dialog box, from which you can then print or save the contents on file.
| PDF Format | Run report of the project, containing all the information concerning the project and object, in pdf format. The report is then displayed on a special dialog box, from which you can then print or save the contents on file.
| TXT Format | Run report of the project, containing all the information concerning the project and objects, text format. The report is then displayed on a special dialog box, from which you can then print or save the contents on file.

Project Configuration

Through this item allows access to the general settings of the current project. The function presents a dialog box that lets you change the parameters of the project, including the name and version of the database. It should be borne in mind that the program takes into account the characteristics of PostgreSQL versions of choice, including the size of names and the existence of certain types of objects (which could be available in later), so it is possible that some entries the main menu and some of the buttons in the instrument panel are disabled.

| Project Statistics | View a window to the general state of the project, the total number of objects separated by type, a list of objects and fields of the tables sorted by name, links and other information. Through this window, you can change access on individual items contained in the draft.
| Display Set | To define views of project globally. In the window that appears management is possible to create / modify / delete views (except the Main View), add or subtract elements.

Tool

View log

During procedures elaborative and management within pgDesigner are issued messages on the current status of the compilation, especially in the case of error or warning, these messages are stored on a file that can be watched to see if any abnormalities. The feature on the menu allows you to read this log file, the content of which is shown in text format on a dialog box; through this window you can send the contents to file or printer.

Options

With this option, you can access the settings general pgDesigner. This opens a dialog box where you can set some basic characteristics of the application and affect the modalities for the establishment of new projects, it is possible to vary the appearance of open projects, such as color or detail with which items are displayed. It should be borne in mind that the amendment of some of these settings will override the customizations made on some items or property projects open.

Help
| Help | Show window containing this help.
| About pgDesigner | Displays a dialog with general information on the application.