Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 325206

Summary: RAP: Deal with notes view
Product: [Tools] MAT Reporter: Andrew Johnson <andrew_johnson>
Component: GUIAssignee: Project Inbox <mat.gui-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: 1.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 262603    

Description Andrew Johnson CLA 2010-09-14 04:37:30 EDT
From bug 262603
* Notes is currently completetly disabled as RAP does not support the Text
Framework yet. We should either try to minimize the dependency to the Text
Framework or put the notes view into a seperate bundle.

Another idea would be to display any existing notes file in read-only format.
Comment 1 Andrew Johnson CLA 2023-02-20 15:34:30 EST
For RAP we could just use the Text control, which can be R/W.
We could use fragments, for example:

org.eclipse.mat.ui.swt
Require-Capability: osgi.identity;filter:=(&(osgi.identity=org.eclipse.swt)(type=osgi.bundle))

with the current implementation of NotesView.java (and the org.eclipse.io.views extension), and

org.eclipse.mat.ui.rap
Require-Capability: osgi.identity;filter:=(&(osgi.identity=org.eclipse.rap.rwt)(type=osgi.bundle))

with a cut down version (and the org.eclipse.ui.views extension).

Another way
Require-Capability: org.eclipse.rap

Each fragment would only be loaded if the capability is there.
It might be possible to have a context menu if an object address is selected.