Show ImageDecorator.java syntax highlighted
package org.integratedmodelling.thinkcap.widget;
/**
* Interface for a "transformation" that takes a displayed item (usually some simple text) and applies the
* implemented interface element to it, such as a link from a specified template, a pop-up menu on right
* click, an image, a tabular display etc. In most cases it will be initialized with templates or parameters
* so that it can apply the same transformation to different items
*
* @author Ferdinando Villa
*
*/
public class ImageDecorator {
/**
* Create the expected decoration to the item in the passed string.
*
* @param item the display item being decorated
* @param ID the ID of the item, if necessary
* @return
*/
public String getItem(String item, String ID) {
String ret = "";
return ret;
}
}
See more files for this project here