Jump to: navigation, search

Difference between revisions of "Examples/Image Utilities"

(New page: The ImageUtils example contains views and other components that add support for previewing and manipulating images (though currently only preview is provided). =Image Preview view= The i...)
 
 
(3 intermediate revisions by 2 users not shown)
Line 20: Line 20:
 
of selected objects can contribute images by providing their additional
 
of selected objects can contribute images by providing their additional
 
plug-ins similar to this one.
 
plug-ins similar to this one.
 +
 +
=Set up=
 +
 +
The source code is available through the
 +
Eclipse Git server: http://git.eclipse.org/c/examples/org.eclipse.examples.imageutils.git/

Latest revision as of 12:04, 21 April 2013

The ImageUtils example contains views and other components that add support for previewing and manipulating images (though currently only preview is provided).

Image Preview view

The image viewer plug-ins, curiously enough, displays an image derived from the current selection in the Eclipse workbench. The image below shows the image viewer in action.

Image-viewer.png

In this example, the contents of the image file selected in the Package Explorer is displayed. The plug-in is designed to be to display images for arbitrary selections. In fact, the image viewer is actually two plug-ins. The base plug-in, org.eclipse.examples.imageutils.viewer.ui, provides the view and the basic infrastructure required to display the image. The other plug-in, org.eclipse.examples.imagesutils.viewer.files, contains code that provides an image for a selected file. Other types of selected objects can contribute images by providing their additional plug-ins similar to this one.

Set up

The source code is available through the Eclipse Git server: http://git.eclipse.org/c/examples/org.eclipse.examples.imageutils.git/