Examples of Theme


Examples of ApiScrumClass.Theme

            String description=request.getParameter("description");
            String parent=request.getParameter("parent");
            String parentProduct=request.getParameter("parentproduct");
            if (parent.equals("null")) {
            //Tema de un producto
                Theme t=scrum.createTheme(name,-1,Integer.valueOf(parentProduct));                
                t.setDescription(description);
                try{
                    persistencia.UpdateTheme(t);
                    ID=t.getId();
                    return true;
                } catch (Exception e) {
                    return false;
                }
            }else{   
                //Tema de un tema
                Theme t=scrum.createTheme(name,Integer.valueOf(parent),Integer.valueOf(parentProduct));                                
                t.setDescription(description);
                try{
                    persistencia.UpdateTheme(t);
                    ID=t.getId();
                    return true;
                } catch (Exception e) {
                    return false;
                }
            }          
View Full Code Here

Examples of at.bestsolution.efxclipse.runtime.services.theme.Theme

          }
        }
      });

      if (themeManager != null) {
        Theme theme = themeManager.getCurrentTheme();
        if (theme != null) {
          List<String> sUrls = new ArrayList<String>();
          for (URL url : theme.getStylesheetURL()) {
            sUrls.add(url.toExternalForm());
          }

          s.getStylesheets().addAll(sUrls);
        }
View Full Code Here

Examples of br.com.mystudies.domain.entity.Theme

    }
  }


  private Theme getTheme(HttpServletRequest request) {
    return new Theme(
        request.getParameter("title"),
        Priority.valueOf(request.getParameter("priority")),
        new Date()
      );
  }
View Full Code Here

Examples of br.com.mystudies.domain.entity.Theme

  @Test
  public void shouldAddThemeInBackLog() {

    BackLog backLog = new BackLog();
    Theme theme = new Theme();

    when(backlogDAO.update(backLog)).thenReturn(backLog);

    backLog = backLogServicebean.addTheme(backLog, theme);

    verify(backlogDAO).update(backLog);

    assertTrue(backLog.getThemes().contains(theme));
    assertEquals(theme.getBackLog(), backLog);

  }
View Full Code Here

Examples of br.com.mystudies.domain.entity.Theme

  @Test
  public void shouldListThemesInBackLog() {

    BackLog backLog = new BackLog();
    backLog.addTheme(new Theme("theme1",Priority.HEIGHT,new Date()));
    backLog.addTheme(new Theme("theme2",Priority.HEIGHT,new Date()));
    backLog.addTheme(new Theme("theme3",Priority.HEIGHT,new Date()));


    when(backlogDAO.find(1L)).thenReturn(backLog);

    backLog = backLogServicebean.getBackLog(1L);
View Full Code Here

Examples of br.com.mystudies.domain.entity.Theme


  @Test
  public void shouldGetThemeByID() {

    when(themeDao.find(any(Long.class))).thenReturn(new Theme());

    Theme theme = themeServiceBean.getTheme(1L);

    verify(themeDao).find(1L);

    assertNotNull(theme);
  }
View Full Code Here

Examples of br.com.mystudies.domain.entity.Theme

 
 
  @Test
  public void shouldAddStoryInTheme() {
   
    Theme theme = new Theme();
    theme.setStories(new HashSet<Story>());
    Story story = new Story();
   
    when(themeDao.update(theme)).thenReturn(theme);
   
    themeServiceBean.addStory(theme, story);
   
    verify(themeDao).update(theme);
   
    assertTrue(theme.getStories().contains(story));
    assertEquals(theme, story.getTheme());
   
  }
View Full Code Here

Examples of com.aptana.theme.Theme

    private TextAttribute getFromTheme(String name) {
        if (!AddRedCoreThemeAvailable.isRedCoreAvailableForTheming()) {
            return null;
        }
        Theme currentTheme = ThemePlugin.getDefault().getThemeManager().getCurrentTheme();
        return currentTheme.getTextAttribute(name);
    }
View Full Code Here

Examples of com.claymus.site.module.theme.Theme

    html += "<table class='claymus-formatted-table'>";

    html += "<tr style='display:none'/>";

    Theme currentTheme = ThemeData.getTheme();
    for(Theme theme : ThemeData.getThemes()) {
      html += "<tr>";
        html += "<td>";
          html += theme.equals(currentTheme)
              ? theme.getName() + " <span class='claymus-highlighted-text'>(Active)</span>"
View Full Code Here

Examples of com.extjs.gxt.ui.client.util.Theme

      if (!fileName.contains("gxt-all.css")) {
        CSS.addStyleSheet(themeId, fileName);
      }
      bodyEl.addStyleName("x-theme-" + themeId);

      Theme t = ThemeManager.findTheme(themeId);
      t.init();

      StateManager.get().set(GWT.getModuleBaseURL() + "theme", theme);
    }

    if (isStrict) { // add to the parent to allow for selectors like
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.