This commit is contained in:
bancika
2011-01-23 18:34:15 +00:00
parent 4106d2dad5
commit 0aa61ecd8a
4 changed files with 3 additions and 3 deletions
@@ -65,7 +65,7 @@ public class HelpMenuPlugin implements IPlugIn {
private AboutDialog getAboutDialog() {
if (aboutDialog == null) {
aboutDialog = DialogFactory.getInstance().createAboutDialog("DIY Layout Creator 4",
aboutDialog = DialogFactory.getInstance().createAboutDialog("DIY Layout Creator",
IconLoader.IconLarge.getIcon(),
plugInPort.getCurrentVersionNumber().toString(), "Branislav Stojkovic",
"diylc.org", "bancika@gmail.com", "");
@@ -20,7 +20,7 @@ import org.diylc.core.annotations.EditableProperty;
import org.diylc.core.measures.Size;
import org.diylc.core.measures.SizeUnit;
@ComponentDescriptor(name = "Potentiometer (panel mount)", author = "Branislav Stojkovic", category = "Passive", creationMethod = CreationMethod.SINGLE_CLICK, instanceNamePrefix = "VR", description = "Panel mount potentiometer with solder lugs", zOrder = IDIYComponent.ABOVE_COMPONENT, stretchable = false)
@ComponentDescriptor(name = "Potentiometer (panel mount)", author = "Branislav Stojkovic", category = "Passive", creationMethod = CreationMethod.SINGLE_CLICK, instanceNamePrefix = "VR", description = "Panel mount potentiometer with solder lugs", zOrder = IDIYComponent.COMPONENT, stretchable = false)
public class PotentiometerPanel extends AbstractPotentiometer {
private static final long serialVersionUID = 1L;
@@ -7,6 +7,6 @@ public enum Taper {
@Override
public String toString() {
return name().substring(0, 1).toUpperCase()
+ name().substring(1).toLowerCase().replace("_", "");
+ name().substring(1).toLowerCase().replace("_", " ");
}
}