本文整理汇总了Java中com.intellij.uiDesigner.clientProperties.ClientPropertiesManager类的典型用法代码示例。如果您正苦于以下问题:Java ClientPropertiesManager类的具体用法?Java ClientPropertiesManager怎么用?Java ClientPropertiesManager使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ClientPropertiesManager类属于com.intellij.uiDesigner.clientProperties包,在下文中一共展示了ClientPropertiesManager类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getChildren
import com.intellij.uiDesigner.clientProperties.ClientPropertiesManager; //导入依赖的package包/类
@NotNull @Override
public Property[] getChildren(final RadComponent component) {
ClientPropertiesManager manager = ClientPropertiesManager.getInstance(component.getProject());
ClientPropertiesManager.ClientProperty[] props = manager.getClientProperties(component.getComponentClass());
Property[] result = new Property[props.length];
for(int i=0; i<props.length; i++) {
result [i] = new ClientPropertyProperty(this, props [i].getName(), props [i].getValueClass());
}
return result;
}
示例2: getChildren
import com.intellij.uiDesigner.clientProperties.ClientPropertiesManager; //导入依赖的package包/类
@NotNull @Override
public Property[] getChildren(final RadComponent component) {
ClientPropertiesManager manager = ClientPropertiesManager.getInstance(component.getProject());
List<ClientPropertiesManager.ClientProperty> props = manager.getClientProperties(component.getComponentClass());
Property[] result = new Property[props.size()];
for(int i=0; i<props.size(); i++) {
result [i] = new ClientPropertyProperty(this, props.get(i).getName(), props.get(i).getValueClass());
}
return result;
}