public class ClassPathExplorer extends Object
Used by WidgetMapGenerator and ide tools to implement some monkey coding for you.
Developer notice: If you end up reading this comment, I guess you have faced a sluggish performance of widget compilation or unreliable detection of components in your classpaths. The thing you might be able to do is to use annotation processing tool like apt to generate the needed information. Then either use that information in WidgetMapGenerator or create the appropriate monkey code for gwt directly in annotation processor and get rid of WidgetMapGenerator. Using annotation processor might be a good idea when dropping Java 1.5 support (integrated to javac in 6).
| Modifier and Type | Class and Description |
|---|---|
static class |
ClassPathExplorer.LocationInfo
Contains information about widgetsets and themes found on the classpath
|
| Modifier and Type | Method and Description |
|---|---|
static Map<String,URL> |
getAvailableWidgetSets(Map<String,URL> classpathLocations)
Finds the names and locations of widgetsets available on the class path.
|
static ClassPathExplorer.LocationInfo |
getAvailableWidgetSetsAndStylesheets(Map<String,URL> classpathLocations)
Finds the names and locations of widgetsets and themes available on the
class path.
|
static URL |
getDefaultSourceDirectory(List<String> classpathEntries)
Find and return the default source directory where to create new
widgetsets.
|
public static Map<String,URL> getAvailableWidgetSets(Map<String,URL> classpathLocations)
classpathLocations - public static ClassPathExplorer.LocationInfo getAvailableWidgetSetsAndStylesheets(Map<String,URL> classpathLocations)
classpathLocations - public static URL getDefaultSourceDirectory(List<String> classpathEntries)
classpathEntries - Copyright © 2015. All rights reserved.