Code Search for Developers
 
 
  

ThinkcapMain.java from ThinkCap Collaborative Knowledge Portal at Krugle


Show ThinkcapMain.java syntax highlighted

package org.integratedmodelling.thinkcap.basecommands;

import org.integratedmodelling.thinkcap.ThinkcapAction;
import org.integratedmodelling.thinkcap.ThinkcapAnswer;
import org.integratedmodelling.thinkcap.ThinkcapCommand;
import org.integratedmodelling.thinklab.command.CommandDeclaration;
import org.integratedmodelling.thinklab.command.CommandPattern;
import org.integratedmodelling.thinklab.exception.ThinklabException;
import org.integratedmodelling.thinklab.interfaces.IAction;

public class ThinkcapMain extends CommandPattern {

	class ThinkcapMainAction extends ThinkcapAction {

		@Override
		public void execute(ThinkcapCommand command, ThinkcapAnswer value) throws ThinklabException {
			value.setOutputTemplate("main");
		}
		
	}

	@Override
	public CommandDeclaration createCommand() {
		return new CommandDeclaration("ThinkCap", "");
	}

	@Override
	public IAction createAction() {
		return new ThinkcapMainAction();
	}

}




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

  StreamResource.java
  StreamTemplate.java
  ThinkcapMain.java