| java.lang.Object org.eclipse.pde.internal.ui.editor.text.XMLUtil
XMLUtil | abstract public class XMLUtil (Code) | | |
createDefaultClassName | public static String createDefaultClassName(IProject project, ISchemaAttribute attInfo, int counter)(Code) | | Parameters: project - Parameters: attInfo - Parameters: counter - |
createDefaultName | public static String createDefaultName(IProject project, ISchemaAttribute attInfo, int counter)(Code) | | Parameters: project - Parameters: attInfo - Parameters: counter - |
createDefaultPackageName | public static String createDefaultPackageName(IProject project, String className)(Code) | | Parameters: id - Parameters: className - |
getCounterValue | public static int getCounterValue(ISchemaElement elementInfo)(Code) | | Parameters: elementInfo - |
getSchemaAttribute | public static ISchemaAttribute getSchemaAttribute(IDocumentAttributeNode attr, String extensionPoint)(Code) | | Get the ISchemaAttribute corresponding to this IDocumentAttributeNode
Parameters: attr - Parameters: extensionPoint - the extension point of the schema, if null it will be deduced the ISchemaAttribute for attr |
getSchemaElement | public static ISchemaElement getSchemaElement(IDocumentElementNode node, String extensionPoint)(Code) | | Get the ISchemaElement corresponding to this IDocumentElementNode
Parameters: node - Parameters: extensionPoint - the extension point of the schema, if null it will be deduced the ISchemaElement for node |
getTopLevelParent | public static IPluginObject getTopLevelParent(IDocumentRange range)(Code) | | Scans up the node's parents till it reaches
a IPluginExtension or IPluginExtensionPoint (or null)
and returns the result.
Parameters: node - the IPluginExtension or IPluginExtensionPoint that contains node |
|
|