mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-05 20:03:52 +00:00
Fixed TODO and some javadoc in ChartsPanel
This commit is contained in:
1 parent
cad988f5c9
commit
ac20711260
2 files changed
+11
-2
No files matched your search
+10
-1
@@ -62,6 +62,15 @@ import com.sap.sailing.gwt.ui.shared.Pair;
|
||||
import com.sap.sailing.server.api.DetailType;
|
||||
import com.sap.sailing.server.api.RaceIdentifier;
|
||||
|
||||
/** ChartsPanel is a gwt panel, that can show competitor data (e.g. current speed over ground, windward distance to leader) for different races in a chart.
|
||||
*
|
||||
* When calling the consturcor a chart is created that creates a final amount of series (so the maximum number of competitors cannot be changed in one chart)
|
||||
* which are connected to competitors, when the sailing service returns the data. So {@code seriesID, competitorID and markSeriesID} are linked with the index.
|
||||
* So if u know for example the seriesID-index, you can get the competitor by calling competitorID.get(index).
|
||||
*
|
||||
* @author D056866 Benjamin Ebling
|
||||
*
|
||||
*/
|
||||
public class ChartsPanel extends FormPanel {
|
||||
private CompetitorInRaceDAO chartData;
|
||||
private CompetitorsAndTimePointsDAO competitorsAndTimePointsDAO = null;
|
||||
@@ -514,7 +523,7 @@ public class ChartsPanel extends FormPanel {
|
||||
plot.addSelectionListener(new SelectionListener() {
|
||||
|
||||
public void selected(double x1, double y1, double x2, double y2) {
|
||||
/* TODO
|
||||
/* TODO Remove not visible buoys from the series when user is zooming in or add them if he is zooming out.
|
||||
for (CompetitorDAO competitor : competitorsAndTimePointsDAO.getCompetitor()){
|
||||
long[] markPassingTimes = competitorsAndTimePointsDAO.getMarkPassings(competitor);
|
||||
Double[] markPassingValues = chartData.getMarkPassings(competitor);
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
</listAttribute>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -consoleLog -console -clean"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.pde.ui.workbenchClasspathProvider"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Declipse.ignoreApp=true -Dosgi.noShutdown=true -Dorg.osgi.service.http.port=8888 -Dexpedition.udp.port=2010 -Xmx1000m -Djava.util.logging.config.file=${project_loc:com.sap.sailing.server}/../target/configuration/logging_debug.properties"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Declipse.ignoreApp=true -Dosgi.noShutdown=true -Dorg.osgi.service.http.port=8888 -Dexpedition.udp.port=2010 -Xmx6000m -Djava.util.logging.config.file=${project_loc:com.sap.sailing.server}/../target/configuration/logging_debug.properties"/>
|
||||
<stringAttribute key="pde.version" value="3.3"/>
|
||||
<booleanAttribute key="show_selected_only" value="false"/>
|
||||
<stringAttribute key="target_bundles" value="ch.qos.logback.classic@default:default,ch.qos.logback.core@default:default,ch.qos.logback.slf4j@default:false,com.sap.ui.phoenix.commons@default:default,com.sap.ui.phoenix.core@default:default,com.sap.ui.phoenix.pwt-sap.ui.commons@default:default,com.sap.ui.phoenix.pwt-sap.ui.core@default:default,com.sap.ui.phoenix.resource@default:default,javax.activation@default:default,javax.mail@default:default,javax.servlet.jsp@default:default,javax.servlet@default:default,org.apache.ant@default:default,org.apache.commons.el@default:default,org.apache.commons.logging@default:default,org.apache.jasper@default:default,org.eclipse.core.jobs@default:default,org.eclipse.core.runtime.compatibility.registry@default:false,org.eclipse.equinox.common@2:true,org.eclipse.equinox.http.jetty@default:default,org.eclipse.equinox.http.registry@default:default,org.eclipse.equinox.http.servlet@default:default,org.eclipse.equinox.registry@default:default,org.eclipse.net4j.jms.api@default:default,org.eclipse.osgi.services@default:default,org.eclipse.osgi@-1:true,org.hamcrest.core@default:default,org.junit*3.8.2.v3_8_2_v20100427-1100@default:default,org.junit*4.8.2.v4_8_2_v20110321-1705@default:default,org.junit4@default:default,org.mortbay.jetty.server@default:default,org.mortbay.jetty.util@default:default,org.slf4j.api@default:default"/>
|
||||
|
||||
Reference in new issue
Block a user