forked from fanruan/design
Browse Source
* commit '181473e663020e1bb4ac35a507a0665cfac749d4': 代码规范 修改一些规范问题 他装了插件后, 可以设置显示或者不显示 装了插件后, 可以设置显示或者不显示 装了插件后, 可以设置显示或者不显示 去掉qq帮助,并在关于软件中显示qq号码,冻结时给提示master
superman
8 years ago
7 changed files with 146 additions and 9 deletions
@ -0,0 +1,20 @@
|
||||
package com.fr.design.fun; |
||||
|
||||
import com.fr.design.designer.creator.CRPropertyDescriptor; |
||||
import com.fr.stable.fun.mark.Immutable; |
||||
|
||||
/** |
||||
* Created by zpc on 16/7/21. |
||||
*/ |
||||
public interface ParameterWindowEditorProcessor extends Immutable { |
||||
|
||||
String MARK_STRING = "ParameterWindowEditorProcessor"; |
||||
|
||||
int CURRENT_LEVEL = 1; |
||||
|
||||
/** |
||||
* 生成属性表 |
||||
*/ |
||||
CRPropertyDescriptor[] createPropertyDescriptor(Class<?> temp); |
||||
} |
||||
|
@ -0,0 +1,31 @@
|
||||
package com.fr.design.fun.impl; |
||||
|
||||
import com.fr.design.designer.creator.CRPropertyDescriptor; |
||||
import com.fr.design.fun.ParameterWindowEditorProcessor; |
||||
import com.fr.stable.fun.mark.API; |
||||
|
||||
|
||||
/** |
||||
* Created by zpc on 2016/7/21. |
||||
*/ |
||||
@API(level = ParameterWindowEditorProcessor.CURRENT_LEVEL) |
||||
public abstract class AbstractParameterWindowEditorProcessor implements ParameterWindowEditorProcessor { |
||||
|
||||
public int currentAPILevel() { |
||||
return CURRENT_LEVEL; |
||||
} |
||||
|
||||
public int layerIndex() { |
||||
return DEFAULT_LAYER_INDEX; |
||||
} |
||||
|
||||
|
||||
|
||||
/** |
||||
* 生成属性表 |
||||
*/ |
||||
@Override |
||||
public CRPropertyDescriptor[] createPropertyDescriptor(Class<?> temp) { |
||||
return new CRPropertyDescriptor[0]; |
||||
} |
||||
} |
Loading…
Reference in new issue