MultiView API MultiView SPI MultiView Text SPI Add/Remove MultiView elements to an existing MultiView TopComponent at runtime. It is possible to add/remove multiview elements at runtime. MultiView TopComponent spliting Should a MultiViewElement allow spliting? Some applications may need that, some don't. There is a branding API to control such behavior now. Validate icons A code specifying icon that does not exist may no longer compile. The processor for MultiViewElement.Registration now checks validity of provided iconBase (not on JDK6 due to bug in javac). Also the attribute was made optional. Tab switching action in popup Toolbar can be hidden completely. To compensate that new tab switching action is available in popup of multi view components by default. MultiViewEditorElement Common support class for integrating multi view and text infrastructure. MultiViews.create for MIME type New factory methods to create multiview components for a given mime type. @MultiViewElement.Registration Declarative way to register MultiViewElement via Registration annotation. Added marker interface SourceViewMarker to identify elements with sourcecode. Adding a marker interface for MultiViewDescription instances that allows to identify them as containing source code. The associated MultiViewElement's visual representation is assumed to implement CloneableEditorSupport.Pane interface. Added factory methods to create multiview component Additional factory methods to MultiViewFactory added: createCloneableMultiView() The existing createMultiView() is now guaranteed not to return CloneableTopComponent instance. Please note that editors can only be embedded in cloneanle multiview component. Change History for the MultiView API/SPI

Introduction

This document lists changes made to the MultiView API/SPI.



@FOOTER@