To facilitate the usage, you should setFocus to the canvas at the beginning, and call the dispose at the end.
@author Chengdong Li: cli4@uky.edu @see uky.article.imageviewer.SWTImageCanvas @author György Orosz
48495051525354555657
* @param dotFile * .dot file which is displayed */ static public void showDotImage(final Image img, final String title, final String secondaryID, final File dotFile) { final GraphImageView view = (GraphImageView) showView(GRAPH_VIEW, secondaryID); view.setViewTitle(title); view.setImage(img); view.setDotFile(dotFile); }