Difference between revisions of "Ide/Project Tree"

From wiki.visual-prolog.com

Line 67: Line 67:
| [[Image:Ide/pt_manifest.png]]
| [[Image:Ide/pt_manifest.png]]
| [..\Project_Settings\Application_Expert.htm#Manifest_File Manifest file]
| [..\Project_Settings\Application_Expert.htm#Manifest_File Manifest file]
|-
|colspan="2"|'''Project Resource Files'''
|-
| [[Image:Ide/PT_Image.png]]
| Image (bitmap, cursor or icon) file
|-
| [[Image:Ide/PT_PT_Menu.png]]
| Menu description file
|-
| [[Image:Ide/PT_Toolbar.png]]
| Toolbar description file
|-
| [[Image:Ide/PT_Dialog.png]]
| Dialog description file
|-
| [[Image:Ide/pt_Control.png]]
| IDE custom control description file
|-
| [[Image:Ide/PT_Window.png]]
| Window description file
|}
|}

Revision as of 12:15, 15 February 2013

IDE

The Project Window and the Project Tree

The Project Tree

The Projectwindow is opened when you load a project into the IDE or create a new project.

The Project window provides the main view onto the loaded project. The Project window consists of two panes:

  • The Project Tree pane. It is the left pane. It displays the Project tree. In the Project tree you can see all modules included into the project.
  • The Browse Information pane. It is the right pane. It displays the Browse information from the file selected in the Project Tree pane. These are: names of interfaces, classes, predicates, and other Visual Prolog names declared/defined in this file.

In the Project tree you can see files that are registered in the project: object libraries (and type libraries), DLLs (Dynamically Linked Libraries), object files, resource description (descriptions of menus, dialogs, windows, forms, toolbars) and resource files (bitmaps, icons, cursors), the manifest file and Visual Prolog packages (*.pack).

File:Ide/PT NotCompiled.png
The Project tree for a new not compiled GUI style project

After a package is compiled, the Project tree starts to show some additional information about the package files. You can see the package headers (*.ph) and Visual Prolog source files (interfaces - *.i, classes A - *.cl, class implementations - *.pro).

And the Browse Information pane starts to display for each file:

  • Interfaces and classes that are declared in the file.
  • Classes that are implemented in the file.
  • Constructors, class predicates, object predicates, and local predicates that are declared and implemented in the file. Declarations and implementations are displayed with their arities.
  • Class and object facts that are defined in the file.
  • Domains and constants that are defined in the file.
  • Properties that are defined in the file. They are displayed with their flow patterns.
File:Ide/PT Compiled.png
The Project tree - as you see it for a compiled project

Icons Used in the Project Window

The Project window uses the following icons to identify different kinds of items:

Icons Used in the Project Tree Pane

Icon Description
Project Directories
File:Ide/PT folder.png The Visual Prolog root directory. This is the root directory of your Visual Prolog system installation.
File:Ide/PT folder.png Project subdirectories
Project Source Files
File:Ide/PT Gui.png Project file
File:Ide/PT Package.png Package file
File:Ide/PT ComPackage.png VPCom Package file
File:Ide/PT Cfolder.png Project module file that is not a package or a type library. For example, object libraries *.lib
File:Ide/PT SubModule.png A project include file. Such files are included into one or more project packages (modules)
File:Ide/pt manifest.png [..\Project_Settings\Application_Expert.htm#Manifest_File Manifest file]
Project Resource Files
File:Ide/PT Image.png Image (bitmap, cursor or icon) file
File:Ide/PT PT Menu.png Menu description file
File:Ide/PT Toolbar.png Toolbar description file
File:Ide/PT Dialog.png Dialog description file
File:Ide/pt Control.png IDE custom control description file
File:Ide/PT Window.png Window description file