Package com._1c.g5.v8.dt.core.platform
Interface IDtProjectManager
-
public interface IDtProjectManager
Manages availableIDtProject
being registered at the moment
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IDtProject
getDtProject(String projectName)
Gets theIDtProject
associated with the specified project name.IDtProject
getDtProject(org.eclipse.core.resources.IProject project)
Gets theIDtProject
associated withIProject
org.eclipse.core.resources.IProject
getProject(IDtProject dtProject)
Gets theIProject
associated withIDtProject
boolean
isProjectActive(IDtProject dtProject)
Checks if the given project is active
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDtProject
IDtProject getDtProject(org.eclipse.core.resources.IProject project)
Gets theIDtProject
associated withIProject
- Parameters:
project
- TheIProject
to get theIDtProject
for. May benull
only in case if data incosistency of the project lifecycle- Returns:
- matching
IDtProject
-
getDtProject
IDtProject getDtProject(String projectName)
Gets theIDtProject
associated with the specified project name.
Just a while theprojectName
is a project name.- Parameters:
projectName
- The project name to get theIDtProject
for. May benull
only in case if data incosistency of the project lifecycle.- Returns:
- matching
IDtProject
ornull
if there is no matching instance.
-
getProject
org.eclipse.core.resources.IProject getProject(IDtProject dtProject)
Gets theIProject
associated withIDtProject
- Parameters:
dtProject
- TheIDtProject
to get theIProject
for. May benull
for non-workspace projects- Returns:
- The matching
IProject
if presents. May benull
for non-workspace projects
-
isProjectActive
boolean isProjectActive(IDtProject dtProject)
Checks if the given project is active- Parameters:
dtProject
- TargetIDtProject
. May not benull
- Returns:
- True if the project is active
-
-