Skip to content

Commit

Permalink
#178 fix timestampchooser
Browse files Browse the repository at this point in the history
  • Loading branch information
therter committed Oct 30, 2024
1 parent 733e765 commit 810d754
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2592,70 +2592,70 @@ public void actionPerformed(final java.awt.event.ActionEvent evt) {
*
* @param evt DOCUMENT ME!
*/
private void btnFromPointSplitActionPerformed(final java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnFromPointSplitActionPerformed
private void btnFromPointSplitActionPerformed(final java.awt.event.ActionEvent evt) { //GEN-FIRST:event_btnFromPointSplitActionPerformed
splitPoint(FROM);
}//GEN-LAST:event_btnFromPointSplitActionPerformed
} //GEN-LAST:event_btnFromPointSplitActionPerformed

/**
* DOCUMENT ME!
*
* @param evt DOCUMENT ME!
*/
private void btnToPointSplitActionPerformed(final java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnToPointSplitActionPerformed
private void btnToPointSplitActionPerformed(final java.awt.event.ActionEvent evt) { //GEN-FIRST:event_btnToPointSplitActionPerformed
splitPoint(TO);
}//GEN-LAST:event_btnToPointSplitActionPerformed
} //GEN-LAST:event_btnToPointSplitActionPerformed

/**
* DOCUMENT ME!
*
* @param evt DOCUMENT ME!
*/
private void btnToBadGeomCorrectActionPerformed(final java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnToBadGeomCorrectActionPerformed
private void btnToBadGeomCorrectActionPerformed(final java.awt.event.ActionEvent evt) { //GEN-FIRST:event_btnToBadGeomCorrectActionPerformed
correctBadGeom(TO);
}//GEN-LAST:event_btnToBadGeomCorrectActionPerformed
} //GEN-LAST:event_btnToBadGeomCorrectActionPerformed

/**
* DOCUMENT ME!
*
* @param evt DOCUMENT ME!
*/
private void btnToBadGeomActionPerformed(final java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnToBadGeomActionPerformed
private void btnToBadGeomActionPerformed(final java.awt.event.ActionEvent evt) { //GEN-FIRST:event_btnToBadGeomActionPerformed
switchBadGeomVisibility(TO);
}//GEN-LAST:event_btnToBadGeomActionPerformed
} //GEN-LAST:event_btnToBadGeomActionPerformed

/**
* DOCUMENT ME!
*
* @param evt DOCUMENT ME!
*/
private void btnFromBadGeomCorrectActionPerformed(final java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnFromBadGeomCorrectActionPerformed
private void btnFromBadGeomCorrectActionPerformed(final java.awt.event.ActionEvent evt) { //GEN-FIRST:event_btnFromBadGeomCorrectActionPerformed
correctBadGeom(FROM);
}//GEN-LAST:event_btnFromBadGeomCorrectActionPerformed
} //GEN-LAST:event_btnFromBadGeomCorrectActionPerformed

/**
* DOCUMENT ME!
*
* @param evt DOCUMENT ME!
*/
private void btnFromBadGeomActionPerformed(final java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnFromBadGeomActionPerformed
private void btnFromBadGeomActionPerformed(final java.awt.event.ActionEvent evt) { //GEN-FIRST:event_btnFromBadGeomActionPerformed
switchBadGeomVisibility(FROM);
}//GEN-LAST:event_btnFromBadGeomActionPerformed
} //GEN-LAST:event_btnFromBadGeomActionPerformed

/**
* DOCUMENT ME!
*
* @param evt DOCUMENT ME!
*/
private void btnRouteActionPerformed(final java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnRouteActionPerformed
private void btnRouteActionPerformed(final java.awt.event.ActionEvent evt) { //GEN-FIRST:event_btnRouteActionPerformed
updateOtherLinesPanelVisibility();
}//GEN-LAST:event_btnRouteActionPerformed
} //GEN-LAST:event_btnRouteActionPerformed

/**
* DOCUMENT ME!
*
* @param evt DOCUMENT ME!
*/
private void geomHistorischActionPerformed(final java.awt.event.ActionEvent evt) {//GEN-FIRST:event_geomHistorischActionPerformed
private void geomHistorischActionPerformed(final java.awt.event.ActionEvent evt) { //GEN-FIRST:event_geomHistorischActionPerformed
try {
historisch = geomHistorisch.isSelected();
getLineBean().setProperty(PROP_STATIONLINIE_FROM + "." + PROPERTY_OHNE_ROUTE, geomHistorisch.isSelected());
Expand All @@ -2665,7 +2665,7 @@ private void geomHistorischActionPerformed(final java.awt.event.ActionEvent evt)
geomHistorisch.setSelected(!geomHistorisch.isSelected());
LOG.error("Cannot change ohne_route property", ex);
}
}//GEN-LAST:event_geomHistorischActionPerformed
} //GEN-LAST:event_geomHistorischActionPerformed

/**
* DOCUMENT ME!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,11 @@
</Property>
</Properties>
<BindingProperties>
<BindingProperty name="timestamp" source="Form" sourcePath="${cidsBean.datum_ueberpruefung}" target="dtPruefungZeit" targetPath="timestamp" updateStrategy="0" immediately="false"/>
<BindingProperty name="timestamp" source="Form" sourcePath="${cidsBean.datum_ueberpruefung}" target="dtPruefungZeit" targetPath="timestamp" updateStrategy="0" immediately="false">
<Property name="converter" type="org.jdesktop.beansbinding.Converter" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
<Connection code="defaultBindableTimestampChooser1.getConverter()" type="code"/>
</Property>
</BindingProperty>
</BindingProperties>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1050,6 +1050,7 @@ private void initComponents() {
org.jdesktop.beansbinding.ELProperty.create("${cidsBean.datum_ueberpruefung}"),
dtPruefungZeit,
org.jdesktop.beansbinding.BeanProperty.create("timestamp"));
binding.setConverter(defaultBindableTimestampChooser1.getConverter());
bindingGroup.addBinding(binding);

gridBagConstraints = new java.awt.GridBagConstraints();
Expand Down

0 comments on commit 810d754

Please sign in to comment.