com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links' is unknown.
Creating a New View
In Eclipse, a view is a workbench element that gives a user a specific view. A view object can be created and embedded into any section on the Eclipse workbench.
The Developer Studio Kernel plug-in samples contain a sample for creating a plug-in with a simple view.
- Create an Eclipse plug-in using the Developer Studio Kernel plug-in samples option with the
plug-in with a view
template. To integrate a new view to the workbench, Eclipse has an in-built extension point to which you can add the class you define in the view. In the
plugin.xml
file, define that extension point as follows:<extension point="org.eclipse.ui.views"> <category name="WSO2 View Category" id="org.wso2.developerstudio.eclipse.view.plugin.sample"> </category> <view name="WSO2 Complex View" icon="icons/sample.gif" category="org.wso2.developerstudio.eclipse.view.plugin.sample" class="org.wso2.developerstudio.eclipse.view.plugin.sample.views.ComplexView" id="org.wso2.developerstudio.eclipse.view.plugin.sample.views.SampleView"> </view> </extension>
- The class defining the view, mentioned in the extension point, should implement the
org.eclipse.ui.part.ViewPart
class where you can define all the part controls, action handlers and view elements. - Upon running the sample, click Window > Show View and you see the view listed as shown below,
 - Select the view and click OK. The view appears in the View pane,
Â
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.