//This will actually write out the tag to the page.
//Thinking about this, instead of a Tag Item, maybe we should just use a Tag?
if (obj instanceof TagItem) {
TagItem tg = (TagItem)obj;
InsertTagAction eta = new InsertTagAction(tg.getTag(), this.getViewSite().getShell());
eta.run();
}
else if(obj instanceof FunctionItem){
FunctionItem fn = (FunctionItem)obj;
EditFunctionAction efa = new EditFunctionAction(fn.getFunction(), this.getViewSite().getShell());
efa.run();