Skip to content

Commit

Permalink
Added sort-by-date feature
Browse files Browse the repository at this point in the history
  • Loading branch information
jpaulm committed Sep 17, 2019
1 parent b0f1417 commit 9f785f6
Show file tree
Hide file tree
Showing 5 changed files with 483 additions and 387 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Expand Up @@ -39,7 +39,7 @@ apply plugin: 'signing'



version = '2.17.0'
version = '2.18.0'


group = 'com.jpaulmorrison'
Expand Down Expand Up @@ -151,7 +151,7 @@ task writeNewPom << {
artifactId 'drawfbp-all'


version '2.17.0'
version '2.18.0'

inceptionYear '2016'
licenses {
Expand Down Expand Up @@ -199,7 +199,7 @@ uploadArchives {
url 'https://github.com/jpaulm/drawfbp'


version '2.17.0'
version '2.18.0'


scm {
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.jpaulmorrison</groupId>
<artifactId>drawfbp-all</artifactId>
<version>2.17.0</version>
<version>2.18.0</version>
<inceptionYear>2016</inceptionYear>
<licenses>
<license>
Expand Down
8 changes: 6 additions & 2 deletions src/main/java/com/jpaulmorrison/graphics/CodeManager.java
Expand Up @@ -281,8 +281,11 @@ boolean generateCode() {

descArray.put(new Integer(block.id), s);

if (!block.multiplex)
code += " " + genComp(s, c, gl.label) + "; \n";
if (!block.multiplex){
if (!block.visible)
s += "(invisible)";
code += " " + genComp(s, c, gl.label) + "; \n";
}
else {
if (block.mpxfactor == null) {
String d = (String) MyOptionPane.showInputDialog(
Expand Down Expand Up @@ -548,6 +551,7 @@ boolean generateCode() {
String genComp(String name, String className, String lang) {
if (className == null)
className = "????";

if (lang.equals("Java")) {
//if (!(className.equals("\"Invalid class\"")))
if (!(className.endsWith(".class")))
Expand Down

0 comments on commit 9f785f6

Please sign in to comment.