Home
last modified time | relevance | path

Searched refs:Mandatory (Results 1 – 9 of 9) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/
DElementDescriptor.java59 private final Mandatory mMandatory;
61 public enum Mandatory { enum in ElementDescriptor
85 Mandatory mandatory) { in ElementDescriptor()
114 mMandatory = mandatory ? Mandatory.MANDATORY : Mandatory.NOT_MANDATORY; in ElementDescriptor()
135 public ElementDescriptor(String xml_name, ElementDescriptor[] children, Mandatory mandatory) { in ElementDescriptor()
163 public Mandatory getMandatory() { in getMandatory()
174 …mMandatory != Mandatory.NOT_MANDATORY ? ", " + mMandatory.toString() : "" //$NON-NLS-1$ //$NON-NLS… in toString()
DDocumentDescriptor.java47 super(xml_name, children, Mandatory.MANDATORY); in DocumentDescriptor()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/descriptors/
DAndroidManifestDescriptors.java29 import com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor.Mandatory;
92 …APPLICATION_ELEMENT = createElement("application", null, Mandatory.MANDATORY_LAST); //$NON-NLS-1$ … in AndroidManifestDescriptors()
97 …USES_SDK_ELEMENT = createElement("uses-sdk", null, Mandatory.MANDATORY); //$NON-NLS-1$ + no child … in AndroidManifestDescriptors()
113 Mandatory.MANDATORY); in AndroidManifestDescriptors()
344 Mandatory mandatory) { in createElement()
363 return createElement(xmlName, null, Mandatory.NOT_MANDATORY); in createElement()
DManifestElementDescriptor.java50 Mandatory mandatory) { in ManifestElementDescriptor()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/manifest/model/
DUiElementNodeTest.java21 import com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor.Mandatory;
52 }, Mandatory.MANDATORY_LAST); in setUp()
55 Mandatory.MANDATORY); in setUp()
61 }, Mandatory.MANDATORY); in setUp()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/menu/
DMenuEditorDelegate.java26 import com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor.Mandatory;
113 if (node == null && root_desc.getMandatory() != Mandatory.NOT_MANDATORY) { in delegateXmlModelChanged()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/
DUiElementNode.java34 import com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor.Mandatory;
883 if (getDescriptor().getMandatory() != Mandatory.NOT_MANDATORY) { in prepareCommit()
1223 Mandatory.NOT_MANDATORY && in updateElementList()
1271 uiNode.getDescriptor().getMandatory() == Mandatory.MANDATORY_LAST; in updateElementList()
1291 Mandatory mand = uiChild.getDescriptor().getMandatory(); in updateElementList()
1292 if (mand == Mandatory.MANDATORY_LAST && index < n) { in updateElementList()
1296 } else if (mand == Mandatory.NOT_MANDATORY || uiChild.getXmlNode() != null) { in updateElementList()
1324 if (uiNode.getDescriptor().getMandatory() != Mandatory.NOT_MANDATORY) { in removeUiChildAtIndex()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DPaletteMetadataDescriptor.java47 descriptor.getChildren(), descriptor.getMandatory() == Mandatory.MANDATORY); in PaletteMetadataDescriptor()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/
DUiActions.java22 import com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor.Mandatory;
579 if (uiChild.getDescriptor().getMandatory() == Mandatory.MANDATORY_LAST) { in addNewTreeElement()