Interface ProjectComponent

All Superinterfaces:
Disposable, org.springframework.beans.factory.DisposableBean
All Known Subinterfaces:
Clipboard, DatabaseMetadataManager, ProjectExComponent
All Known Implementing Classes:
AnalyticsPanel, AutoCompilation, BaseMetadataStore, ClipboardImpl, Compiler, ComponentCacheFileListener, ComponentLocalizationManager, ComponentsPanel, ConsoleComponentImpl, DatabaseComponent, DatabaseMetadataManagerImpl, DependencyManagerImpl, DeployManagerImpl, DescriptorFileListener, DescriptorMigrationListener, FileEditorManagerImpl, FileManagerImpl, FilesHierarchyPanel, IndexingComponent, InspectorManagerImpl, InternalDatabaseManagerImpl, JavaCompiler, JavaMetadataPluginExtension, JavaMetadataStore, JavaMetadataStoreInPackaging, JavaMetadataStoreInPackaging, JbpmDesignerContentDeploymentManager, MetadataValidatorComponent, PackageContextsHolder, PlatformVersionUpdater, PreviewImpl, ProjectExManagerImpl, ProjectInfoHelper, ResourcesMigrationListener, RolesPanel, ScriptsPanel, ServerInfoWriter, StudioIgnoreManagerImpl, TsMetadataStoreInPackaging, TypescriptCompiler, TypescriptMetadataStore, VersionControlGitImpl, WelcomeScreen

public interface ProjectComponent extends Disposable
user: Ildar date: 11.02.15
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    Перед закрытием в случае если вернуть false, то будет произведена отмена закрытия
    default void
    projectClosed(boolean applicationClosed)
    вызывается после закрытия проекта
    default void
    вызывается после открытия проекта
    default int
    определяет порядок того, как для всех слушателей будет вызван projectOpened()}.

    Methods inherited from interface ru.cg.webbpm.studio.core.api.components.Disposable

    destroy, dispose
  • Method Details

    • projectOpened

      default void projectOpened()
      вызывается после открытия проекта
    • projectClosed

      default void projectClosed(boolean applicationClosed)
      вызывается после закрытия проекта
      Parameters:
      applicationClosed - Проект был закрыт при закрытии приложения
    • canCloseProject

      default boolean canCloseProject()
      Перед закрытием в случае если вернуть false, то будет произведена отмена закрытия
    • weight

      default int weight()
      определяет порядок того, как для всех слушателей будет вызван projectOpened()}.