mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 09:12:09 +10:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7c81b7f8d2 | |||
| 18c7b9207b |
@@ -4037,5 +4037,21 @@
|
|||||||
</changes>
|
</changes>
|
||||||
<url>https://github.com/bancika/diy-layout-creator/releases</url>
|
<url>https://github.com/bancika/diy-layout-creator/releases</url>
|
||||||
</org.diylc.appframework.update.Version>
|
</org.diylc.appframework.update.Version>
|
||||||
|
<org.diylc.appframework.update.Version>
|
||||||
|
<versionNumber>
|
||||||
|
<major>4</major>
|
||||||
|
<minor>30</minor>
|
||||||
|
<build>1</build>
|
||||||
|
</versionNumber>
|
||||||
|
<releaseDate>2022-10-23 00:00:00.000 CET</releaseDate>
|
||||||
|
<name></name>
|
||||||
|
<changes>
|
||||||
|
<org.diylc.appframework.update.Change>
|
||||||
|
<changeType>NEW_FEATURE</changeType>
|
||||||
|
<description>Fix the build that wouldn't run due to a missing package</description>
|
||||||
|
</org.diylc.appframework.update.Change>
|
||||||
|
</changes>
|
||||||
|
<url>https://github.com/bancika/diy-layout-creator/releases</url>
|
||||||
|
</org.diylc.appframework.update.Version>
|
||||||
</a>
|
</a>
|
||||||
</java.util.Arrays_-ArrayList>
|
</java.util.Arrays_-ArrayList>
|
||||||
|
|||||||
Binary file not shown.
@@ -57,7 +57,7 @@ import org.diylc.utils.Constants;
|
|||||||
description = "Strat-style lever switch", zOrder = IDIYComponent.COMPONENT,
|
description = "Strat-style lever switch", zOrder = IDIYComponent.COMPONENT,
|
||||||
instanceNamePrefix = "SW", keywordPolicy = KeywordPolicy.SHOW_TAG,
|
instanceNamePrefix = "SW", keywordPolicy = KeywordPolicy.SHOW_TAG,
|
||||||
keywordTag = "Guitar Wiring Diagram", transformer = AngledComponentTransformer.class)
|
keywordTag = "Guitar Wiring Diagram", transformer = AngledComponentTransformer.class)
|
||||||
public class LeverSwitch extends AbstractAngledComponent<LeverSwitchType> implements ISwitch {
|
public class LeverSwitch extends AbstractAngledComponent<LeverSwitch.LeverSwitchType> implements ISwitch {
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@@ -531,4 +531,21 @@ public class LeverSwitch extends AbstractAngledComponent<LeverSwitchType> implem
|
|||||||
new int[] { 1, 9 }
|
new int[] { 1, 9 }
|
||||||
) // position 6
|
) // position 6
|
||||||
);
|
);
|
||||||
|
|
||||||
|
public static enum LeverSwitchType {
|
||||||
|
|
||||||
|
DP3T("DP3T (Standard 3-Position Strat)"), DP3T_5pos("DP3T (Standard 5-Position Strat)"), DP3T_5pos_Import("DP3T (Import 5-Position Strat)"),
|
||||||
|
_4P5T("4P5T (Super/Mega)"), DP4T("DP4T (4-Position Tele)"), _6_WAY_OG("DP4T (6-Position Oak Grigsby)"), DP5T("DP5T");
|
||||||
|
|
||||||
|
private String title;
|
||||||
|
|
||||||
|
private LeverSwitchType(String title) {
|
||||||
|
this.title = title;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return title;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,39 +0,0 @@
|
|||||||
/*
|
|
||||||
|
|
||||||
DIY Layout Creator (DIYLC).
|
|
||||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
|
||||||
|
|
||||||
This file is part of DIYLC.
|
|
||||||
|
|
||||||
DIYLC is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation, either version 3 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
DIYLC is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with DIYLC. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
*/
|
|
||||||
package org.diylc.components.guitar;
|
|
||||||
|
|
||||||
public enum LeverSwitchType {
|
|
||||||
|
|
||||||
DP3T("DP3T (Standard 3-Position Strat)"), DP3T_5pos("DP3T (Standard 5-Position Strat)"), DP3T_5pos_Import("DP3T (Import 5-Position Strat)"),
|
|
||||||
_4P5T("4P5T (Super/Mega)"), DP4T("DP4T (4-Position Tele)"), _6_WAY_OG("DP4T (6-Position Oak Grigsby)"), DP5T("DP5T");
|
|
||||||
|
|
||||||
private String title;
|
|
||||||
|
|
||||||
private LeverSwitchType(String title) {
|
|
||||||
this.title = title;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String toString() {
|
|
||||||
return title;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -18,6 +18,7 @@
|
|||||||
<classpathentry kind="lib" path="lib/jar-loader.jar"/>
|
<classpathentry kind="lib" path="lib/jar-loader.jar"/>
|
||||||
<classpathentry kind="lib" path="lib/svgSalamander-1.1.2.4.jar"/>
|
<classpathentry kind="lib" path="lib/svgSalamander-1.1.2.4.jar"/>
|
||||||
<classpathentry kind="lib" path="lib/xstream-1.4.19.jar"/>
|
<classpathentry kind="lib" path="lib/xstream-1.4.19.jar"/>
|
||||||
|
<classpathentry kind="lib" path="lib/guava-31.1-jre.jar"/>
|
||||||
<classpathentry combineaccessrules="false" kind="src" path="/diylc-core"/>
|
<classpathentry combineaccessrules="false" kind="src" path="/diylc-core"/>
|
||||||
<classpathentry kind="lib" path="lib/java-http-proxy.jar"/>
|
<classpathentry kind="lib" path="lib/java-http-proxy.jar"/>
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||||
|
|||||||
@@ -10,10 +10,10 @@
|
|||||||
<property name="jar.dir" value="${build.dir}/jar" />
|
<property name="jar.dir" value="${build.dir}/jar" />
|
||||||
<property name="report.dir" value="${build.dir}/junitreport" />
|
<property name="report.dir" value="${build.dir}/junitreport" />
|
||||||
<property name="main.class" value="org.diylc.DIYLCStarter" />
|
<property name="main.class" value="org.diylc.DIYLCStarter" />
|
||||||
<property name="diylc.version" value="4.30.0" />
|
<property name="diylc.version" value="4.30.1" />
|
||||||
|
|
||||||
<property name="osx.jre8.path" value="jre\osx\jre8u321\Contents\Home\" />
|
<property name="osx.jre8.path" value="jre\osx\jre8u321\Contents\Home\" />
|
||||||
<property name="osx.jre8m1.path" value="jre\osx\jre8zulu\Contents\Home\" />
|
<property name="osx.jre8m1.path" value="jre\osx\zulu-17.jre\Contents\Home\" />
|
||||||
|
|
||||||
<property name="classes.dir" value="${build.dir}/temp/${ant.project.name}/classes" />
|
<property name="classes.dir" value="${build.dir}/temp/${ant.project.name}/classes" />
|
||||||
<property name="test.classes.dir" value="${build.dir}/temp/${ant.project.name}/test.classes" />
|
<property name="test.classes.dir" value="${build.dir}/temp/${ant.project.name}/test.classes" />
|
||||||
@@ -131,7 +131,7 @@
|
|||||||
outputdirectory="${build.dir}"
|
outputdirectory="${build.dir}"
|
||||||
name="DIYLC"
|
name="DIYLC"
|
||||||
jvmrequired="1.8"
|
jvmrequired="1.8"
|
||||||
copyright="2020 bancika"
|
copyright="2022 bancika"
|
||||||
displayname="DIY Layout Creator"
|
displayname="DIY Layout Creator"
|
||||||
identifier="org.diylc.Desktop"
|
identifier="org.diylc.Desktop"
|
||||||
shortversion="${diylc.version}"
|
shortversion="${diylc.version}"
|
||||||
@@ -151,6 +151,7 @@
|
|||||||
extensions="diy" />
|
extensions="diy" />
|
||||||
<runtime dir="${osx.jre8m1.path}" />
|
<runtime dir="${osx.jre8m1.path}" />
|
||||||
<arch name="arm64" />
|
<arch name="arm64" />
|
||||||
|
<arch name="arm64e" />
|
||||||
<classpath file="${jar.dir}\diylc.jar" />
|
<classpath file="${jar.dir}\diylc.jar" />
|
||||||
<classpath file="${jar.dir}\lib\*.jar" />
|
<classpath file="${jar.dir}\lib\*.jar" />
|
||||||
<classpath file="${jar.dir}\library\*.jar" />
|
<classpath file="${jar.dir}\library\*.jar" />
|
||||||
|
|||||||
@@ -37,6 +37,14 @@
|
|||||||
<update_contact>nbenitezl_AT_gmail.com</update_contact>
|
<update_contact>nbenitezl_AT_gmail.com</update_contact>
|
||||||
<content_rating type="oars-1.1"/>
|
<content_rating type="oars-1.1"/>
|
||||||
<releases>
|
<releases>
|
||||||
|
<release version="4.30.1" date="2022-10-23">
|
||||||
|
<description>
|
||||||
|
<ul>
|
||||||
|
<li>[New Feature] Fix the build that wouldn't run due to a missing package</li>
|
||||||
|
</ul>
|
||||||
|
</description>
|
||||||
|
<url>https://github.com/bancika/diy-layout-creator/releases/tag/v4.30.1</url>
|
||||||
|
</release>
|
||||||
<release version="4.30.0" date="2022-10-22">
|
<release version="4.30.0" date="2022-10-22">
|
||||||
<description>
|
<description>
|
||||||
<ul>
|
<ul>
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user