Module 8: Creating a custom menu for a custom view
This module teaches you how to create a custom menu for a custom view.
Note: This module assumes that you have completed Modules
5-7. You are using the Eclipse plug-in project that you created in
those exercises as the foundation for this module.
Learning objectives
After completing the lessons in this module, you should be able to:- Modify an existing Eclipse plug-in project
- Create and modify Java™ classes that handle the plug-in enhancement
- Run or debug the plug-in project
Time required
This module should take approximately 30 minutes to complete.Prerequisites
To successfully complete the lessons in this Module, you should have:- Successfully completed Exercise 5, Exercise 6, and Exercise 7
- Lesson 1: Create the CustomOpenActionGroup Java class
This lesson guides you through the steps of creating the Java class that is needed to handle the customized open menu. - Lesson 2: Create the CustomMainActionGroup Java class
This lesson guides you through the steps to create aCustomMainActionGroup
class. This class emulates the functionality of the CARMA defaultMainActionGroup
class. However, instead of using the defaultOpenActionGroup
, theCustomMainActionGroup
class that you create uses theCustomOpenActionGroup
class that you created . - Lesson 3: Adding the custom menu to the CARMADeveloperView
This brief lesson walks you through adding the custom menu you created, to theCARMADeveloperView
. You do this by overriding thecreateAction
method. - Summary: Module 8
You have modified the Eclipse plug-in project from Module 5-7 to add a custom menu.