Skip to content

Commit

Permalink
Also return the parameters of the super class -a (renderextra).
Browse files Browse the repository at this point in the history
  • Loading branch information
egonw committed May 19, 2012
1 parent 150e1ed commit b132ebb
Showing 1 changed file with 7 additions and 7 deletions.
Expand Up @@ -20,7 +20,7 @@

import java.awt.Color;
import java.io.IOException;
import java.util.Arrays;
import java.util.ArrayList;
import java.util.List;
import java.util.Stack;

Expand Down Expand Up @@ -201,11 +201,11 @@ public Position getPosition(IAtom atom, IAtom connectedAtom) {
}

public List<IGeneratorParameter<?>> getParameters() {
return Arrays.asList(
new IGeneratorParameter<?>[] {
showImplicitHydrogens,
showAtomTypeNames
}
);
List<IGeneratorParameter<?>> parameters =
new ArrayList<IGeneratorParameter<?>>();
parameters.add(showImplicitHydrogens);
parameters.add(showAtomTypeNames);
parameters.addAll(super.getParameters());
return parameters;
}
}

0 comments on commit b132ebb

Please sign in to comment.