org.eclipse.ui.internal.wizards.datatransfer.ILeveledImportStructureProvider Java Examples
The following examples show how to use
org.eclipse.ui.internal.wizards.datatransfer.ILeveledImportStructureProvider.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ProjectResource.java From translationstudio8 with GNU General Public License v2.0 | 5 votes |
/** * 该构造函数主要是针对项目用的 * @param entry * @param proRecord */ public ProjectResource(Object entry, ProjectRecord proRecord, ILeveledImportStructureProvider structureProvider){ this.element = entry; this.proRecord = proRecord; this.projectName = this.proRecord.getProjectName(); this.structureProvider = structureProvider; // 备注,下面这四个初始化的方法,位置不能更换。 root = ResourcesPlugin.getWorkspace().getRoot(); isProject = true; initIsProjectRepeat(); initData(); initChildren(); }
Example #2
Source File: ProjectResource.java From translationstudio8 with GNU General Public License v2.0 | 5 votes |
/** * 该构造函数主要针对项目下的文件夹或者文件 * @param entry * @param parent * @param projectName * @param isProjectRepeat * @param structureProvider */ public ProjectResource(Object entry, ProjectResource parent, String projectName, boolean isProjectRepeat, ILeveledImportStructureProvider structureProvider){ this.element = entry; this.parent = parent; this.projectName = projectName; this.isProjectRepeat = isProjectRepeat; this.structureProvider = structureProvider; // 备注,下面这四个初始化的方法,位置不能更换。 root = ResourcesPlugin.getWorkspace().getRoot(); isProject = false; initIsElementRepeat(); initData(); initChildren(); }
Example #3
Source File: ProjectResource.java From tmxeditor8 with GNU General Public License v2.0 | 5 votes |
/** * 该构造函数主要是针对项目用的 * @param entry * @param proRecord */ public ProjectResource(Object entry, ProjectRecord proRecord, ILeveledImportStructureProvider structureProvider){ this.element = entry; this.proRecord = proRecord; this.projectName = this.proRecord.getProjectName(); this.structureProvider = structureProvider; // 备注,下面这四个初始化的方法,位置不能更换。 root = ResourcesPlugin.getWorkspace().getRoot(); isProject = true; initIsProjectRepeat(); initData(); initChildren(); }
Example #4
Source File: ProjectResource.java From tmxeditor8 with GNU General Public License v2.0 | 5 votes |
/** * 该构造函数主要针对项目下的文件夹或者文件 * @param entry * @param parent * @param projectName * @param isProjectRepeat * @param structureProvider */ public ProjectResource(Object entry, ProjectResource parent, String projectName, boolean isProjectRepeat, ILeveledImportStructureProvider structureProvider){ this.element = entry; this.parent = parent; this.projectName = projectName; this.isProjectRepeat = isProjectRepeat; this.structureProvider = structureProvider; // 备注,下面这四个初始化的方法,位置不能更换。 root = ResourcesPlugin.getWorkspace().getRoot(); isProject = false; initIsElementRepeat(); initData(); initChildren(); }
Example #5
Source File: FileSystemObjectLeveledImportStructureProvider.java From tracecompass with Eclipse Public License 2.0 | 4 votes |
FileSystemObjectLeveledImportStructureProvider(ILeveledImportStructureProvider importStructureProvider, String archivePath) { super(importStructureProvider, archivePath); fLeveledImportProvider = importStructureProvider; }