Revision: 6984 Author: [email protected] Date: Wed Nov 18 08:26:08 2009 Log: Reduce unnecessary public visibility, add javadoc.
Patch by: jat Review by: bobv http://code.google.com/p/google-web-toolkit/source/detail?r=6984 Modified: /trunk/dev/core/src/com/google/gwt/dev/SwingUI.java ======================================= --- /trunk/dev/core/src/com/google/gwt/dev/SwingUI.java Tue Nov 17 14:51:47 2009 +++ /trunk/dev/core/src/com/google/gwt/dev/SwingUI.java Wed Nov 18 08:26:08 2009 @@ -48,11 +48,17 @@ /** * Module handle for Swing UI. */ - public class SwingModuleHandle implements ModuleHandle { + protected class SwingModuleHandle implements ModuleHandle { private final TreeLogger logger; private final ModulePanel tab; + /** + * Create an immutable module handle. + * + * @param logger logger to use for this module + * @param tab the module panel associated with this instance + */ public SwingModuleHandle(TreeLogger logger, ModulePanel tab) { this.logger = logger; this.tab = tab; @@ -62,6 +68,9 @@ return logger; } + /** + * @return the ModulePanel associated with this module instance. + */ public ModulePanel getTab() { return tab; } @@ -70,7 +79,7 @@ /** * Interface to group activities related to adding and deleting tabs. */ - public interface TabPanelCollection { + protected interface TabPanelCollection { /** * Add a new tab containing a ModuleTabPanel. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
