Browse Source

revert code

final/10.0
Wim.Zhai 6 years ago
parent
commit
6de15112dd
  1. 7
      designer-base/src/main/java/com/fr/design/mainframe/backgroundpane/ColorBackgroundQuickPane.java
  2. 4
      designer-base/src/main/java/com/fr/design/style/color/NewColorSelectPane.java

7
designer-base/src/main/java/com/fr/design/mainframe/backgroundpane/ColorBackgroundQuickPane.java

@ -26,13 +26,6 @@ public class ColorBackgroundQuickPane extends BackgroundQuickPane {
this.add(detailColorSelectPane, BorderLayout.NORTH);
}
public ColorBackgroundQuickPane(Color color) {
this.setLayout(FRGUIPaneFactory.createBorderLayout());
detailColorSelectPane = new NewColorSelectPane(color);
this.add(detailColorSelectPane, BorderLayout.NORTH);
}
public void populateBean(Background background) {
ColorBackground colorBackgroud = (ColorBackground) background;
populateColor(colorBackgroud.getColor());

4
designer-base/src/main/java/com/fr/design/style/color/NewColorSelectPane.java

@ -54,10 +54,6 @@ public class NewColorSelectPane extends BasicPane implements ColorSelectable {
this(false);
}
public NewColorSelectPane(Color color) {
this(false);
this.setColor(color);
}
/**
* Constructor.

Loading…
Cancel
Save