Create a pattern

This tutorial shows you the steps used to create a design pattern. You can watch the pattern being created, modified, tested, and deployed as a plug-in. Or, you can follow the instructions and create your own pattern. If you are not familiar with patterns, you can learn about applying patterns by completing the related pattern cheat sheets or the Apply a pattern tutorial. You can access cheat sheets and the Tutorials Gallery from the Help menu.

Pattern authors should have a basic knowledge of Java code. Because patterns are created as plug-ins, a basic knowledge of plug-in development is beneficial.

After you complete this tour, you should know how to perform the following tasks needed to create a pattern:

  • Select the perspectives and views needed to create, test, and apply a pattern.
  • Set up the projects to create and test the pattern.
  • Use the Pattern Authoring view to create the basic pattern structure.
  • Establish dependencies between pattern parameters.
  • Modify the update and expand type of hot-spots provided for the pattern author.
  • Use the the run-time instantiation to debug the pattern.

This tutorial plays in a video format, which you can operate through playback controls. You can pause, advance, or reverse the tutorial at any time by using the controls on the control bar.

20 minutes

   Start the tutorial