1 9 package org.jboss.portal.portlet.tck; 10 11 import org.jboss.portal.server.Application; 12 import org.jboss.portal.server.Component; 13 import org.jboss.portal.server.Portal; 14 import org.jboss.portal.server.deployment.SimpleConfigurator; 15 16 23 public class TCKConfigurator extends SimpleConfigurator 24 { 25 26 protected String getWindowName(Portal portal, Component component) 27 { 28 Application application = component.getApplication(); 29 String portalName = portal.getName(); 30 String applicationName = application.getName(); 31 String componentName = component.getName(); 32 return applicationName + "/" + componentName; 33 } 34 35 } 36 | Popular Tags |