portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jf...@apache.org
Subject cvs commit: jakarta-jetspeed-2/taglibs/treecontrol/src/java/org/apache/jetspeed/portlets/tags PortletTreeControlTag.java
Date Thu, 02 Sep 2004 15:15:33 GMT
jford       2004/09/02 08:15:33

  Modified:    taglibs/treecontrol/src/java/org/apache/jetspeed/portlets/tags
                        PortletTreeControlTag.java
  Log:
  Added static image names to prevent modification of parent classes.
  
  Revision  Changes    Path
  1.3       +13 -0     jakarta-jetspeed-2/taglibs/treecontrol/src/java/org/apache/jetspeed/portlets/tags/PortletTreeControlTag.java
  
  Index: PortletTreeControlTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/taglibs/treecontrol/src/java/org/apache/jetspeed/portlets/tags/PortletTreeControlTag.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- PortletTreeControlTag.java	2 Sep 2004 15:13:32 -0000	1.2
  +++ PortletTreeControlTag.java	2 Sep 2004 15:15:33 -0000	1.3
  @@ -38,6 +38,19 @@
       private static final String PORTLET_REQUEST = "portlet_request";
       private static final String PORTLET_SESSION = "portlet_session";
       
  +    /**
  +     * The names of tree state images that we need.
  +     * 
  +     * Copied from parent
  +     */
  +    static final String IMAGE_HANDLE_DOWN_LAST =    "handledownlast.gif";
  +    static final String IMAGE_HANDLE_DOWN_MIDDLE =  "handledownmiddle.gif";
  +    static final String IMAGE_HANDLE_RIGHT_LAST =   "handlerightlast.gif";
  +    static final String IMAGE_HANDLE_RIGHT_MIDDLE = "handlerightmiddle.gif";
  +    static final String IMAGE_LINE_LAST =           "linelastnode.gif";
  +    static final String IMAGE_LINE_MIDDLE =         "linemiddlenode.gif";
  +    static final String IMAGE_LINE_VERTICAL =       "linevertical.gif";
  +    
       public void setScope(String scope) {
           if (!PORTLET_REQUEST.equals(scope) &&
               !PORTLET_SESSION.equals(scope)
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message