Skip to content

Commit b520903

Browse files
committed
Add a description to the extension
1 parent 77c95ff commit b520903

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/net/sf/openrocket/example/ThrustScaler.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ public String getName() {
2222
return "Thrust scaling \u00D7" + getMultiplier();
2323
}
2424

25+
@Override
26+
public String getDescription() {
27+
// This description is shown when the user clicks the info-button on the extension
28+
return "This extension multiplies the thrust of motors by a user-defined multiplier.";
29+
}
30+
2531
@Override
2632
public void initialize(SimulationConditions conditions) throws SimulationException {
2733
conditions.getSimulationListenerList().add(new ThrustScalerSimulationListener(getMultiplier()));

0 commit comments

Comments
 (0)