private static IStructureCreator getStructureCreator(ITypedElement element) { StructureCreatorDescriptor scd= CompareUIPlugin.getDefault().getStructureCreator(element.getType()); if (scd != null) { return scd.createStructureCreator(); } return null; }
if (!STRUCTURE_CREATOR.equals(name)) logErrorMessage(Utilities.getFormattedString("CompareUIPlugin.unexpectedTag", name, STRUCTURE_CREATOR)); //$NON-NLS-1$ fStructureCreators.register(element, new StructureCreatorDescriptor(element));
/** * Create and return a structure creator for the given typed element. * Return <code>null</code> if an appropriate structure creator could * not be obtained. * @param element the typed element * @return structure creator for the given typed element or <code>null</code> * @since 3.4 */ public static IStructureCreator createStructureCreator(ITypedElement element) { StructureCreatorDescriptor scd= CompareUIPlugin.getDefault().getStructureCreator(element.getType()); if (scd != null) { return scd.createStructureCreator(); } return null; }
if (!STRUCTURE_CREATOR.equals(name)) logErrorMessage(Utilities.getFormattedString("CompareUIPlugin.unexpectedTag", name, STRUCTURE_CREATOR)); //$NON-NLS-1$ fStructureCreators.register(element, new StructureCreatorDescriptor(element));
StructureCreatorDescriptor scd= CompareUIPlugin.getDefault().getStructureCreator(type); if (scd != null) structureCreator= scd.createStructureCreator();
StructureCreatorDescriptor scd= CompareUIPlugin.getDefault().getStructureCreator(type); if (scd != null) structureCreator= scd.createStructureCreator();
StructureCreatorDescriptor scd= CompareUIPlugin.getDefault().getStructureCreator(type); if (scd != null) structureCreator= scd.createStructureCreator();
StructureCreatorDescriptor scd= CompareUIPlugin.getDefault().getStructureCreator(type); if (scd != null) structureCreator= scd.createStructureCreator();
IStructureCreator sc= scc.createStructureCreator(); if (sc != null) { StructureDiffViewer sdv= new StructureDiffViewer(parent, configuration);
IStructureCreator sc= scc.createStructureCreator(); if (sc != null) { StructureDiffViewer sdv= new StructureDiffViewer(parent, configuration);