Skip to content

Commit

Permalink
Merge origin/master
Browse files Browse the repository at this point in the history
  • Loading branch information
FloDX committed Nov 25, 2024
2 parents e4ff853 + e830c94 commit 548ebfc
Show file tree
Hide file tree
Showing 18 changed files with 108 additions and 88 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/delete_tag_asset.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: delete-old-assets-nightly-manual

on: [workflow_dispatch]

jobs:
build:
runs-on: ubuntu-latest
steps:
#- name: Checkout code
# uses: actions/checkout@v2

- name: Delete old release assets
uses: mknejp/delete-release-assets@v1
with:
token: ${{ github.token }}
tag: nightly # This may also be of the form 'refs/tags/staging'

# Optional another repository
repository: AndiMb/eLamX2

assets: |
eLamX.3.0.0.exe
eLamX.2.7.2.exe
5 changes: 4 additions & 1 deletion File_View/src/de/elamx/fileview/nodes/Bundle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,7 @@ LaminateNode.stackingsequence.short=The Stacking Sequence of the laminate.
LaminateNode.Offset=Offset
DefaultMaterial.ADDITIONALPROPERTIES=Additional Properties
MaterialNode.name=Materials
LaminatesNode.name=Laminates
LaminatesNode.name=Laminates
Warning.negativeelasticmodulus=<html>A negative elastic modulus has been defined.<br>Please check your input.</html>
Warning.negativeshearmodulus=<html>A negative shear modulus has been defined.<br>Please check your input.</html>
Warning.negativepoissonratio=<html>A negative Poisson's ratio has been defined.<br>Please check your input.</html>
3 changes: 3 additions & 0 deletions File_View/src/de/elamx/fileview/nodes/Bundle_de.properties
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,6 @@ DefaultMaterial.SHEARMODULUS13.description=<html>transversaler Schubmodul der Sc
DefaultMaterial.SHEARMODULUS13=transversaler Schubmodul
DefaultMaterial.SHEARMODULUS23.description=<html>transversaler Schubmodul der Schicht [N/mm<sup>2</sup>]</html>
DefaultMaterial.SHEARMODULUS23=transversaler Schubmodul
Warning.negativeelasticmodulus=<html>Es wurde ein negativer Elastizit\u00e4tsmodul definiert.<br>Bitte pr\u00fcfen Sie Ihre Eingabe.</html>
Warning.negativeshearmodulus=<html>Es wurde ein negativer Schubmodul definiert.<br>Bitte pr\u00fcfen Sie Ihre Eingabe.</html>
Warning.negativepoissonratio=<html>Es wurde eine negative Querkontraktionszahl definiert.<br>Bitte pr\u00fcfen Sie Ihre Eingabe.</html>
17 changes: 17 additions & 0 deletions File_View/src/de/elamx/fileview/nodes/DefaultMaterialNode.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
import java.util.ResourceBundle;
import java.util.Set;
import javax.swing.Action;
import org.openide.DialogDisplayer;
import org.openide.NotifyDescriptor;
import org.openide.awt.Actions;
import org.openide.nodes.AbstractNode;
import org.openide.nodes.Children;
Expand Down Expand Up @@ -297,6 +299,21 @@ public void propertyChange(PropertyChangeEvent evt) {
this.fireDisplayNameChange((String) evt.getOldValue(), (String) evt.getNewValue());
return;
}
if (evt.getPropertyName().equals(DefaultMaterial.PROP_EPAR) || evt.getPropertyName().equals(DefaultMaterial.PROP_ENOR)) {
if (((double)evt.getNewValue() != (double)evt.getOldValue()) && ((double)evt.getNewValue() < 0.)) {
DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(NbBundle.getMessage(DefaultMaterialNode.class, "Warning.negativeelasticmodulus"), NotifyDescriptor.WARNING_MESSAGE));
}
}
if (evt.getPropertyName().equals(DefaultMaterial.PROP_NUE12)) {
if (((double)evt.getNewValue() != (double)evt.getOldValue()) && ((double)evt.getNewValue() < 0.)) {
DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(NbBundle.getMessage(DefaultMaterialNode.class, "Warning.negativepoissonratio"), NotifyDescriptor.WARNING_MESSAGE));
}
}
if (evt.getPropertyName().equals(DefaultMaterial.PROP_G) || evt.getPropertyName().equals(DefaultMaterial.PROP_G13) || evt.getPropertyName().equals(DefaultMaterial.PROP_G23)) {
if (((double)evt.getNewValue() != (double)evt.getOldValue()) && ((double)evt.getNewValue() < 0.)) {
DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(NbBundle.getMessage(DefaultMaterialNode.class, "Warning.negativeshearmodulus"), NotifyDescriptor.WARNING_MESSAGE));
}
}
this.firePropertyChange(evt.getPropertyName(), evt.getOldValue(), evt.getNewValue());
}

Expand Down
3 changes: 0 additions & 3 deletions Laminate/src/de/elamx/laminate/Bundle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,3 @@ OpenIDE-Module-Name=Laminate
LaminateSummaryTableModel.Table.caption.angle=Angle
LaminateSummaryTableModel.Table.caption.sumti=<html>&Sigma t<sub>i</sub></html>
LaminateSummaryTableModel.Table.caption.percti=<html>% t<sub>tot</sub></html>
Warning.negativeelasticmodulus=<html>A negative elastic modulus has been defined.<br>Please check your input.</html>
Warning.negativeshearmodulus=<html>A negative shear modulus has been defined.<br>Please check your input.</html>
Warning.negativepoissonratio=<html>A negative Poisson's ratio has been defined.<br>Please check your input.</html>
3 changes: 0 additions & 3 deletions Laminate/src/de/elamx/laminate/Bundle_de.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,3 @@
# and open the template in the editor.
LaminateSummaryTableModel.Table.caption.angle=Winkel
LaminateSummaryTableModel.Table.caption.percti=<html>% t<sub>ges</sub></html>
Warning.negativeelasticmodulus=<html>Es wurde ein negativer Elastizit\u00e4tsmodul definiert.<br>Bitte pr\u00fcfen Sie Ihre Eingabe.</html>
Warning.negativeshearmodulus=<html>Es wurde ein negativer Schubmodul definiert.<br>Bitte pr\u00fcfen Sie Ihre Eingabe.</html>
Warning.negativepoissonratio=<html>Es wurde eine negative Querkontraktionszahl definiert.<br>Bitte pr\u00fcfen Sie Ihre Eingabe.</html>
21 changes: 0 additions & 21 deletions Laminate/src/de/elamx/laminate/DefaultMaterial.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@

import java.util.Objects;
import java.util.UUID;
import org.openide.DialogDisplayer;
import org.openide.NotifyDescriptor;
import org.openide.util.NbBundle;

/**
*
Expand Down Expand Up @@ -122,9 +119,6 @@ public void setEpar(double Epar){
double oldEpar = this.Epar;
this.Epar = Epar;
firePropertyChange(PROP_EPAR, oldEpar, Epar);
if ((Epar != oldEpar) && (Epar < 0.)) {
DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(NbBundle.getMessage(DefaultMaterial.class, "Warning.negativeelasticmodulus"), NotifyDescriptor.WARNING_MESSAGE));
}
}
/**
* Liefert den E-Modul in Faserrichtung E<sub>||</sub> des Materials.
Expand All @@ -141,9 +135,6 @@ public void setEnor(double Enor){
double oldEnor = this.Enor;
this.Enor = Enor;
firePropertyChange(PROP_ENOR, oldEnor, this.Enor);
if ((Enor != oldEnor) && (Enor < 0.)) {
DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(NbBundle.getMessage(DefaultMaterial.class, "Warning.negativeelasticmodulus"), NotifyDescriptor.WARNING_MESSAGE));
}
}
/**
* Liefert den E-Modul quer zur Faserrichtung E<sub>&perp;</sub> des Materials.
Expand All @@ -162,9 +153,6 @@ public void setNue12(double nue){
double oldNue12 = this.nue12;
nue12 = nue;
firePropertyChange(PROP_NUE12, oldNue12, nue12);
if ((nue != oldNue12) && (nue < 0.)) {
DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(NbBundle.getMessage(DefaultMaterial.class, "Warning.negativepoissonratio"), NotifyDescriptor.WARNING_MESSAGE));
}
}
/**
* Liefert die Querkontraktionszahl &nu;<sub>12</sub> des Materials. Dabei gilt folgende
Expand All @@ -183,9 +171,6 @@ public void setG(double G){
double oldG = this.G;
this.G = G;
firePropertyChange(PROP_G, oldG, this.G);
if ((G != oldG) && (G < 0.)) {
DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(NbBundle.getMessage(DefaultMaterial.class, "Warning.negativeshearmodulus"), NotifyDescriptor.WARNING_MESSAGE));
}
}
/**
* Liefert den Schubmoduls G<sub>||&perp;</sub> des Materials.
Expand All @@ -202,9 +187,6 @@ public void setG13(double G13){
double oldG13 = this.G13;
this.G13 = G13;
firePropertyChange(PROP_G13, oldG13, this.G13);
if ((G13 != oldG13) && (G13 < 0.)) {
DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(NbBundle.getMessage(DefaultMaterial.class, "Warning.negativeshearmodulus"), NotifyDescriptor.WARNING_MESSAGE));
}
}
/**
* Liefert die transversale Schubsteifigkeit G<sub>||&perp;</sub> des Materials.
Expand All @@ -221,9 +203,6 @@ public void setG23(double G23){
double oldG23 = this.G23;
this.G23 = G23;
firePropertyChange(PROP_G23, oldG23, this.G23);
if ((G23 != oldG23) && (G23 < 0.)) {
DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(NbBundle.getMessage(DefaultMaterial.class, "Warning.negativeshearmodulus"), NotifyDescriptor.WARNING_MESSAGE));
}
}
/**
* Liefert die transversale Schubsteifigkeit G<sub>&perp;&perp;</sub> des Materials.
Expand Down
5 changes: 1 addition & 4 deletions Micromechanics/src/de/elamx/micromechanics/Bundle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
OpenIDE-Module-Name=Micromechanics
Warning.negativeelasticmodulus=<html>A negative elastic modulus has been defined.<br>Please check your input.</html>
Warning.negativeshearmodulus=<html>A negative shear modulus has been defined.<br>Please check your input.</html>
Warning.negativepoissonratio=<html>A negative Poisson's ratio has been defined.<br>Please check your input.</html>
OpenIDE-Module-Name=Micromechanics
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
OpenIDE-Module-Name=Mikromechanik
Warning.negativeelasticmodulus=<html>Es wurde ein negativer Elastizit\u00e4tsmodul definiert.<br>Bitte pr\u00fcfen Sie Ihre Eingabe.</html>
Warning.negativeshearmodulus=<html>Es wurde ein negativer Schubmodul definiert.<br>Bitte pr\u00fcfen Sie Ihre Eingabe.</html>
Warning.negativepoissonratio=<html>Es wurde eine negative Querkontraktionszahl definiert.<br>Bitte pr\u00fcfen Sie Ihre Eingabe.</html>
OpenIDE-Module-Name=Mikromechanik
21 changes: 0 additions & 21 deletions Micromechanics/src/de/elamx/micromechanics/Fiber.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@

import de.elamx.laminate.Material;
import java.util.UUID;
import org.openide.DialogDisplayer;
import org.openide.NotifyDescriptor;
import org.openide.util.NbBundle;

/**
*
Expand Down Expand Up @@ -108,9 +105,6 @@ public void setEpar(double Epar){
double oldEpar = this.Epar;
this.Epar = Epar;
firePropertyChange(PROP_EPAR, oldEpar, Epar);
if ((Epar != oldEpar) && (Epar < 0.)) {
DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(NbBundle.getMessage(Fiber.class, "Warning.negativeelasticmodulus"), NotifyDescriptor.WARNING_MESSAGE));
}
}
/**
* Liefert den E-Modul in Faserrichtung E<sub>||</sub> des Materials.
Expand All @@ -127,9 +121,6 @@ public void setEnor(double Enor){
double oldEnor = this.Enor;
this.Enor = Enor;
firePropertyChange(PROP_ENOR, oldEnor, this.Enor);
if ((Enor != oldEnor) && (Enor < 0.)) {
DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(NbBundle.getMessage(Fiber.class, "Warning.negativeelasticmodulus"), NotifyDescriptor.WARNING_MESSAGE));
}
}
/**
* Liefert den E-Modul quer zur Faserrichtung E<sub>&perp;</sub> des Materials.
Expand All @@ -148,9 +139,6 @@ public void setNue12(double nue){
double oldNue12 = this.nue12;
nue12 = nue;
firePropertyChange(PROP_NUE12, oldNue12, nue12);
if ((nue12 != oldNue12) && (nue12 < 0.)) {
DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(NbBundle.getMessage(Fiber.class, "Warning.negativepoissonratio"), NotifyDescriptor.WARNING_MESSAGE));
}
}
/**
* Liefert die Querkontraktionszahl &nu;<sub>12</sub> des Materials. Dabei gilt folgende
Expand All @@ -169,9 +157,6 @@ public void setG(double G){
double oldG = this.G;
this.G = G;
firePropertyChange(PROP_G, oldG, this.G);
if ((G != oldG) && (G < 0.)) {
DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(NbBundle.getMessage(Fiber.class, "Warning.negativeshearmodulus"), NotifyDescriptor.WARNING_MESSAGE));
}
}
/**
* Liefert den Schubmoduls G<sub>||&perp;</sub> des Materials.
Expand All @@ -188,9 +173,6 @@ public void setG13(double G13){
double oldG13 = this.G13;
this.G13 = G13;
firePropertyChange(PROP_G13, oldG13, this.G13);
if ((G13 != oldG13) && (G13 < 0.)) {
DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(NbBundle.getMessage(Fiber.class, "Warning.negativeshearmodulus"), NotifyDescriptor.WARNING_MESSAGE));
}
}
/**
* Liefert die transversale Schubsteifigkeit G<sub>||&perp;</sub> des Materials.
Expand All @@ -207,9 +189,6 @@ public void setG23(double G23){
double oldG23 = this.G23;
this.G23 = G23;
firePropertyChange(PROP_G23, oldG23, this.G23);
if ((G23 != oldG23) && (G23 < 0.)) {
DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(NbBundle.getMessage(Fiber.class, "Warning.negativeshearmodulus"), NotifyDescriptor.WARNING_MESSAGE));
}
}
/**
* Liefert die transversale Schubsteifigkeit G<sub>&perp;&perp;</sub> des Materials.
Expand Down
9 changes: 0 additions & 9 deletions Micromechanics/src/de/elamx/micromechanics/Matrix.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@

import de.elamx.laminate.Material;
import java.util.UUID;
import org.openide.DialogDisplayer;
import org.openide.NotifyDescriptor;
import org.openide.util.NbBundle;

/**
*
Expand Down Expand Up @@ -128,9 +125,6 @@ public void setNue(double nue) {
double oldG = G;
G = E / (2 * (1.0 + nue));
firePropertyChange(PROP_G, oldG, G);
if ((nue != oldNue) && (nue < 0.)) {
DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(NbBundle.getMessage(Matrix.class, "Warning.negativepoissonratio"), NotifyDescriptor.WARNING_MESSAGE));
}
}

/**
Expand All @@ -145,9 +139,6 @@ public void setE(double E) {
double oldG = G;
G = E / (2 * (1.0 + nue));
firePropertyChange(PROP_G, oldG, G);
if ((E != oldE) && (E < 0.)) {
DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(NbBundle.getMessage(Matrix.class, "Warning.negativeelasticmodulus"), NotifyDescriptor.WARNING_MESSAGE));
}
}

public double getE() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,7 @@
import java.beans.PropertyChangeListener;
import java.util.Collection;
import java.util.UUID;
import org.openide.DialogDisplayer;
import org.openide.NotifyDescriptor;
import org.openide.util.Lookup;
import org.openide.util.NbBundle;
import org.openide.util.lookup.Lookups;

/**
Expand Down Expand Up @@ -402,9 +399,6 @@ public void setEpar(double Epar){
double oldEpar = this.Epar;
this.Epar = Epar;
firePropertyChange(PROP_EPAR, oldEpar, Epar);
if ((Epar != oldEpar) && (Epar < 0.)) {
DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(NbBundle.getMessage(MicroMechanicMaterial.class, "Warning.negativeelasticmodulus"), NotifyDescriptor.WARNING_MESSAGE));
}
}

/**
Expand All @@ -415,9 +409,6 @@ public void setEnor(double Enor){
double oldEnor = this.Enor;
this.Enor = Enor;
firePropertyChange(PROP_ENOR, oldEnor, this.Enor);
if ((Enor != oldEnor) && (Enor < 0.)) {
DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(NbBundle.getMessage(MicroMechanicMaterial.class, "Warning.negativeelasticmodulus"), NotifyDescriptor.WARNING_MESSAGE));
}
}

/**
Expand All @@ -430,9 +421,6 @@ public void setNue12(double nue){
double oldNue12 = this.nue12;
nue12 = nue;
firePropertyChange(PROP_NUE12, oldNue12, nue12);
if ((nue != oldNue12) && (nue < 0.)) {
DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(NbBundle.getMessage(MicroMechanicMaterial.class, "Warning.negativepoissonratio"), NotifyDescriptor.WARNING_MESSAGE));
}
}

/**
Expand All @@ -443,9 +431,6 @@ public void setG(double G){
double oldG = this.G;
this.G = G;
firePropertyChange(PROP_G, oldG, this.G);
if ((G != oldG) && (G < 0.)) {
DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(NbBundle.getMessage(MicroMechanicMaterial.class, "Warning.negativeshearmodulus"), NotifyDescriptor.WARNING_MESSAGE));
}
}

/**
Expand All @@ -456,9 +441,6 @@ public void setG13(double G13){
double oldG13 = this.G13;
this.G13 = G13;
firePropertyChange(PROP_G13, oldG13, this.G13);
if ((G13 != oldG13) && (G13 < 0.)) {
DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(NbBundle.getMessage(MicroMechanicMaterial.class, "Warning.negativeshearmodulus"), NotifyDescriptor.WARNING_MESSAGE));
}
}
/**
* Liefert die transversale Schubsteifigkeit G<sub>||&perp;</sub> des Materials.
Expand All @@ -475,9 +457,6 @@ public void setG23(double G23){
double oldG23 = this.G23;
this.G23 = G23;
firePropertyChange(PROP_G23, oldG23, this.G23);
if ((G23 != oldG23) && (G23 < 0.)) {
DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(NbBundle.getMessage(MicroMechanicMaterial.class, "Warning.negativeshearmodulus"), NotifyDescriptor.WARNING_MESSAGE));
}
}
/**
* Liefert die transversale Schubsteifigkeit G<sub>&perp;&perp;</sub> des Materials.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,3 +143,7 @@ MicroMechanicMaterialNode.SHEARMODULUS13.html=<html>G<sub>T,||&perp</sub></html>
MicroMechanicMaterialNode.SHEARMODULUS23.description=<html>Transversal shear modulus of the Layer [N/mm<sup>2</sup>]</html>
MicroMechanicMaterialNode.SHEARMODULUS23=Transversal Shear Modulus
MicroMechanicMaterialNode.SHEARMODULUS23.html=<html>G<sub>T,&perp&perp</sub></html>

Warning.negativeelasticmodulus=<html>A negative elastic modulus has been defined.<br>Please check your input.</html>
Warning.negativeshearmodulus=<html>A negative shear modulus has been defined.<br>Please check your input.</html>
Warning.negativepoissonratio=<html>A negative Poisson's ratio has been defined.<br>Please check your input.</html>
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,7 @@ MicroMechanicMaterialNode.SHEARMODULUS13.description=<html>transversaler Schubmo
MicroMechanicMaterialNode.SHEARMODULUS23.description=<html>transversaler Schubmodul der Schicht [N/mm<sup>2</sup>]</html>
MicroMechanicMaterialNode.SHEARMODULUS13=transversaler Schubmodul
MicroMechanicMaterialNode.SHEARMODULUS23=transversaler Schubmodul

Warning.negativeelasticmodulus=<html>Es wurde ein negativer Elastizit\u00e4tsmodul definiert.<br>Bitte pr\u00fcfen Sie Ihre Eingabe.</html>
Warning.negativeshearmodulus=<html>Es wurde ein negativer Schubmodul definiert.<br>Bitte pr\u00fcfen Sie Ihre Eingabe.</html>
Warning.negativepoissonratio=<html>Es wurde eine negative Querkontraktionszahl definiert.<br>Bitte pr\u00fcfen Sie Ihre Eingabe.</html>
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
import java.util.List;
import java.util.ResourceBundle;
import javax.swing.Action;
import org.openide.DialogDisplayer;
import org.openide.NotifyDescriptor;
import org.openide.awt.Actions;
import org.openide.nodes.AbstractNode;
import org.openide.nodes.Children;
Expand Down Expand Up @@ -191,6 +193,21 @@ public void propertyChange(PropertyChangeEvent evt) {
this.fireDisplayNameChange((String)evt.getOldValue(), (String)evt.getNewValue());
return;
}
if (evt.getPropertyName().equals(Fiber.PROP_EPAR) || evt.getPropertyName().equals(Fiber.PROP_ENOR)) {
if (((double)evt.getNewValue() != (double)evt.getOldValue()) && ((double)evt.getNewValue() < 0.)) {
DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(NbBundle.getMessage(FibreNode.class, "Warning.negativeelasticmodulus"), NotifyDescriptor.WARNING_MESSAGE));
}
}
if (evt.getPropertyName().equals(Fiber.PROP_NUE12)) {
if (((double)evt.getNewValue() != (double)evt.getOldValue()) && ((double)evt.getNewValue() < 0.)) {
DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(NbBundle.getMessage(FibreNode.class, "Warning.negativepoissonratio"), NotifyDescriptor.WARNING_MESSAGE));
}
}
if (evt.getPropertyName().equals(Fiber.PROP_G) || evt.getPropertyName().equals(Fiber.PROP_G13) || evt.getPropertyName().equals(Fiber.PROP_G23)) {
if (((double)evt.getNewValue() != (double)evt.getOldValue()) && ((double)evt.getNewValue() < 0.)) {
DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(NbBundle.getMessage(FibreNode.class, "Warning.negativeshearmodulus"), NotifyDescriptor.WARNING_MESSAGE));
}
}
this.firePropertyChange(evt.getPropertyName(), evt.getOldValue(), evt.getNewValue());
}

Expand Down
Loading

0 comments on commit 548ebfc

Please sign in to comment.