protected void editTag(Object obj){
if(obj instanceof TagItem){
Tag tg = ((TagItem)obj).getTag();
EditCustomTagAction ecta = new EditCustomTagAction(tg, this.getViewSite().getShell());
ecta.run();
}
else if (obj == null){
EditCustomTagAction ecta = new EditCustomTagAction(this.getViewSite().getShell());
ecta.run();
}