-
Notifications
You must be signed in to change notification settings - Fork 5
SWT Resource management in GumTree_134840709
nxi edited this page Apr 9, 2015
·
1 revision
Created by Tony Lam, last modified on Apr 29, 2010
Managed by the GumTree Platform:
Managed locally by SWT control:
// Get default bold font UIResources.getDefaultFont(SWT.BOLD); // Get cursor UIResources.getCursor(SWT.CURSOR_HAND);
// Create a default font with size 10 and bold style resourceManager.createDefaultFont(10, SWT.BOLD); // Create a default font with relative size 10 (+10 on default size) and bold style resourceManager.createRelativeFont(UIResources.getDefaultFont(), 10, SWT.BOLD); // Create an image within the plugin resourceManager.createImage("icons/something.png"); // Create red colour resourceManager.createColor(255, 0, 0);
Document generated by Confluence on Apr 01, 2015 00:11
Home | Developer Guide | Copyright © 2013 ANSTO