Package org.sylfra.idea.plugins.revu.settings.app

Examples of org.sylfra.idea.plugins.revu.settings.app.RevuAppSettingsComponent


  public RevuProjectSettingsForm(@NotNull Project project)
  {
    super(project);

    RevuAppSettingsComponent appSettingsComponent =
      ApplicationManager.getApplication().getComponent(RevuAppSettingsComponent.class);

    appSettingsListener = new IRevuSettingsListener<RevuAppSettings>()
    {
      public void settingsChanged(RevuAppSettings oldSettings, RevuAppSettings newSettings)
      {
        updateUIDependingOnAppSettings(newSettings);
      }
    };
    appSettingsComponent.addListener(appSettingsListener);
  }
View Full Code Here


        // Open App settings in a new dialog. Could also open settings using current dialog...
        RevuUtils.editAppSettings(project);
      }
    });

    RevuAppSettingsComponent appSettingsComponent =
      ApplicationManager.getApplication().getComponent(RevuAppSettingsComponent.class);
    updateUIDependingOnAppSettings(appSettingsComponent.getState());
  }
View Full Code Here

      public void settingsChanged(RevuAppSettings oldSettings, RevuAppSettings newSettings)
      {
        checkMessagePane();
      }
    };
    RevuAppSettingsComponent appSettingsComponent =
      ApplicationManager.getApplication().getComponent(RevuAppSettingsComponent.class);
    appSettingsComponent.addListener(appSettingsListener);
  }
View Full Code Here

  public void disposeComponent()
  {
    messageContent.dispose();

    RevuAppSettingsComponent appSettingsComponent =
      ApplicationManager.getApplication().getComponent(RevuAppSettingsComponent.class);
    appSettingsComponent.removeListener(appSettingsListener);
  }
View Full Code Here

    return RevuPlugin.PLUGIN_NAME + "." + getClass().getSimpleName();
  }

  public void initComponent()
  {
    final RevuAppSettingsComponent appSettingsComponent =
      ApplicationManager.getApplication().getComponent(RevuAppSettingsComponent.class);

    if (project != null)
    {
      StartupManager.getInstance(project).registerPostStartupActivity(new Runnable()
      {
        public void run()
        {
          checkLogin(appSettingsComponent.getState());
        }
      });
    }
  }
View Full Code Here

  public RevuProjectSettingsForm(@NotNull Project project)
  {
    super(project);

    RevuAppSettingsComponent appSettingsComponent =
      ApplicationManager.getApplication().getComponent(RevuAppSettingsComponent.class);

    appSettingsListener = new IRevuSettingsListener<RevuAppSettings>()
    {
      public void settingsChanged(RevuAppSettings oldSettings, RevuAppSettings newSettings)
      {
        updateUIDependingOnAppSettings(newSettings);
      }
    };
    appSettingsComponent.addListener(appSettingsListener);
  }
View Full Code Here

        // Open App settings in a new dialog. Could also open settings using current dialog...
        RevuUtils.editAppSettings(project);
      }
    });

    RevuAppSettingsComponent appSettingsComponent =
      ApplicationManager.getApplication().getComponent(RevuAppSettingsComponent.class);
    updateUIDependingOnAppSettings(appSettingsComponent.getState());
  }
View Full Code Here

    return RevuPlugin.PLUGIN_NAME + "." + getClass().getSimpleName();
  }

  public void initComponent()
  {
    final RevuAppSettingsComponent appSettingsComponent =
      ApplicationManager.getApplication().getComponent(RevuAppSettingsComponent.class);

    if (project != null)
    {
      StartupManager.getInstance(project).registerPostStartupActivity(new Runnable()
      {
        public void run()
        {
          checkLogin(appSettingsComponent.getState());
        }
      });
    }
  }
View Full Code Here

      public void settingsChanged(RevuAppSettings oldSettings, RevuAppSettings newSettings)
      {
        checkMessagePane();
      }
    };
    RevuAppSettingsComponent appSettingsComponent =
      ApplicationManager.getApplication().getComponent(RevuAppSettingsComponent.class);
    appSettingsComponent.addListener(appSettingsListener);
  }
View Full Code Here

  public void disposeComponent()
  {
    messageContent.dispose();

    RevuAppSettingsComponent appSettingsComponent =
      ApplicationManager.getApplication().getComponent(RevuAppSettingsComponent.class);
    appSettingsComponent.removeListener(appSettingsListener);
  }
View Full Code Here

TOP

Related Classes of org.sylfra.idea.plugins.revu.settings.app.RevuAppSettingsComponent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.