A Perspective is an object which holds the layout for your docking views. Basically a Perspective is a group of views (Dockables) laid out according to a task. Examples of applications with perspectives are Eclipse or NetBeans.

To support perspectives JYDocking provides the IPerspectiveFactory interface with the method #getPerspective(String id). This method has to return a Perspective instance for your views.

All relevant lines are highlighted. Press Run... button to start the example.