Examples of ScaledImageDescriptor


Examples of org.springframework.ide.eclipse.config.graph.ScaledImageDescriptor

  private static ImageDescriptor scale(ImageDescriptor descriptor, double scale) {
    String key = "" + descriptor.hashCode(); //$NON-NLS-1$
    key += new Double(scale).hashCode();
    ImageDescriptor cache = getImageRegistry().getDescriptor(key);
    if (cache == null) {
      cache = new ScaledImageDescriptor(descriptor, scale);
      getImageRegistry().put(key, cache);
    }
    return cache;
  }
View Full Code Here

Examples of org.springframework.ide.eclipse.config.graph.ScaledImageDescriptor

  private static ImageDescriptor scale(ImageDescriptor descriptor, double scale) {
    String key = "" + descriptor.hashCode(); //$NON-NLS-1$
    key += new Double(scale).hashCode();
    ImageDescriptor cache = getImageRegistry().getDescriptor(key);
    if (cache == null) {
      cache = new ScaledImageDescriptor(descriptor, scale);
      getImageRegistry().put(key, cache);
    }
    return cache;
  }
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.