Java 类com.intellij.uiDesigner.componentTree.ComponentSelectionListener 实例源码

项目:intellij-ce-playground    文件:QuickFixManagerImpl.java   
public QuickFixManagerImpl(final GuiEditor editor, final GlassLayer component, final JViewport viewPort) {
  super(editor, component, viewPort);
  editor.addComponentSelectionListener(new ComponentSelectionListener() {
    @Override
    public void selectedComponentChanged(GuiEditor source) {
      hideIntentionHint();
      updateIntentionHintVisibility();
    }
  });
}
项目:intellij-ce-playground    文件:GuiEditor.java   
/**
 * Fires event that selection changes
 */
public void fireSelectedComponentChanged() {
  final ComponentSelectionListener[] listeners = myListenerList.getListeners(ComponentSelectionListener.class);
  for (ComponentSelectionListener listener : listeners) {
    listener.selectedComponentChanged(this);
  }
}
项目:tools-idea    文件:GuiEditor.java   
/**
 * Fires event that selection changes
 */
public void fireSelectedComponentChanged() {
  final ComponentSelectionListener[] listeners = myListenerList.getListeners(ComponentSelectionListener.class);
  for (ComponentSelectionListener listener : listeners) {
    listener.selectedComponentChanged(this);
  }
}
项目:consulo-ui-designer    文件:QuickFixManagerImpl.java   
public QuickFixManagerImpl(final GuiEditor editor, final GlassLayer component, final JViewport viewPort)
{
    super(editor, component, viewPort);
    editor.addComponentSelectionListener(new ComponentSelectionListener()
    {
        @Override
        public void selectedComponentChanged(GuiEditor source)
        {
            hideIntentionHint();
            updateIntentionHintVisibility();
        }
    });
}
项目:consulo-ui-designer    文件:GuiEditor.java   
/**
 * Fires event that selection changes
 */
public void fireSelectedComponentChanged()
{
    final ComponentSelectionListener[] listeners = myListenerList.getListeners(ComponentSelectionListener.class);
    for(ComponentSelectionListener listener : listeners)
    {
        listener.selectedComponentChanged(this);
    }
}
项目:intellij-ce-playground    文件:GuiEditor.java   
/**
 * Removes specified selection listener
 */
public void removeComponentSelectionListener(final ComponentSelectionListener l) {
  myListenerList.remove(ComponentSelectionListener.class, l);
}
项目:tools-idea    文件:GuiEditor.java   
/**
 * Removes specified selection listener
 */
public void removeComponentSelectionListener(final ComponentSelectionListener l) {
  myListenerList.remove(ComponentSelectionListener.class, l);
}
项目:consulo-ui-designer    文件:GuiEditor.java   
/**
 * Adds specified selection listener. This listener gets notification each time
 * the selection in the component the changes.
 */
public void addComponentSelectionListener(final ComponentSelectionListener l)
{
    myListenerList.add(ComponentSelectionListener.class, l);
}
项目:consulo-ui-designer    文件:GuiEditor.java   
/**
 * Removes specified selection listener
 */
public void removeComponentSelectionListener(final ComponentSelectionListener l)
{
    myListenerList.remove(ComponentSelectionListener.class, l);
}
项目:intellij-ce-playground    文件:GuiEditor.java   
/**
 * Adds specified selection listener. This listener gets notification each time
 * the selection in the component the changes.
 */
public void addComponentSelectionListener(final ComponentSelectionListener l) {
  myListenerList.add(ComponentSelectionListener.class, l);
}
项目:tools-idea    文件:GuiEditor.java   
/**
 * Adds specified selection listener. This listener gets notification each time
 * the selection in the component the changes.
 */
public void addComponentSelectionListener(final ComponentSelectionListener l) {
  myListenerList.add(ComponentSelectionListener.class, l);
}