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 64216 - api review for new drag and drop support in component palette
Summary: api review for new drag and drop support in component palette
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Palette (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords: API_REVIEW_FAST
Depends on:
Blocks: 63514
  Show dependency tree
 
Reported: 2005-09-13 10:33 UTC by Stanislav Aubrecht
Modified: 2008-12-22 16:51 UTC (History)
5 users (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stanislav Aubrecht 2005-09-13 10:33:43 UTC
please review changes made to class org.netbeans.spi.palette.DragAndDropHandler
in module core/palette.

the new methods provide default implementation of drag and drop operations when
an item is dragged from editor to palette and drag and drop operations withing
the palette window (reordering of categories and items).

diff patches of proposed changes are attached to issue #63514
Comment 1 Jaroslav Tulach 2005-09-18 12:53:49 UTC
Tests? Putting default impl into superclass is often very fragile, so please 
test the behaviour of the defaults by some tests. 
Comment 2 Stanislav Aubrecht 2005-09-21 10:53:07 UTC
if there are no objections i'm going to add some unit tests and integrate this
issue by the end of this week.
Comment 3 Stanislav Aubrecht 2005-09-23 16:53:38 UTC
integrated

Checking in api/doc/changes/apichanges.xml;
/cvs/core/palette/api/doc/changes/apichanges.xml,v  <--  apichanges.xml
new revision: 1.8; previous revision: 1.7
done
Checking in src/org/netbeans/modules/palette/Category.java;
/cvs/core/palette/src/org/netbeans/modules/palette/Category.java,v  <-- 
Category.java
new revision: 1.4; previous revision: 1.3
done
Checking in src/org/netbeans/modules/palette/DefaultCategory.java;
/cvs/core/palette/src/org/netbeans/modules/palette/DefaultCategory.java,v  <-- 
DefaultCategory.java
new revision: 1.8; previous revision: 1.7
done
Checking in src/org/netbeans/modules/palette/DefaultModel.java;
/cvs/core/palette/src/org/netbeans/modules/palette/DefaultModel.java,v  <-- 
DefaultModel.java
new revision: 1.6; previous revision: 1.5
done
Checking in src/org/netbeans/modules/palette/Model.java;
/cvs/core/palette/src/org/netbeans/modules/palette/Model.java,v  <--  Model.java
new revision: 1.4; previous revision: 1.3
done
Checking in test/unit/src/org/netbeans/spi/palette/CategoryTest.java;
/cvs/core/palette/test/unit/src/org/netbeans/spi/palette/CategoryTest.java,v 
<--  CategoryTest.java
new revision: 1.3; previous revision: 1.2
done
RCS file:
/cvs/core/palette/test/unit/src/org/netbeans/spi/palette/DragAndDropHandlerTest.java,v
done
Checking in test/unit/src/org/netbeans/spi/palette/DragAndDropHandlerTest.java;
/cvs/core/palette/test/unit/src/org/netbeans/spi/palette/DragAndDropHandlerTest.java,v
 <--  DragAndDropHandlerTest.java
initial revision: 1.1
done
Checking in test/unit/src/org/netbeans/spi/palette/ProxyModel.java;
/cvs/core/palette/test/unit/src/org/netbeans/spi/palette/ProxyModel.java,v  <--
 ProxyModel.java
new revision: 1.3; previous revision: 1.2
done
Checking in src/org/netbeans/modules/palette/ui/DnDSupport.java;
/cvs/core/palette/src/org/netbeans/modules/palette/ui/DnDSupport.java,v  <-- 
DnDSupport.java
new revision: 1.4; previous revision: 1.3
done
Checking in src/org/netbeans/spi/palette/DragAndDropHandler.java;
/cvs/core/palette/src/org/netbeans/spi/palette/DragAndDropHandler.java,v  <-- 
DragAndDropHandler.java
new revision: 1.2; previous revision: 1.1
done
Checking in src/org/netbeans/spi/palette/PaletteFactory.java;
/cvs/core/palette/src/org/netbeans/spi/palette/PaletteFactory.java,v  <-- 
PaletteFactory.java
new revision: 1.4; previous revision: 1.3
done