doc update
diff --git a/bundles/org.eclipse.wst.sse.ui/src-tasktags/org/eclipse/wst/sse/ui/internal/preferences/ui/PropertyPreferencePage.java b/bundles/org.eclipse.wst.sse.ui/src-tasktags/org/eclipse/wst/sse/ui/internal/preferences/ui/PropertyPreferencePage.java index 1da9562..11b85ad 100644 --- a/bundles/org.eclipse.wst.sse.ui/src-tasktags/org/eclipse/wst/sse/ui/internal/preferences/ui/PropertyPreferencePage.java +++ b/bundles/org.eclipse.wst.sse.ui/src-tasktags/org/eclipse/wst/sse/ui/internal/preferences/ui/PropertyPreferencePage.java
@@ -50,6 +50,9 @@ import org.eclipse.wst.sse.ui.internal.SSEUIMessages; import org.eclipse.wst.sse.ui.internal.SSEUIPlugin; +/** + * Based loosley on org.eclipse.jdt.internal.ui.preferences.PropertyAndPreferencePage + */ abstract class PropertyPreferencePage extends PropertyPage implements IWorkbenchPreferencePage { private static final boolean _debugPreferences = "true".equalsIgnoreCase(Platform.getDebugOption("org.eclipse.wst.sse.ui/preferences-properties")); //$NON-NLS-1$ //$NON-NLS-2$ /*
diff --git a/bundles/org.eclipse.wst.xml.core/src-contentmodel/org/eclipse/wst/xml/core/internal/contentmodel/modelquery/extension/ModelQueryExtension.java b/bundles/org.eclipse.wst.xml.core/src-contentmodel/org/eclipse/wst/xml/core/internal/contentmodel/modelquery/extension/ModelQueryExtension.java index 000a432..b417f56 100644 --- a/bundles/org.eclipse.wst.xml.core/src-contentmodel/org/eclipse/wst/xml/core/internal/contentmodel/modelquery/extension/ModelQueryExtension.java +++ b/bundles/org.eclipse.wst.xml.core/src-contentmodel/org/eclipse/wst/xml/core/internal/contentmodel/modelquery/extension/ModelQueryExtension.java
@@ -21,7 +21,13 @@ protected static final String[] EMPTY_STRING_ARRAY = {}; protected static final CMNode[] EMPTY_CMNODE_ARRAY = {}; - public String[] getAttributeValues(Element ownerElement, String namespace, String name) + /** + * @param ownerElement - the owner element + * @param namespace - the active namespace + * @param name - the name of an attribute node + * @return valid values for the given attribute + */ +public String[] getAttributeValues(Element ownerElement, String namespace, String name) { return EMPTY_STRING_ARRAY; } @@ -31,12 +37,24 @@ return EMPTY_STRING_ARRAY; } - public boolean isApplicableChildElement(Node parentNode, String namespace, String name) + /** + * @param parentNode + * @param namespace + * @param name + * @return whether a child element of the given parentNode is valid given the active namespace + */ +public boolean isApplicableChildElement(Node parentNode, String namespace, String name) { return true; } - public CMNode[] getAvailableElementContent(Element parentElement, String namespace, int includeOptions) + /** + * @param parentElement - the parent Element when asking for children, the owner Element when asking for attributes + * @param namespace - the active namespace + * @param includeOptions - ModelQuery.INCLUDE_ATTRIBUTES or ModelQuery.INCLUDE_CHILD_NODES + * @return additional valid CMAttributeDeclarations or CMElementDeclarations + */ +public CMNode[] getAvailableElementContent(Element parentElement, String namespace, int includeOptions) { return EMPTY_CMNODE_ARRAY; }