diff --git a/plugin.xml b/plugin.xml index 0d82d8c..dc950d1 100644 --- a/plugin.xml +++ b/plugin.xml @@ -4,9 +4,9 @@ yes 1.0 - 8.0 - 2015-08-09 - 蜘蛛侠 + 10.0 + 2018-10-09 + author @@ -16,5 +16,5 @@ - + \ No newline at end of file diff --git a/src/main/java/com/fr/plugin/present/PresentKindBridge.java b/src/main/java/com/fr/plugin/present/PresentKindBridge.java index ab44acd..909af95 100644 --- a/src/main/java/com/fr/plugin/present/PresentKindBridge.java +++ b/src/main/java/com/fr/plugin/present/PresentKindBridge.java @@ -3,7 +3,7 @@ package com.fr.plugin.present; import com.fr.base.present.Present; import com.fr.design.beans.FurtherBasicBeanPane; import com.fr.design.fun.impl.AbstractPresentKindProvider; -import com.fr.plugin.present.fun.MyPresent; +import com.fr.plugin.present.fun.StarPresent; import com.fr.plugin.present.ui.MyPresentPane; /** @@ -25,7 +25,7 @@ public class PresentKindBridge extends AbstractPresentKindProvider { @Override public Class kindOfPresent() { - return MyPresent.class; + return StarPresent.class; } @Override diff --git a/src/main/java/com/fr/plugin/present/fun/MyPresent.java b/src/main/java/com/fr/plugin/present/fun/StarPresent.java similarity index 93% rename from src/main/java/com/fr/plugin/present/fun/MyPresent.java rename to src/main/java/com/fr/plugin/present/fun/StarPresent.java index c8d4132..7d1094b 100644 --- a/src/main/java/com/fr/plugin/present/fun/MyPresent.java +++ b/src/main/java/com/fr/plugin/present/fun/StarPresent.java @@ -15,7 +15,7 @@ import com.fr.stable.xml.XMLableReader; * @since 8.0 */ @EnableMetrics -public class MyPresent extends AbstractPresent { +public class StarPresent extends AbstractPresent { @Override @Focus(id = "com.fr.plugin.present.demo", text = "", source = Original.PLUGIN) diff --git a/src/main/java/com/fr/plugin/present/ui/MyPresentPane.java b/src/main/java/com/fr/plugin/present/ui/MyPresentPane.java index e325a20..e7035ad 100644 --- a/src/main/java/com/fr/plugin/present/ui/MyPresentPane.java +++ b/src/main/java/com/fr/plugin/present/ui/MyPresentPane.java @@ -2,7 +2,7 @@ package com.fr.plugin.present.ui; import com.fr.design.beans.FurtherBasicBeanPane; import com.fr.design.gui.itextfield.UITextField; -import com.fr.plugin.present.fun.MyPresent; +import com.fr.plugin.present.fun.StarPresent; import java.awt.*; @@ -11,7 +11,7 @@ import java.awt.*; * @date 2015-05-24 * @since 8.0 */ -public class MyPresentPane extends FurtherBasicBeanPane{ +public class MyPresentPane extends FurtherBasicBeanPane{ private UITextField textField; public MyPresentPane() { @@ -27,7 +27,7 @@ public class MyPresentPane extends FurtherBasicBeanPane{ @Override public boolean accept(Object ob) { - return ob instanceof MyPresent; + return ob instanceof StarPresent; } @Override @@ -41,12 +41,12 @@ public class MyPresentPane extends FurtherBasicBeanPane{ } @Override - public void populateBean(MyPresent ob) { + public void populateBean(StarPresent ob) { } @Override - public MyPresent updateBean() { - return new MyPresent(); + public StarPresent updateBean() { + return new StarPresent(); } } \ No newline at end of file