Difference between revisions of "Ide/Project Tree"

From wiki.visual-prolog.com

(New page: {{ideNavbar|Project Window and Project Tree}} === The Project Window and the Project Tree === ==== The Project Tree ==== The '''Project'''window is opened when you load a project into t...)
 
Line 27: Line 27:
* Properties that are defined in the file. They are displayed with their flow patterns.
* Properties that are defined in the file. They are displayed with their flow patterns.


[[Image:PT_Compiled.png|center|frame|'''The ''Project tree'' - as you see it for a compiled project''']]
[[Image:Ide/PT_Compiled.png|center|frame|'''The ''Project tree'' - as you see it for a compiled project''']]


==== Icons Used in the Project Window ====
==== Icons Used in the Project Window ====


The Project window uses the following icons to identify different kinds of items:
The Project window uses the following icons to identify different kinds of items:
'''Icons Used in the Project Tree Pane'''
{|{{prettytable}}
|-
! Icon
! Description
|-
|colspan="2"|'''Project Directories'''
|-
| [[Image:Ide/PT_folder.png]]
| The Visual Prolog root directory. This is the root directory of your Visual Prolog system installation.
|-
| [[Image:Ide/PT_folder.png]]
| Project subdirectories
|-
|colspan="2"|'''Project Source Files'''
|-
| [[Image:Ide/PT_Gui.png]]
| Project file
|-
| [[Image:Ide/PT_Package.png]]
| Package file
|-
| [[Image:Ide/PT_ComPackage.png]]
| VPCom Package file
|-
| [[Image:Ide/PT_Cfolder.png]]
| Project module file that is not a package or a type library. For example, object libraries <span style="color:Purple"><nowiki>*.lib</nowiki></span>
|-
| [[Image:Ide/PT_SubModule.png]]
| A project include file. Such files are included into one or more project packages (modules)
|-
| [[Image:Ide/pt_manifest.png]]
| [..\Project_Settings\Application_Expert.htm#Manifest_File Manifest file]
|}

Revision as of 11:29, 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]