OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Mandatory
(Results
1 - 9
of
9
) sorted by null
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/
DocumentDescriptor.java
30
* The document nodes are "
mandatory
", meaning the UI node is never deleted and it may lack
38
* The UI nodes will be non-
mandatory
.
47
super(xml_name, children,
Mandatory
.
MANDATORY
);
ElementDescriptor.java
39
* An UI node can be "
mandatory
", meaning the UI node is never deleted and it may lack
40
* an actual XML node attached. A non-
mandatory
UI node MUST have an XML node attached
59
private final
Mandatory
mMandatory;
61
public enum
Mandatory
{
63
MANDATORY
,
69
* tooltip, SDK url, attributes list, children list and
mandatory
.
77
* @param
mandatory
Whether this node must always exist (even for empty models). A
mandatory
78
* UI node is never deleted and it may lack an actual XML node attached. A non-
mandatory
85
Mandatory
mandatory)
[
all
...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/descriptors/
ManifestElementDescriptor.java
42
* @param
mandatory
Whether this node must always exist (even for empty models).
50
Mandatory
mandatory
) {
51
super(xml_name, ui_name, tooltip, sdk_url, attributes, children,
mandatory
);
63
* @param
mandatory
Whether this node must always exist (even for empty models).
71
boolean
mandatory
) {
72
super(xml_name, ui_name, tooltip, sdk_url, attributes, children,
mandatory
);
AndroidManifestDescriptors.java
29
import com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor.
Mandatory
;
92
APPLICATION_ELEMENT = createElement("application", null,
Mandatory
.MANDATORY_LAST); //$NON-NLS-1$ + no child &
mandatory
97
USES_SDK_ELEMENT = createElement("uses-sdk", null,
Mandatory
.
MANDATORY
); //$NON-NLS-1$ + no child &
mandatory
113
Mandatory
.
MANDATORY
);
265
true /*
mandatory
*/,
276
true /*
mandatory
*/,
[
all
...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/menu/
MenuEditor.java
23
import com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor.
Mandatory
;
134
if (node == null && root_desc.getMandatory() !=
Mandatory
.NOT_MANDATORY) {
156
* Creates the initial UI Root Node, including the known
mandatory
elements.
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/manifest/model/
UiElementNodeTest.java
23
import com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor.
Mandatory
;
53
},
Mandatory
.MANDATORY_LAST);
56
Mandatory
.
MANDATORY
);
62
},
Mandatory
.
MANDATORY
);
86
* We declared the descriptors as having a "
mandatory
last" application element
87
* and a
mandatory
non-last uses-sdk element. This means if we create an empty
92
// Add the
mandatory
nodes with no XML backing, do it explicitly in the wrong order.
109
// We should get 2 children, the 2
mandatory
nodes but this time with uses-sd
[
all
...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
PaletteMetadataDescriptor.java
47
descriptor.getChildren(), descriptor.getMandatory() ==
Mandatory
.
MANDATORY
);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/
UiElementNode.java
34
import com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor.
Mandatory
;
107
/** The XML {@link Node} mirror by this UI node. This can be null for
mandatory
UI node which
173
// We can't remove
mandatory
nodes, we just clear them.
411
* Some {@link ElementDescriptor} are declared as being "
mandatory
". This means the
416
* @return The associated XML node. Can be null for
mandatory
nodes.
[
all
...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/
UiActions.java
22
import com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor.
Mandatory
;
575
if (uiChild.getDescriptor().getMandatory() ==
Mandatory
.MANDATORY_LAST) {
Completed in 683 milliseconds