Examples of ThemeResource


Examples of org.apache.roller.weblogger.pojos.ThemeResource

                // if we have 2 files then just go by name
                return r1.getPath().compareTo(r2.getPath());
            }
        }
        public boolean equals(Object o1, Object o2) {
            ThemeResource r1 = (ThemeResource)o1;
            ThemeResource r2 = (ThemeResource)o2;
           
            // need to be same type to be equals, i.e both files or directories
            if((r1.isDirectory() && !r2.isDirectory()) ||
                    (r1.isFile() && !r2.isFile())) {
                return false;
            }
           
            // after that it's just a matter of comparing paths
            return r1.getPath().equals(r2.getPath());
        }
View Full Code Here

Examples of org.apache.roller.weblogger.pojos.ThemeResource

    public ThemeResource getResource(String path) {
       
        if(path == null)
            return null;
       
        ThemeResource resource = null;
       
        // first check in our shared theme
        resource = this.theme.getResource(path);
       
        // if we didn't find it in our theme then look in weblog uploads
View Full Code Here

Examples of org.pentaho.platform.api.ui.ThemeResource

          moduleThemeInfo.getModuleThemes().add( theme );
        }

        List<Element> resourceList = themeNode.elements();
        for ( Element res : resourceList ) {
          theme.addResource( new ThemeResource( theme, res.getText() ) );
        }

      }
      moduleThemes.put( pluginId, moduleThemeInfo );
    } catch ( Exception e ) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.