Package com._1c.g5.v8.dt.hpwa.resource
Class HpwaResourceContentImporter
- java.lang.Object
-
- com._1c.g5.v8.dt.core.provider.BaseSingleResourceObjectImporter
-
- com._1c.g5.v8.dt.core.provider.BaseSingleEmfResourceObjectImporter
-
- com._1c.g5.v8.dt.hpwa.resource.HpwaResourceContentImporter
-
- All Implemented Interfaces:
IResourceContentImporter
public final class HpwaResourceContentImporter extends BaseSingleEmfResourceObjectImporter
Home page work area content importer to Big Model.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com._1c.g5.v8.dt.core.provider.IResourceContentImporter
IResourceContentImporter.IImportTask, IResourceContentImporter.IMergeStrategy
-
-
Field Summary
-
Fields inherited from interface com._1c.g5.v8.dt.core.provider.IResourceContentImporter
PLATFORM_VERSION
-
-
Constructor Summary
Constructors Constructor Description HpwaResourceContentImporter(IResourceContentImporter.IMergeStrategy mergeStrategy, IQualifiedNameFilePathConverter qualifiedNameFilePathConverter, ISymbolicNameService symbolicNameService, IRuntimeVersionSupport runtimeVersionSupport, IResourceContentImporterExtensionManager resourceContentImporterExtensionManager)
Constructs a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getOrder()
Gets importer order.boolean
supports(org.eclipse.core.runtime.IPath path)
Checks if this importer supports the specified resource.-
Methods inherited from class com._1c.g5.v8.dt.core.provider.BaseSingleEmfResourceObjectImporter
doImportContent, getLoadOptions, resolveExternalReferencesDuringImport
-
Methods inherited from class com._1c.g5.v8.dt.core.provider.BaseSingleResourceObjectImporter
createTasks, processTask
-
-
-
-
Constructor Detail
-
HpwaResourceContentImporter
@Inject public HpwaResourceContentImporter(IResourceContentImporter.IMergeStrategy mergeStrategy, IQualifiedNameFilePathConverter qualifiedNameFilePathConverter, ISymbolicNameService symbolicNameService, IRuntimeVersionSupport runtimeVersionSupport, IResourceContentImporterExtensionManager resourceContentImporterExtensionManager)
Constructs a new instance.- Parameters:
mergeStrategy
- the merge strategy to use, may not benull
.qualifiedNameFilePathConverter
- the qualified name file path converter to use, may not benull
.symbolicNameService
- the symbolic name service to use, may not benull
.runtimeVersionSupport
- the runtime version support to use, may not benull
.resourceContentImporterExtensionManager
- the import extensions manager, may not benull
.
-
-
Method Detail
-
getOrder
public int getOrder()
Description copied from interface:IResourceContentImporter
Gets importer order. The lower the order value is, the earlier tasks created by this importer must be processed. The value ofInteger.MAX_VALUE
means that the tasks created by this importer should be processed when requested explicitly by the user.- Returns:
- the order value.
- See Also:
IBmModelManager.forceImport(IDtProject, String)
-
supports
public boolean supports(org.eclipse.core.runtime.IPath path)
Description copied from interface:IResourceContentImporter
Checks if this importer supports the specified resource.- Parameters:
path
- The path to the resource to check. May not benull
.- Returns:
true
if the resource is supported,false
otherwise.
-
-