Code Search for Developers
 
 
  

ImageDecorator.java from ThinkCap Collaborative Knowledge Portal at Krugle


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

ThinkCap Collaborative Knowledge Portal

A portal to explore and edit the knowledge contained in a set of ontologies in intuitive ways. Presents a Dictionary view (a Google-like interface), a Thesaurus view (a graphical display with simplified relationships) and a full graphical Concept view.

Project homepage: http://sourceforge.net/projects/thinkcap
Programming language(s): Java,JavaScript,XML
License: other

  HtmlLink.java
  IItemDecorator.java
  IThinkcapWidget.java
  IWidgetPublisher.java
  ImageDecorator.java
  PopupMenu.java
  ThinkcapInputWidget.java
  ThinkcapWidgetManager.java