3 changed files with 74 additions and 2 deletions
@ -0,0 +1,20 @@ |
|||||||
|
package com.fr.design.fun; |
||||||
|
|
||||||
|
import com.fr.stable.fun.mark.Immutable; |
||||||
|
|
||||||
|
|
||||||
|
/** |
||||||
|
* Created by zpc on 16/7/21. |
||||||
|
*/ |
||||||
|
public interface ShowParameterWindow extends Immutable { |
||||||
|
|
||||||
|
String MARK_STRING = "ShowParameter"; |
||||||
|
|
||||||
|
int CURRENT_LEVEL = 1; |
||||||
|
|
||||||
|
/** |
||||||
|
* 生成属性表 |
||||||
|
*/ |
||||||
|
void add(); |
||||||
|
} |
||||||
|
|
@ -0,0 +1,30 @@ |
|||||||
|
package com.fr.design.fun.impl; |
||||||
|
|
||||||
|
import com.fr.design.fun.ShowParameterWindow; |
||||||
|
import com.fr.stable.fun.mark.API; |
||||||
|
|
||||||
|
|
||||||
|
/** |
||||||
|
* Created by zpc on 2016/7/21. |
||||||
|
*/ |
||||||
|
@API(level = ShowParameterWindow.CURRENT_LEVEL) |
||||||
|
public abstract class AbstractShowParameterWindowProvider implements ShowParameterWindow { |
||||||
|
|
||||||
|
public int currentAPILevel() { |
||||||
|
return CURRENT_LEVEL; |
||||||
|
} |
||||||
|
|
||||||
|
public int layerIndex() { |
||||||
|
return DEFAULT_LAYER_INDEX; |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/** |
||||||
|
* 生成属性表 |
||||||
|
*/ |
||||||
|
@Override |
||||||
|
public void add() { |
||||||
|
|
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue