1 23 24 package org.infoglue.cms.applications.contenttool.actions; 25 26 import org.infoglue.cms.controllers.kernel.impl.simple.SiteNodeController; 27 28 29 33 34 public class ViewStructureRelationEditorAction extends ViewRelationEditorAction 35 { 36 private static final long serialVersionUID = 1L; 37 38 41 42 public ViewStructureRelationEditorAction() 43 { 44 this.currentAction = "ViewStructureRelationEditor.action"; 45 this.changeRepositoryAction = "ViewStructureRelationEditor!changeRepository.action"; 46 this.currentEntity = "SiteNode"; 47 this.currentEntityIdentifyer = "siteNodeId"; 48 } 49 50 53 54 public String getQualifyerPath(String entityId) 55 { 56 try 57 { 58 return SiteNodeController.getSiteNodeVOWithId(new Integer (entityId)).getName(); 59 } 60 catch(Exception e) 61 { 62 e.printStackTrace(); 63 } 64 return ""; 65 } 66 67 } 68 | Popular Tags |