Use like eg:
PackageResource IMG_UNKNOWN = PackageResource.get(EditPage.class, "questionmark.gif");where the static resource references image 'questionmark.gif' from the the package that EditPage is in to get a package resource. @author Jonathan Locke @author Eelco Hillenius
Use like eg:
MyPackageResource IMG_UNKNOWN = new MyPackageResource(EditPage.class, "questionmark.gif");where the static resource references image 'questionmark.gif' from the the package that EditPage is in to get a package resource. Access to resources can be granted or denied via a {@link IPackageResourceGuard}. Please see {@link IResourceSettings#getPackageResourceGuard()} as well. @author Jonathan Locke @author Eelco Hillenius @author Juergen Donnerstag @author Matej Knopp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|