Package com._1c.g5.v8.dt.core.platform
Interface IExtensionProjectManager
-
- All Superinterfaces:
IDependentProjectManager
,IManagedService
,IProjectSpecificManager
public interface IExtensionProjectManager extends IManagedService, IDependentProjectManager
Manager of V8 configuration extension projects.- See Also:
IV8ProjectManager
,IExtensionProject
- Restriction:
- This interface is not intended to be extended by clients.
- Restriction:
- This interface is not intended to be implemented by clients.
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
Service name.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.core.resources.IProject
create(String projectName, Version version, Configuration configuration, org.eclipse.core.resources.IProject parent, org.eclipse.core.runtime.IProgressMonitor monitor)
Creates V8 configuration extension project in workspace: Creates actual workspace project with the given name.org.eclipse.core.resources.IProject
create(String projectName, Path projectPath, Version version, Configuration configuration, org.eclipse.core.resources.IProject parent, org.eclipse.core.runtime.IProgressMonitor monitor)
Creates V8 configuration extension project: Creates actual project with the given name in the given path.-
Methods inherited from interface com._1c.g5.v8.dt.core.platform.IDependentProjectManager
setParent
-
Methods inherited from interface com._1c.g5.wiring.IManagedService
activate, deactivate
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
Service name. May be used in service recovery or service lifecycle orchestration.- See Also:
- Constant Field Values
-
-
Method Detail
-
create
org.eclipse.core.resources.IProject create(String projectName, Version version, Configuration configuration, org.eclipse.core.resources.IProject parent, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
Creates V8 configuration extension project in workspace:- Creates actual workspace project with the given name.
- Creates project manifest with the given
Version
content. - Creates underlying BM model.
- Attaches the given configuration (if not
null
) to the created project. - Sets provided parent
IConfigurationProject
as parent project, if notnull
Clients may later access project handle with
IV8ProjectManager
and created project handle will haveIExtensionProject
type.- Parameters:
projectName
- the name to create project with, cannot benull
version
- the 1C:Enterprise Runtime version to create project manifest with, cannot benull
configuration
- the configuration to attach to the project, ornull
then no configuration will be attached to the project during method executionparent
- the parent V8 configuration project ornull
if project is independentmonitor
- the progress monitor to report progress to ornull
if progress report is not needed- Returns:
- the created configuration project, never
null
- Throws:
org.eclipse.core.runtime.CoreException
- if an exception occurs while creating; reasons include:- project with provided name already exists
- project creation fail
- underlying BM model creation fail
-
create
org.eclipse.core.resources.IProject create(String projectName, Path projectPath, Version version, Configuration configuration, org.eclipse.core.resources.IProject parent, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
Creates V8 configuration extension project:- Creates actual project with the given name in the given path.
- Creates project manifest with the given
Version
content. - Creates underlying BM model.
- Attaches the given configuration (if not
null
) to the created project. - Sets provided parent
IConfigurationProject
as parent project, if notnull
Clients may later access project handle with
IV8ProjectManager
and created project handle will haveIExtensionProject
type.- Parameters:
projectName
- the name to create project with, cannot benull
projectPath
- the path to create project, cannot benull
version
- the 1C:Enterprise Runtime version to create project manifest with, cannot benull
configuration
- the configuration to attach to the project, ornull
then no configuration will be attached to the project during method executionparent
- the parent V8 configuration project ornull
if project is independentmonitor
- the progress monitor to report progress to ornull
if progress report is not needed- Returns:
- the created configuration project, never
null
- Throws:
org.eclipse.core.runtime.CoreException
- if an exception occurs while creating; reasons include:- project with provided name already exists
- project creation fail
- underlying BM model creation fail
-
-