Code Search for Developers
 
 
  

HtmlLink.java from ThinkCap Collaborative Knowledge Portal at Krugle


Show HtmlLink.java syntax highlighted

package org.integratedmodelling.thinkcap.widget;

import org.integratedmodelling.thinkcap.PageSpecs;

public class HtmlLink implements IItemDecorator {

	private String targetID = null;
	private String linkTemplate = null;


	/**
	 * Create the link according to the passed template. @ID@ and @LINK@ in the template string are substituted
	 * by the specific link parameters given.
	 * 
	 * @param linkTemplate
	 */
	public HtmlLink(String linkTemplate) {
		this.linkTemplate = linkTemplate;
	}

	/**
	 * Create the link according to the passed template and direct the output of following it to
	 * the element identified by the targetID.
	 * @param linkTemplate
	 * @param targetID
	 */
	public HtmlLink(String linkTemplate, String targetID) {
		this.linkTemplate = linkTemplate;
		this.targetID = targetID;
	}
	
	
	public String getItem(String item, String ID, PageSpecs pageSpecs) {
		// TODO Auto-generated method stub
		return null;
	}

}




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