6 changed files with 35 additions and 0 deletions
Binary file not shown.
Binary file not shown.
@ -0,0 +1,13 @@ |
|||||||
|
package com.fr.design.fun; |
||||||
|
|
||||||
|
import com.fr.stable.fun.mark.Aftermath; |
||||||
|
import com.fr.stable.fun.mark.Mutable; |
||||||
|
|
||||||
|
/** |
||||||
|
* Created by hzzz on 2017/11/30. |
||||||
|
*/ |
||||||
|
public interface TemplateTreeShortCutProvider extends Mutable, Aftermath { |
||||||
|
String XML_TAG = "TemplateTreeShortCut"; |
||||||
|
|
||||||
|
int CURRENT_LEVEL = 1; |
||||||
|
} |
@ -0,0 +1,22 @@ |
|||||||
|
package com.fr.design.fun.impl; |
||||||
|
|
||||||
|
import com.fr.design.actions.UpdateAction; |
||||||
|
import com.fr.design.fun.TemplateTreeShortCutProvider; |
||||||
|
import com.fr.stable.fun.mark.API; |
||||||
|
|
||||||
|
/** |
||||||
|
* Created by hzzz on 2017/11/30. |
||||||
|
*/ |
||||||
|
@API(level = TemplateTreeShortCutProvider.CURRENT_LEVEL) |
||||||
|
public abstract class AbstractTemplateTreeShortCutProvider extends UpdateAction implements TemplateTreeShortCutProvider { |
||||||
|
|
||||||
|
@Override |
||||||
|
public int currentAPILevel() { |
||||||
|
return TemplateTreeShortCutProvider.CURRENT_LEVEL; |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public String mark4Provider() { |
||||||
|
return getClass().getName(); |
||||||
|
} |
||||||
|
} |
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue