Skip to content

Commit

Permalink
update with license
Browse files Browse the repository at this point in the history
  • Loading branch information
daveotengo committed Nov 11, 2024
1 parent b26aa17 commit aad5608
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*******************************************************************************
* SORMAS® - Surveillance Outbreak Response Management & Analysis System
* Copyright © 2016-2018 Helmholtz-Zentrum für Infektionsforschung GmbH (HZI)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*******************************************************************************/
package de.symeda.sormas.backend.caze;

import de.symeda.sormas.backend.AbstractBeanTest;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*******************************************************************************
* SORMAS® - Surveillance Outbreak Response Management & Analysis System
* Copyright © 2016-2018 Helmholtz-Zentrum für Infektionsforschung GmbH (HZI)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*******************************************************************************/
package de.symeda.sormas.backend.disease;

import de.symeda.sormas.api.Disease;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*******************************************************************************
* SORMAS® - Surveillance Outbreak Response Management & Analysis System
* Copyright © 2016-2018 Helmholtz-Zentrum für Infektionsforschung GmbH (HZI)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*******************************************************************************/
package de.symeda.sormas.ui.dashboard.surveillance.components.disease.tile;

import com.vaadin.v7.data.util.BeanItemContainer;
Expand Down Expand Up @@ -38,6 +55,7 @@ public class RegionalDiseaseBurdenGrid extends Grid {
private final DecimalFormat decimalFormat;

public RegionalDiseaseBurdenGrid(DashboardDataProvider dashboardDataProvider) {

this.dashboardDataProvider = dashboardDataProvider;
regionDtoList = FacadeProvider.getRegionFacade().getAllActiveRegions();

Expand Down Expand Up @@ -83,6 +101,7 @@ public RegionalDiseaseBurdenGrid(DashboardDataProvider dashboardDataProvider) {
}

public void refresh(){

setColumnResizeMode(ColumnResizeMode.ANIMATED);
setSelectionMode(Grid.SelectionMode.NONE);

Expand Down Expand Up @@ -231,6 +250,7 @@ public String makeDIvs(long number, long total, String lightColor, String deepCo
}

public String makeDIvsCount(String num) {

String endDiv = " </div>";
String divWithStyleAttr="<div style='";

Expand All @@ -242,6 +262,7 @@ public String makeDIvsCount(String num) {
}

public String element(String type, String style, String content) {

StringBuilder sb = new StringBuilder();
sb.append("<").append(type);
if (style != null) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/*******************************************************************************
* SORMAS® - Surveillance Outbreak Response Management & Analysis System
* Copyright © 2016-2018 Helmholtz-Zentrum für Infektionsforschung GmbH (HZI)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*******************************************************************************/
package de.symeda.sormas.ui.dashboard.disease;

import de.symeda.sormas.api.Disease;
Expand Down

0 comments on commit aad5608

Please sign in to comment.