Home
last modified time | relevance | path

Searched refs:contentTypeManager (Results 1 – 16 of 16) sorted by relevance

/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.resources/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/content/
H A DIContentTypeManagerTest.java634 finder = contentTypeManager in testContentDetection()
1421 contentTypes = contentTypeManager in testRootElementAndDTDDescriber()
1425 contentTypes = contentTypeManager in testRootElementAndDTDDescriber()
1433 contentTypes = contentTypeManager in testRootElementAndDTDDescriber()
1437 contentTypes = contentTypeManager in testRootElementAndDTDDescriber()
1441 contentTypes = contentTypeManager in testRootElementAndDTDDescriber()
1445 contentTypes = contentTypeManager in testRootElementAndDTDDescriber()
1449 contentTypes = contentTypeManager in testRootElementAndDTDDescriber()
1454 contentTypes = contentTypeManager in testRootElementAndDTDDescriber()
1458 contentTypes = contentTypeManager in testRootElementAndDTDDescriber()
[all …]
H A DSpecificContextTest.java94 IContentTypeManager contentTypeManager = Platform.getContentTypeManager(); in testIsAssociatedWith() local
96 …IContentType textContentType = contentTypeManager.getContentType(Platform.PI_RUNTIME + '.' + "text… in testIsAssociatedWith()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.resources/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/
H A DContentDescriptionManagerTest.java70 IContentTypeManager contentTypeManager = Platform.getContentTypeManager(); in testBug79151() local
71 IContentType xml = contentTypeManager.getContentType("org.eclipse.core.runtime.xml"); in testBug79151()
129 IContentTypeManager contentTypeManager = Platform.getContentTypeManager(); in testBug94516() local
130 IContentType text = contentTypeManager.getContentType("org.eclipse.core.runtime.text"); in testBug94516()
200 IContentTypeManager contentTypeManager = Platform.getContentTypeManager(); in testNatureContentTypeAssociation() local
269 IContentTypeManager contentTypeManager = Platform.getContentTypeManager(); in testProjectSpecificCharset() local
270 IContentType text = contentTypeManager.getContentType("org.eclipse.core.runtime.text"); in testProjectSpecificCharset()
271 IContentType xml = contentTypeManager.getContentType("org.eclipse.core.runtime.xml"); in testProjectSpecificCharset()
318 IContentTypeManager contentTypeManager = Platform.getContentTypeManager(); in testProjectSpecificFileAssociations() local
319 IContentType text = contentTypeManager.getContentType("org.eclipse.core.runtime.text"); in testProjectSpecificFileAssociations()
[all …]
H A DCharsetTest.java320 IContentTypeManager contentTypeManager = Platform.getContentTypeManager(); in testBug62732() local
321 …IContentType anotherXML = contentTypeManager.getContentType("org.eclipse.core.tests.resources.anot… in testBug62732()
337 IContentTypeManager contentTypeManager = Platform.getContentTypeManager(); in testBug64503() local
338 IContentType text = contentTypeManager.getContentType("org.eclipse.core.runtime.text"); in testBug64503()
1008 IContentTypeManager contentTypeManager = Platform.getContentTypeManager(); in testDeltaOnContentTypeChanges() local
1009 …IContentType myType = contentTypeManager.getContentType("org.eclipse.core.tests.resources.myConten… in testDeltaOnContentTypeChanges()
1407 IContentTypeManager contentTypeManager = Platform.getContentTypeManager(); in testGetCharsetFor() local
1409 IContentType xml = contentTypeManager.getContentType("org.eclipse.core.runtime.xml"); in testGetCharsetFor()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.pde.ui/ui/org.eclipse.pde.genericeditor.extension/src/org/eclipse/pde/internal/genericeditor/target/extension/expressions/
H A DEditorInputPropertyTester.java31 IContentTypeManager contentTypeManager = Platform.getContentTypeManager(); in test() local
32 IContentType expected = contentTypeManager.getContentType(identifier); in test()
34 IContentType[] contentTypesFor = contentTypeManager.findContentTypesFor(editorInput.getName()); in test()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.resources/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/resources/
H A DCharsetDeltaJob.java205 IContentTypeManager contentTypeManager = Platform.getContentTypeManager(); in shutdown() local
207 if (contentTypeManager != null) in shutdown()
208 contentTypeManager.removeContentTypeChangeListener(this); in shutdown()
H A DFileState.java54 IContentTypeManager contentTypeManager = Platform.getContentTypeManager(); in getCharset()
56 …IContentDescription description = contentTypeManager.getDescriptionFor(contents, getName(), new Qu… in getCharset()
H A DContentDescriptionManager.java341 IContentTypeManager contentTypeManager = Platform.getContentTypeManager(); in getDescriptionFor() local
343 IContentType type = contentTypeManager.findContentTypeFor(file.getName()); in getDescriptionFor()
509 IContentTypeManager contentTypeManager = Platform.getContentTypeManager(); in shutdown() local
511 if (contentTypeManager != null) in shutdown()
512 contentTypeManager.removeContentTypeChangeListener(this); in shutdown()
H A DFile.java219 IContentTypeManager contentTypeManager = Platform.getContentTypeManager(); in getCharsetFor() local
220 …description = contentTypeManager.getDescriptionFor(contents, getName(), new QualifiedName[] {ICont… in getCharsetFor()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/registry/
H A DEditorRegistry.java170 private final IContentTypeManager contentTypeManager; field in EditorRegistry
180 public EditorRegistry(IContentTypeManager contentTypeManager) { in EditorRegistry() argument
182 this.contentTypeManager = contentTypeManager; in EditorRegistry()
187 contentTypeManager.addContentTypeChangeListener(event -> { in EditorRegistry()
188 if (contentTypeManager.getContentType(event.getContentType().getId()) == null) { in EditorRegistry()
261 IContentType contentType = contentTypeManager.getContentType(contentTypeId); in addEditorFromPlugin()
353 IContentType[] contentTypes = contentTypeManager.findContentTypesFor(filename); in getDefaultEditor()
371 return contentTypeManager.findContentTypeFor(filename); in guessAtContentType()
751 IContentType contentType = contentTypeManager.getContentType(contentTypeId); in readResources()
1535 for (IContentType type : contentTypeManager.getAllContentTypes()) { in getUnifiedMappings()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.text/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/
H A DContentAssistProcessorRegistry.java72 IContentTypeManager contentTypeManager= Platform.getContentTypeManager(); in isActive() local
73 for (IContentType currentContentType : contentTypeManager.findContentTypesFor(fileName)) { in isActive()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.team/bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/
H A DTeamPlugin.java170 IContentTypeManager contentTypeManager = Platform.getContentTypeManager(); in getContentDescription() local
172 return contentTypeManager.getDescriptionFor(stream, name, IContentDescription.ALL); in getContentDescription()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/api/
H A DIEditorRegistryTest.java635 ContentTypeManager contentTypeManager = (ContentTypeManager) Platform.getContentTypeManager(); in testRemoveContentType_bug520239() local
636 IContentType contentType = contentTypeManager.addContentType("bug520239", "bug520239", null); in testRemoveContentType_bug520239()
646 contentTypeManager.removeContentType(contentType.getId()); in testRemoveContentType_bug520239()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.pde.ui/apitools/org.eclipse.pde.api.tools.tests/test-builder/perf/incremental/non-api-non-struc-change/revert/
H A DFile.java243 IContentTypeManager contentTypeManager = Platform.getContentTypeManager(); in getCharsetFor() local
244 …description = contentTypeManager.getDescriptionFor(contents, getName(), new QualifiedName[] {ICont… in getCharsetFor()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.pde.ui/apitools/org.eclipse.pde.api.tools.tests/test-builder/perf/incremental/non-api-non-struc-change/changed/
H A DFile.java243 IContentTypeManager contentTypeManager = Platform.getContentTypeManager(); in getCharsetFor() local
244 …description = contentTypeManager.getDescriptionFor(contents, getName(), new QualifiedName[] {ICont… in getCharsetFor()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.core/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/
H A DJavaModelManager.java5474 IContentTypeManager contentTypeManager = Platform.getContentTypeManager(); in shutdown() local
5475 if (contentTypeManager != null) { in shutdown()
5476 contentTypeManager.removeContentTypeChangeListener(this); in shutdown()