Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [nebula-dev] Fwd: [Bug 262846] New: "TokenViewer" API

I thought about Nebula right from the start. But - I began this because I was irritated with the lack of CA in path entries in the core IDE. I.e. when you need to use browse in things like create/apply patch, etc. So I wonder if it can be considered useful enough to be in JFace - then I could try to create patches for some UI elements to use this API.

Best regards,
Eugene

On 29 Січ 2009, at 19:12, Chris Aniszczyk wrote:

The Nebula team may be interested in this potentially.

---------- Forwarded message ----------
From: <bugzilla-daemon@xxxxxxxxxxx>
Date: Wed, Jan 28, 2009 at 4:54 PM
Subject: [Bug 262846] New: "TokenViewer" API
To: zx@xxxxxxxxxxxxxxxxx


https://bugs.eclipse.org/bugs/show_bug.cgi?id=262846
Product/Component: Platform / UI
          Summary: "TokenViewer" API
          Product: Platform
          Version: 3.5
         Platform: PC
              URL: http://eclipseblog.ostroukhovs.com/2009/01/29/tokenviewe
                   r-basics/
       OS/Version: Mac OS X
           Status: NEW
         Severity: enhancement
         Priority: P3
        Component: UI
       AssignedTo: Platform-UI-Inbox@xxxxxxxxxxx
       ReportedBy: eugene@xxxxxxxxxxxx


I created a new JFace viewer that has API similar to TreeViewer. It is a text
field with content assist support. Usage example:
TokenViewer tokenViewer = new TokenViewer(root);
tokenViewer.setContentProvider(new BaseWorkbenchContentProvider());
tokenViewer.setLabelProvider(new WorkbenchLabelProvider());
tokenViewer.setInput(workspaceRoot);

This will create a text field for entering workspace path (you can see such
fields all over IDE). The viewer also has more advanced API for more complex
tasks. I provided a more detailed overview here -
http://eclipseblog.ostroukhovs.com/2009/01/29/tokenviewer-basics/

I opened this enhancement request for following reasons:
1. I can contribute this code if it is considered useful. I will maintain
(enhancements and bugfixes) it at least through one Eclipse release cycle.
2. I would need more requirements. Simple "can I create a field that shows X
and does Y?" would be enough.


--
Configure bugmail: https://bugs.eclipse.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

_______________________________________________
nebula-dev mailing list
nebula-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/nebula-dev


Back to the top