Package org.eclipse.jface.resource

Examples of org.eclipse.jface.resource.ResourceManager.destroy()


            }
           
            // Deallocate the old image
            if (oldDescriptor != null) {
                // Dispose the image
                mgr.destroy(oldDescriptor);
            }
           
            // Remember the new image for next time
           
            oldDescriptor = newDescriptor;           
View Full Code Here


        public void dispose() {
            // Deallocate the old image
            if (oldDescriptor != null) {
                ResourceManager mgr = JFaceResources.getResources();
                // Dispose the image
                mgr.destroy(oldDescriptor);
                oldDescriptor = null;
            }               

        }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.