Application Launcher Plugin

The App Launcher plug-in provides the ability to launch any application within MPLAB® X IDE. The App Launcher contains default applications but you can configure any number of applications. Find this plugin at:

http://www.embeddedcodesource.com/codesnippet/app-launcher-plugin

Launching the App Launcher Plug-in

First, install the App Launcher plug-in under MPLAB X IDE. See MPLAB X IDE Plug-ins for installation instructions.

Then, navigate to Tools>Embedded>App Launcher to open the App Launcher. The App Launcher opens in a tabbed window in MPLAB X IDE.

On Windows® systems, the App Launcher window contains several default applications, i.e., MPLAB IPE, Notepad, MS-Paint, and Calculator. On Linux® and Mac OS® systems, the launcher is pre-populated with only the MPLAB IPE.

FIgure 1: App Launcher Main Window

BasicContents.gif

Using the Application Manager

You can configure any number of applications in the App Launcher. Begin by right-clicking anywhere on the App Launcher window to display the App Launcher Configuration button. Click on this button to proceed.

Figure 2: Accessing the Application Manager

AppLaunchConfigbutton.gif

The App Launcher Configuration window opens. Expand the "Basic" folder to display the default applications. The window also contains options for configuring applications and categories.

Figure 3: App Launcher Configuration Window

AppLauncherConfig.gif

Adding and Deleting Applications

To add an application, click Add App (see Figure 3). The Add new application window opens for you to select a category from a list, browse for an application (.exe file), browse for an optional icon (.png file), and edit an application name. Click Add when done.

Figure 4: Add New Application Dialog

AddNewAppBasic.gif

Figure 5: Adding the Beyond Compare (BC2) Application

AddNewAppExample.gif

The application is added under the category selected. You may need to expand the category to see the new application.

Figure 6: Displaying New Application in App Launcher Configuration Window

AppLaunchConfigCircled.gif

New applications are added to both the App Launcher Configuration and the App Launcher windows.

Figure 7: Displaying New Application in App Launcher Window

AppLauncherEditorAdded.gif

To remove an application, select the application and click Delete App.

Figure 8: Deleting an Application

AppLaunchConfigDeleteApp.gif

Importing and Exporting Settings

You can import and export all App Launcher settings (applications and categories) via a .zip file.

  • To import the settings from an existing .zip file, click Import in the App Launcher Configuration window. A browser window opens for you to select the file you wish to import. When you import a file, all existing files in the App Launcher Configuration window (applications and categories) will be replaced.
  • To export the settings, click Export in the App Launcher Configuration window. A browser window opens for you to specify a file to save. Type in a file name. Leave the default file type as .zip files. Click Save. A .zip file will be saved with all the App Launcher settings.

Figure 9: Importing and Exporting Settings

AppLaunchConfigImExport.gif

Adding and Deleting Categories

To add a new category, click Add Category to display the New Category dialog. Type in a name for the new category.

Figure 10: New Category Dialog

NewCategoryDialog.gif

Figure 11: New Category Added

AppLaunchConfigDemo.gif

To remove a category, select the category and click Delete Category.

Figure 12: Deleting a Category

AppLaunchConfigDelCat.gif

Resetting the App Launcher Configuration

To reset the App Launcher Configuration applications and categories to the default settings, click Reset. The App Launcher Configuration window reverts back to the default items. Figure 13 and 14 are views of before and after a reset.

Figure 13: Example View Before Reset

AppLaunchConfigReset.gif

Figure 14: View After Reset

AppLauncherConfig.gif

Closing the App Launcher Configuration Window

When you are finished configuring the App Launcher with applications and categories, click Close to close the App Launcher Configuration window. All the applications and categories are saved and are available in the App Launcher window the next time it is opened.

Launching an Application

Applications can be launched from the App Launcher window by double-clicking the application. Expand the category folders to see all the applications.

Loading the App Launcher

Upon launching the MPLAB X IDE, the App Launcher window is loaded with the saved applications as shown in the example below. Expand the category folders to see all the applications.

Figure 15: App Launcher with Saved Apps

LoadedAppLauncher.gif
© 2017 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.