Bug 325206 - RAP: Deal with notes view
Summary: RAP: Deal with notes view
Status: CLOSED MOVED
Alias: None
Product: MAT
Classification: Tools
Component: GUI (show other bugs)
Version: 1.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 262603
  Show dependency tree
 
Reported: 2010-09-14 04:37 EDT by Andrew Johnson CLA
Modified: 2024-05-08 14:37 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.
Comment 2 Eclipse Webmaster CLA 2024-05-08 14:37:33 EDT
This issue has been migrated to https://github.com/eclipse-mat/org.eclipse.mat/issues/11.