Author: dazarov
Date: 2007-10-15 11:05:23 -0400 (Mon, 15 Oct 2007)
New Revision: 4192
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.ui.palette/src/org/jboss/tools/vpe/ui/palette/PaletteAdapter.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-571
removed line: viewer.setContextMenu(new PaletteContextMenuProvider(viewer));
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.ui.palette/src/org/jboss/tools/vpe/ui/palette/PaletteAdapter.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe.ui.palette/src/org/jboss/tools/vpe/ui/palette/PaletteAdapter.java 2007-10-15
14:24:46 UTC (rev 4191)
+++
trunk/vpe/plugins/org.jboss.tools.vpe.ui.palette/src/org/jboss/tools/vpe/ui/palette/PaletteAdapter.java 2007-10-15
15:05:23 UTC (rev 4192)
@@ -53,7 +53,7 @@
model = PaletteModel.getInstance(paletteContents);
viewer = new PaletteViewer(viewPart);
palette = viewer.createControl(root);
- viewer.setContextMenu(new PaletteContextMenuProvider(viewer));
+
viewer.setPaletteViewerPreferences(new PaletteViewerPreferences());
PaletteRoot paletteRoot = model.getPaletteRoot();
viewer.setPaletteRoot(paletteRoot);