mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 17:22:09 +10:00
This commit is contained in:
Binary file not shown.
+1
-1
@@ -65,7 +65,7 @@ public class HelpMenuPlugin implements IPlugIn {
|
|||||||
|
|
||||||
private AboutDialog getAboutDialog() {
|
private AboutDialog getAboutDialog() {
|
||||||
if (aboutDialog == null) {
|
if (aboutDialog == null) {
|
||||||
aboutDialog = DialogFactory.getInstance().createAboutDialog("DIY Layout Creator 4",
|
aboutDialog = DialogFactory.getInstance().createAboutDialog("DIY Layout Creator",
|
||||||
IconLoader.IconLarge.getIcon(),
|
IconLoader.IconLarge.getIcon(),
|
||||||
plugInPort.getCurrentVersionNumber().toString(), "Branislav Stojkovic",
|
plugInPort.getCurrentVersionNumber().toString(), "Branislav Stojkovic",
|
||||||
"diylc.org", "bancika@gmail.com", "");
|
"diylc.org", "bancika@gmail.com", "");
|
||||||
|
|||||||
+1
-1
@@ -20,7 +20,7 @@ import org.diylc.core.annotations.EditableProperty;
|
|||||||
import org.diylc.core.measures.Size;
|
import org.diylc.core.measures.Size;
|
||||||
import org.diylc.core.measures.SizeUnit;
|
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 {
|
public class PotentiometerPanel extends AbstractPotentiometer {
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|||||||
+1
-1
@@ -7,6 +7,6 @@ public enum Taper {
|
|||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return name().substring(0, 1).toUpperCase()
|
return name().substring(0, 1).toUpperCase()
|
||||||
+ name().substring(1).toLowerCase().replace("_", "");
|
+ name().substring(1).toLowerCase().replace("_", " ");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user