com.intellij.ui.ActiveComponent Java Examples
The following examples show how to use
com.intellij.ui.ActiveComponent.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: CompositeActiveComponent.java From dagger-intellij-plugin with Apache License 2.0 | 5 votes |
public CompositeActiveComponent(@NotNull ActiveComponent... components) { myComponents = components; myComponent = new JPanel(new FlowLayout()); myComponent.setOpaque(false); for (ActiveComponent component : components) { myComponent.add(component.getComponent()); } }
Example #2
Source File: CompositeActiveComponent.java From consulo with Apache License 2.0 | 5 votes |
public CompositeActiveComponent(@Nonnull ActiveComponent... components) { myComponents = components; myComponent = new JPanel(new FlowLayout()); myComponent.setOpaque(false); for (ActiveComponent component : components) { myComponent.add(component.getComponent()); } }
Example #3
Source File: CompositeActiveComponent.java From otto-intellij-plugin with Apache License 2.0 | 5 votes |
public CompositeActiveComponent(@NotNull ActiveComponent... components) { myComponents = components; myComponent = new JPanel(new FlowLayout()); myComponent.setOpaque(false); for (ActiveComponent component : components) { myComponent.add(component.getComponent()); } }
Example #4
Source File: CompositeActiveComponent.java From dagger-intellij-plugin with Apache License 2.0 | 4 votes |
@Override public void setActive(boolean active) { for (ActiveComponent component : myComponents) { component.setActive(active); } }
Example #5
Source File: PopupChooserBuilder.java From consulo with Apache License 2.0 | 4 votes |
public PopupChooserBuilder<T> setCommandButton(@Nonnull ActiveComponent commandButton) { myCommandButton = commandButton; return this; }
Example #6
Source File: ComponentPopupBuilder.java From consulo with Apache License 2.0 | 4 votes |
@Nonnull ComponentPopupBuilder setCommandButton(@Nonnull ActiveComponent commandButton);
Example #7
Source File: ComponentPopupBuilderImpl.java From consulo with Apache License 2.0 | 4 votes |
@Override @Nonnull public ComponentPopupBuilder setCommandButton(@Nonnull ActiveComponent button) { myCommandButton = button; return this; }
Example #8
Source File: CompositeActiveComponent.java From consulo with Apache License 2.0 | 4 votes |
@Override public void setActive(boolean active) { for (ActiveComponent component : myComponents) { component.setActive(active); } }
Example #9
Source File: CompositeActiveComponent.java From otto-intellij-plugin with Apache License 2.0 | 4 votes |
@Override public void setActive(boolean active) { for (ActiveComponent component : myComponents) { component.setActive(active); } }