Search in sources :

Example 1 with FlexBCTree

use of com.intellij.lang.javascript.flex.actions.FlexBCTree in project intellij-plugins by JetBrains.

the class AirPackageDialog method createUIComponents.

private void createUIComponents() {
    myTree = new FlexBCTree(myProject, bc -> {
        final BuildConfigurationNature nature = bc.getNature();
        return nature.isApp() && !nature.isWebPlatform();
    });
    myTree.addToggleCheckBoxListener(new ChangeListener() {

        public void stateChanged(final ChangeEvent e) {
            updateControlsEnabledState();
        }
    });
}
Also used : UIUtil(com.intellij.util.ui.UIUtil) ActionListener(java.awt.event.ActionListener) TargetPlatform(com.intellij.flex.model.bc.TargetPlatform) ArrayList(java.util.ArrayList) FlexBuildConfiguration(com.intellij.lang.javascript.flex.projectStructure.model.FlexBuildConfiguration) DialogWrapper(com.intellij.openapi.ui.DialogWrapper) Project(com.intellij.openapi.project.Project) Messages(com.intellij.openapi.ui.Messages) ChangeListener(javax.swing.event.ChangeListener) Module(com.intellij.openapi.module.Module) ProjectStructureProblemType(com.intellij.openapi.roots.ui.configuration.projectRoot.daemon.ProjectStructureProblemType) ValidationInfo(com.intellij.openapi.ui.ValidationInfo) ChangeEvent(javax.swing.event.ChangeEvent) StringUtil(com.intellij.openapi.util.text.StringUtil) Collection(java.util.Collection) FlexBCTree(com.intellij.lang.javascript.flex.actions.FlexBCTree) FlexBundle(com.intellij.lang.javascript.flex.FlexBundle) ValidateFlashConfigurationsPrecompileTask(com.intellij.lang.javascript.flex.build.ValidateFlashConfigurationsPrecompileTask) ActionEvent(java.awt.event.ActionEvent) LocalFileSystem(com.intellij.openapi.vfs.LocalFileSystem) BuildConfigurationNature(com.intellij.flex.model.bc.BuildConfigurationNature) FlashProjectStructureProblem(com.intellij.lang.javascript.flex.build.FlashProjectStructureProblem) AirPackageProjectParameters(com.intellij.lang.javascript.flex.actions.airpackage.AirPackageProjectParameters) AirPackagingOptions(com.intellij.lang.javascript.flex.projectStructure.model.AirPackagingOptions) Pair(com.intellij.openapi.util.Pair) Ref(com.intellij.openapi.util.Ref) Consumer(com.intellij.util.Consumer) Condition(com.intellij.openapi.util.Condition) javax.swing(javax.swing) BuildConfigurationNature(com.intellij.flex.model.bc.BuildConfigurationNature) ChangeEvent(javax.swing.event.ChangeEvent) FlexBCTree(com.intellij.lang.javascript.flex.actions.FlexBCTree) ChangeListener(javax.swing.event.ChangeListener)

Example 2 with FlexBCTree

use of com.intellij.lang.javascript.flex.actions.FlexBCTree in project intellij-plugins by JetBrains.

the class AddAsSwcLibDialog method createUIComponents.

private void createUIComponents() {
    myBCTree = new FlexBCTree(myProject);
    myBCTree.setCheckedStatusForAll(false);
    myBCTree.setVisibleRowCount(Math.min(myBCTree.getRowCount(), 15));
}
Also used : FlexBCTree(com.intellij.lang.javascript.flex.actions.FlexBCTree)

Aggregations

FlexBCTree (com.intellij.lang.javascript.flex.actions.FlexBCTree)2 BuildConfigurationNature (com.intellij.flex.model.bc.BuildConfigurationNature)1 TargetPlatform (com.intellij.flex.model.bc.TargetPlatform)1 FlexBundle (com.intellij.lang.javascript.flex.FlexBundle)1 AirPackageProjectParameters (com.intellij.lang.javascript.flex.actions.airpackage.AirPackageProjectParameters)1 FlashProjectStructureProblem (com.intellij.lang.javascript.flex.build.FlashProjectStructureProblem)1 ValidateFlashConfigurationsPrecompileTask (com.intellij.lang.javascript.flex.build.ValidateFlashConfigurationsPrecompileTask)1 AirPackagingOptions (com.intellij.lang.javascript.flex.projectStructure.model.AirPackagingOptions)1 FlexBuildConfiguration (com.intellij.lang.javascript.flex.projectStructure.model.FlexBuildConfiguration)1 Module (com.intellij.openapi.module.Module)1 Project (com.intellij.openapi.project.Project)1 ProjectStructureProblemType (com.intellij.openapi.roots.ui.configuration.projectRoot.daemon.ProjectStructureProblemType)1 DialogWrapper (com.intellij.openapi.ui.DialogWrapper)1 Messages (com.intellij.openapi.ui.Messages)1 ValidationInfo (com.intellij.openapi.ui.ValidationInfo)1 Condition (com.intellij.openapi.util.Condition)1 Pair (com.intellij.openapi.util.Pair)1 Ref (com.intellij.openapi.util.Ref)1 StringUtil (com.intellij.openapi.util.text.StringUtil)1 LocalFileSystem (com.intellij.openapi.vfs.LocalFileSystem)1