This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 239088 - Support for dynamic view elements
Summary: Support for dynamic view elements
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 8.0
Hardware: All All
: P2 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords: API, API_REVIEW_FAST
Depends on:
Blocks: 239425 238977
  Show dependency tree
 
Reported: 2013-12-03 15:40 UTC by Martin Entlicher
Modified: 2013-12-18 02:59 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
API changes (11.62 KB, application/xml)
2013-12-05 10:47 UTC, Stanislav Aubrecht
Details
The whole patch (11.17 KB, patch)
2013-12-05 10:48 UTC, Stanislav Aubrecht
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2013-12-03 15:40:03 UTC
In order to resolve issue #238977, the most usable approach, I think, would be to have a possibility to create a view with a "runtime" JavaScript source on demand, next to the current "Source" view.
That means that for a particular file, we need be able to add, at some moment, another view and remove it when it's not necessary.
I did not find a way how to achieve this with the current multiview APIs.
We'd need a way how to add/remove a MultiViewDescription implementation for a particular file, or have some "dynamic" version of MultiViewDescription, that would be able to show/hide itself on a particular file.
Comment 1 Stanislav Aubrecht 2013-12-05 10:47:42 UTC
Created attachment 142856 [details]
API changes
Comment 2 Stanislav Aubrecht 2013-12-05 10:48:40 UTC
Created attachment 142857 [details]
The whole patch
Comment 3 Stanislav Aubrecht 2013-12-11 09:26:00 UTC
I'll integrate the changes tomorrow.
Comment 4 Stanislav Aubrecht 2013-12-12 13:53:48 UTC
core-main 03550294bb93
Comment 5 Quality Engineering 2013-12-18 02:59:11 UTC
Integrated into 'main-silver', will be available in build *201312180002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/03550294bb93
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #239088 - add/remove multiview elements at runtime