CLI IDE Menu Bar

The menu bar in the CLI IDE has multiple functions, some of which depend upon the entity selected either in the command browser or prompt browser.

 

CLI IDE Menu Bar

Figure CLI IDE 16: The CLI IDE menu bar, which has multiple functions under each menu.

 

Read about the menu bar functionality by clicking these links:

 

  1. File
     

     

     

    Load Project: Loads/Reloads the project files.       

        

    Reload CLIs: Reloads CLI command tree from the CLI XML files.

           

    Reload PDPs: Reloads PDP object information from PDP resource files.

           

    Import CDL: Imports commands defined in an ASCII text file into the project.

          

    Save: Saves changes made to the project.

          

    Exit: Exits the IDE application.

  2. Edit
     

  3. Actions
     

     

     

     

     

    • Add > Module: Add a new module through the Add Module (also known as Command Node) dialog; applies to Command Nodes only.
       

    • Add > Command: Add a new command through the Add Command dialog; applies to Command Nodes and Major Commands only.  
       

    • Add > Prompt: Add a new prompt definition through the Add Prompt dialog; applies to User Prompts only.
       

    • Edit: Edits a selected entity from the command tree or prompt browser; applies to all the command types, Chained Requests, Display Formats, NPGlobalPrompt and User Prompts.
       

    • Edit Help: Create the command help and documentation of the commands through the Edit External Help for Command or Edit External Help for Module dialog. The dialog opened depends upon the entity selected in the command tree.
       

    • Rename Command: Rename the command name through the Rename Command dialog.
       

    • Update Syntax: Update the commandparameters through the Update Syntax wizard; applies to Major Command and Command only.
       

    • Remove: Deletes the selected entity from the command tree or prompt browser; applies to all the commands and prompts.
       

    • Convert to Module: Convert a Major Command to a Module (Command Node).
       

    • Convert to Major Command: Convert a Command Node (Module) to a Major Command.

  4. Build
     

     

    Different levels of Build can be configured through the IDE menu bar:
     

    1. KNP-Linux Build:


       

    1. install: It installs the binaries to the target.
       

    2. xconfig: It calls the make xconfig for npblox and allows to configure the features of npblox for the project.
       

    3. clean:  Cleans up the files created during the all option.
       

    4. all: Builds binaries from the source.

       

    1. NP-BloX Build:


       

    1. xconfig: It calls the make xconfig for npblox and allows to configure the features of npblox for the project.
       

    2. run: Starts the AimDaemon, KCLI, WEB,  and SNMPD through this option.
       

    3. install: It installs the binaries to the target.
       

    4. clean: Cleans up the files created during all.
       

    5. all: Builds binaries from the source.

       

    1. NP-Vertical Build:


    1. xconfig: It calls the make xconfig for npblox and allows to configure the features of npblox for the project.
       

    2. run: Starts the AimDaemon, KCLI, WEB,  and SNMPD through this option.
       

    3. install: Clicking on it installs the binaries to the target.
       

    4. clean: Cleans up the files created during all.
       

    5. all: Builds binaries from the source.


       

     

     

     

  5. Project 
     

     

    New Project: Opens the Create a New Project dialog, through which a new project is created. This will result in the IDE exiting an already opened project, if any.

              

    Properties: Opens the Properties for Default dialog, in which you can re-define the current project's properties.

  6. Tools 
     

  7. Window:
     

    1. Window > Show Perspective 
       

       

      Show Perspective > C/C++: Opens the C/C++ perspective in the NP BloX IDE.

          

      Show Perspective > PDP: Opens the PDP perspective of the IDE.

             

      Show Perspective > Web: Opens the Web perspective of the IDE.

             

      Show Perspective > Other: Opens the Select Perspective dialog having all the perspective options of the IDE. You can select any perspective from the given options (Figure CLI IDE 21).

       

       

    2. Window > Show View 
       

      • Show View > CLI Resource Navigator: Displays the CLI Resource Navigator in the left pane of the IDE. In this, you can view the directories and files of your project.
         

      • Show View > Command Browser: Displays the command tree in the left pane of the IDE.

             

      • Show View > External Help View: Displays the External Help pane in the CLI IDE.

             

      • Show View > Prompt Browser: Displays the prompt definitions comprising the global prompt and user prompts.

             

      • Show View > Summary View: Displays summary information of an entity selected in the command tree or prompt browser.
         

      • Other...: From the Show View dialog choose between Basic, CLI and PDP folders. In which you can select any of the available views (refer Figure CLI IDE 22).  

       

       

       

       

  8. Help

     

     

    • Contents and Index: Opens the NP BloX Developer Guide in a different browser. You can search for product and allied information in this online help.

           

    • About NP BloX IDE: Opens the About NP BloX IDE dialog having version, build, copyright, company and support details. Further, there are buttons of Feature Details, Plug-in Details and Configuration Details, a click on which open their respective windows.

     

          

 

Related Topics