| **Navigation:**  [[clarion ide.htm|Development Environment (IDE)]] > Pads and Views >====== Applications Pad ====== | [[softvelocity clarion windowpreviewer windowprevieweroptionspanel.htm|{{btn_prev_n.gif|Previous page}}]][[clarion ide.htm|{{btn_home_n.gif|Return to chapter overview}}]][[data sources view.htm|{{btn_next_n.gif|Next page}}]] | | || The Applications Pad provides a view of all opened applications in the IDE. You can also manage your applications with regards to source generation, and compiling and building the project all from this pad. {{apppad.jpg|AppPad.jpg}} The toolbar provides the following options: **Edit Application** Opens the Application Editor for the selected application The next three buttons contain drop menus with a number of generation and build options. All of these items are toggle settings divided into three sub categories. Pressing the toolbar button will then execute generation based on the current drop menu settings. **Generation Menu Options **{{apppadg.jpg|AppPadG.jpg}} **Generate All** Generates source for all applications opened for editing (those opened in the Application Editor). **Generate Selected** Generates source for the selected application only. You can multi-select applications in this Pad if needed, and this option will generate all applications selected. **Generate Edited** Generates source for the application currently being edited and selected (on top) in the Application Editor. **Conditional Generation Mode** Choose from three options. Use the default setting as defined in the **Application Options** dialog, or override those settings by switching to **Conditional** or **Unconditional** Generation.. **Generate Trace File** Source Generation optionally includes a trace option as defined in the **Application Options** dialog. You can also override those settings by switching to **Generate** or **Don't Generate** as needed. This file should be use only for diagnostic purposes, as it can sometimes affect generation performance. **Generate and Build Options **{{apppadgb.jpg|AppPadGB.jpg}} In addition to the Generation Menu options documented above, the **Generate and Build** button adds the following options: **Generate** Generates source for all applications based on the Generate option selected (Generate All, Generate Selected or Generate Edited). **Build** Builds the source for all applications based on the Generate option selected (Generate All, Generate Selected or Generate Edited). **Generate and Build** Generates and Builds the source for all applications based on the Generate option selected (Generate All, Generate Selected or Generate Edited). {{notebox.jpg|NoteBox.jpg}} If you are using the Enterprise Edition, the Generate and Build option above is optimized for large projects. For example, if you have //App1//, //App2// and //App3// selected to process, the applications are processed as follows: **Generate App1** **Build App1** **Generate App2** **Build App2** **Generate App2** **Build App2** If you are using the Professional Edition, the Generate and Build option is slightly different as follows: **Generate App1** **Generate App2** **Generate App3** **Build App1** **Build App2** **Build App3** The behavior of the Generate Only and Generate and Run options are identical in both Enterprise and Professional Editions: **Generate App1** **Generate App2** **Generate App3** **Build App1** **Build App2** **Build App3** **Run Start Up Project** **Generate and Run Options **{{apppadgr.jpg|AppPadGR.jpg}} In addition to the Generation Menu options documented above, the Generate and Run button adds the following options: **Run** Runs program from IDE. This option will generate source for applications opened for editing, compile, and build all prior to the Run if needed. **Run with Debugger** Runs program in the debugger. This option will generate source for applications opened for editing, and then compile, and build all prior to the Run if needed. **Other Buttons** **Open Dictionary** Opens the active dictionary used by the applications as read only. **Sort by Generation order** Toggle the application sort order between generation order and alphabetical. **Refresh** Refreshes the application pad. Usually this is required after a project import or conversion. **Create Application from TXA file** Opens a utility that allows you create an application from an Application Text file (TXA). **Export to Text** Exports the selected application to a TXA (Application Text) file. {{blk2blue.jpg|blk2blue.jpg}} **Caching Applications** "Opened" applications are applications that are either loaded in the Application Editor, or, they can be applications that are "lazy loaded", meaning that the application registry and any parsing of source libraries required by the templates has been performed. Open (or "lazy loaded") applications in the Applications Pad are identified by the following icon: {{openedappicon.jpg|OpenedAppIcon.jpg}} Applications not opened (or "lazy loaded") are identified by the following icon. {{closedappicon.jpg|ClosedAppIcon.jpg}} {{notebox.jpg|NoteBox.jpg}} If you select an application to generate, and the application is not already opened, the Generate action will "lazy load" the application as described above. **Generate All** Generates source for all applications listed in the Applications Pad. Applications not marked as opened will be "lazy loaded" as described above. These "generate" buttons can also be found on the Main IDE Toolbar.