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.
Summary: | Add support for drag-and-drop | ||
---|---|---|---|
Product: | debugger | Reporter: | Martin Entlicher <mentlicher> |
Component: | Code | Assignee: | Martin Entlicher <mentlicher> |
Status: | CLOSED FIXED | ||
Severity: | normal | CC: | apireviews |
Priority: | P2 | Keywords: | API, API_REVIEW_FAST |
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 178079, 44575, 48234 | ||
Attachments: |
Added ability to define allowed drop actions based on the transferable.
Introduce DnDNodeModel and DnDNodeModelFilter DnDNodeModel DnDNodeModelFilter |
Description
Martin Entlicher
2009-11-24 06:35:14 UTC
Created attachment 91768 [details]
Added ability to define allowed drop actions based on the transferable.
Created attachment 91769 [details]
Introduce DnDNodeModel and DnDNodeModelFilter
Please review API support for DnD in Viewmodel module. It allows to implement DnD of debugger watches. I've added the ability to define allowed drop actions based on the transferable into OutlineView - that enables us to set the DnD action resonably (to COPY when DnD expression from Editor and to MOVE when moving watches inside of the view). DnDNodeModel and DnDNodeModelFilter are to be implemented by clients to implement DnD (e.g. by watches model). Thanks for the review, I'll push the change tomorrow. Y01 I cannot find a single @since tag. Am I blind or there is really no new method in a publicly visible API? Created attachment 92096 [details]
DnDNodeModel
Created attachment 92097 [details]
DnDNodeModelFilter
Oops, I did not noticed that the attached diff does not contain the two new interfaces - DnDNodeModel and DnDNodeModelFilter. hg diff does not print ? <file> for new files unlike CVS did. :-( The interfaces contain the @since tag. API for DnD was added into the viewmodel in several changesets: changeset: 155331:dbacc127b442 changeset: 155332:192c670c9566 changeset: 155334:000ddd04ed49 changeset: 155335:dd53541c1de8 changeset: 155336:346ef154cdea Integrated into 'main-golden', will be available in build *200912070253* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/dbacc127b442 User: mentlicher@netbeans.org Log: #177506 - Support for Drag and Drop added. v/c |