From 696ed56e0041d4da33a1d5e63324342ad5a48e65 Mon Sep 17 00:00:00 2001 From: kerry Date: Mon, 11 Nov 2019 15:09:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=BB=A7=E6=89=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fun/impl/AbstractMultiStyleUIConfigProvider.java | 8 ++------ .../fr/design/fun/impl/AbstractStyleUIConfigProvider.java | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/designer-base/src/main/java/com/fr/design/fun/impl/AbstractMultiStyleUIConfigProvider.java b/designer-base/src/main/java/com/fr/design/fun/impl/AbstractMultiStyleUIConfigProvider.java index 1ae4b7b07..260d4099b 100644 --- a/designer-base/src/main/java/com/fr/design/fun/impl/AbstractMultiStyleUIConfigProvider.java +++ b/designer-base/src/main/java/com/fr/design/fun/impl/AbstractMultiStyleUIConfigProvider.java @@ -2,6 +2,7 @@ package com.fr.design.fun.impl; import com.fr.design.fun.StyleUIConfigProvider; import com.fr.design.fun.MultiStyleUIConfigProvider; +import com.fr.stable.fun.impl.AbstractProvider; import com.fr.stable.fun.mark.API; import java.util.ArrayList; @@ -11,7 +12,7 @@ import java.util.List; * Created by kerry on 2019-11-11 */ @API(level = MultiStyleUIConfigProvider.CURRENT_LEVEL) -public abstract class AbstractMultiStyleUIConfigProvider implements MultiStyleUIConfigProvider { +public abstract class AbstractMultiStyleUIConfigProvider extends AbstractProvider implements MultiStyleUIConfigProvider { @Override public List getConfigList() { return new ArrayList(); @@ -22,9 +23,4 @@ public abstract class AbstractMultiStyleUIConfigProvider implements MultiStyleUI return CURRENT_LEVEL; } - @Override - public String mark4Provider() { - return getClass().getName(); - } - } diff --git a/designer-base/src/main/java/com/fr/design/fun/impl/AbstractStyleUIConfigProvider.java b/designer-base/src/main/java/com/fr/design/fun/impl/AbstractStyleUIConfigProvider.java index 2425df2ba..e3388feaf 100644 --- a/designer-base/src/main/java/com/fr/design/fun/impl/AbstractStyleUIConfigProvider.java +++ b/designer-base/src/main/java/com/fr/design/fun/impl/AbstractStyleUIConfigProvider.java @@ -3,6 +3,7 @@ package com.fr.design.fun.impl; import com.fr.base.Style; import com.fr.design.fun.StyleUIConfigProvider; import com.fr.stable.StringUtils; +import com.fr.stable.fun.impl.AbstractProvider; import com.fr.stable.fun.mark.API; import javax.swing.JComponent; @@ -12,17 +13,12 @@ import javax.swing.event.ChangeListener; * Created by kerry on 2019-11-11 */ @API(level = StyleUIConfigProvider.CURRENT_LEVEL) -public class AbstractStyleUIConfigProvider implements StyleUIConfigProvider { +public class AbstractStyleUIConfigProvider extends AbstractProvider implements StyleUIConfigProvider { @Override public int currentAPILevel() { return CURRENT_LEVEL; } - @Override - public String mark4Provider() { - return getClass().getName(); - } - @Override public String configName() { return StringUtils.EMPTY;