Java 类com.intellij.uiDesigner.propertyInspector.properties.IndentProperty 实例源码

项目:intellij-ce-playground    文件:IncreaseIndentAction.java   
protected void actionPerformed(final GuiEditor editor, final List<RadComponent> selection, final AnActionEvent e) {
  IndentProperty indentProperty = IndentProperty.getInstance(editor.getProject());
  for(RadComponent c: selection) {
    int indent = indentProperty.getValue(c).intValue();
    indentProperty.setValueEx(c, adjustIndent(indent));
  }
}
项目:tools-idea    文件:IncreaseIndentAction.java   
protected void actionPerformed(final GuiEditor editor, final List<RadComponent> selection, final AnActionEvent e) {
  IndentProperty indentProperty = IndentProperty.getInstance(editor.getProject());
  for(RadComponent c: selection) {
    int indent = indentProperty.getValue(c).intValue();
    indentProperty.setValueEx(c, adjustIndent(indent));
  }
}
项目:consulo-ui-designer    文件:IncreaseIndentAction.java   
protected void actionPerformed(final GuiEditor editor, final List<RadComponent> selection, final AnActionEvent e) {
  IndentProperty indentProperty = IndentProperty.getInstance(editor.getProject());
  for(RadComponent c: selection) {
    int indent = indentProperty.getValue(c).intValue();
    indentProperty.setValueEx(c, adjustIndent(indent));
  }
}