Java 类com.intellij.uiDesigner.designSurface.GridCaptionPanel 实例源码

项目:intellij-ce-playground    文件:PropertyInspector.java   
private boolean showSelectedColumnProperties() {
  if (myCustomPropertiesPanel != null && myPropertiesPanelContainer != null &&
      IJSwingUtilities.hasFocus(myCustomPropertiesPanel.getComponent())) {
    return true;
  }
  if (myEditor == null) return false;
  GridCaptionPanel panel = myEditor.getFocusedCaptionPanel();
  if (panel == null) return false;
  RadContainer container = panel.getSelectedContainer();
  if (container == null) return false;
  final int[] selection = panel.getSelectedCells(null);
  myPropertiesPanelContainer = container;
  final CustomPropertiesPanel propertiesPanel = container.getGridLayoutManager().getRowColumnPropertiesPanel(container, panel.isRow(), selection);
  if (propertiesPanel == null) return false;
  showCustomPropertiesPanel(propertiesPanel);
  return true;
}
项目:tools-idea    文件:PropertyInspector.java   
private boolean showSelectedColumnProperties() {
  if (myCustomPropertiesPanel != null && myPropertiesPanelContainer != null &&
      IJSwingUtilities.hasFocus(myCustomPropertiesPanel.getComponent())) {
    return true;
  }
  if (myEditor == null) return false;
  GridCaptionPanel panel = myEditor.getFocusedCaptionPanel();
  if (panel == null) return false;
  RadContainer container = panel.getSelectedContainer();
  if (container == null) return false;
  final int[] selection = panel.getSelectedCells(null);
  myPropertiesPanelContainer = container;
  final CustomPropertiesPanel propertiesPanel = container.getGridLayoutManager().getRowColumnPropertiesPanel(container, panel.isRow(), selection);
  if (propertiesPanel == null) return false;
  showCustomPropertiesPanel(propertiesPanel);
  return true;
}
项目:consulo-ui-designer    文件:PropertyInspector.java   
private boolean showSelectedColumnProperties() {
  if (myCustomPropertiesPanel != null && myPropertiesPanelContainer != null &&
      IJSwingUtilities.hasFocus(myCustomPropertiesPanel.getComponent())) {
    return true;
  }
  if (myEditor == null) return false;
  GridCaptionPanel panel = myEditor.getFocusedCaptionPanel();
  if (panel == null) return false;
  RadContainer container = panel.getSelectedContainer();
  if (container == null) return false;
  final int[] selection = panel.getSelectedCells(null);
  myPropertiesPanelContainer = container;
  final CustomPropertiesPanel propertiesPanel = container.getGridLayoutManager().getRowColumnPropertiesPanel(container, panel.isRow(), selection);
  if (propertiesPanel == null) return false;
  showCustomPropertiesPanel(propertiesPanel);
  return true;
}