dsphinx / gwtquery-plugins

Automatically exported from code.google.com/p/gwtquery-plugins
0 stars 0 forks source link

visibility problem when extending classes that have an inner class #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Any usage.

[ERROR] Errors in 
/workspace/gquery-dnd-bundle-1.0.3.jar!/gwtquery/plugins/droppable/client/gwt/Dr
agAndDropCellBrowser.java'
         [ERROR] Line 66: The type BrowserCellList is not visible
         [ERROR] Line 172: The type CellBrowser.BrowserCellList<T> is not visible
         [ERROR] Line 181: The type CellBrowser.BrowserCellList<T> is not visible
         [ERROR] Line 198: The type CellBrowser.BrowserCellList<T> is not visible
         [ERROR] Line 220: The method getDefaultResources() from the type CellBrowser is not visible

3) Using GWT 2.3 and gquery-dnd-bundle-1.0.4.jar 
Sample above shows compile output using 1.0.3.jar. It's the same. I was just 
checking to see if the implementation was any difference

The issue seems to be that DragAndDropCellBrowser extends CellBrowser. However 
it also needs to extend the internal BrowserCellList class definition. 
Unfortunately this class definition has default visibility, so it can not be 
seen by DragAndDropCellBrowser. 

However, there must be something that I'm doing wrong, because the CellBrowser 
and inner class BrowserCellList structure had the same level of visibility in 
previous versions of GWT and the drag/drop examples work. Please Help!

Original issue reported on code.google.com by cone...@gmail.com on 8 Sep 2011 at 7:22

GoogleCodeExporter commented 8 years ago
You have to ensure that the gquery-dnd-bundle.jar are set before the gwt jar 
files in the compilation classpath. 

Original comment by julien.d...@gmail.com on 9 Sep 2011 at 9:10

GoogleCodeExporter commented 8 years ago

Original comment by julien.d...@gmail.com on 24 Oct 2011 at 9:25