/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/xml/descriptors/ |
XmlDescriptors.java | 27 import com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor; 65 public ElementDescriptor[] getRootElementDescriptors() { 86 public ElementDescriptor getDescriptor() { 90 public ElementDescriptor[] getRootElementDescriptors() { 98 public ElementDescriptor getDescriptor() { 102 public ElementDescriptor[] getRootElementDescriptors() { 110 public ElementDescriptor getDescriptor() { 114 public ElementDescriptor[] getRootElementDescriptors() { 140 ElementDescriptor searchable = createSearchable(searchableStyleMap, xmlns); 141 ElementDescriptor appWidget = createAppWidgetProviderInfo(appWidgetStyleMap, xmlns) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/animator/ |
AnimatorDescriptors.java | 23 import com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor; 38 private ElementDescriptor mDescriptor; 40 private ElementDescriptor[] mRootDescriptors; 41 private Map<String, ElementDescriptor> nameToDescriptor; 44 public ElementDescriptor getDescriptor() { 46 mDescriptor = new ElementDescriptor("", getRootElementDescriptors()); //$NON-NLS-1$ 52 public ElementDescriptor[] getRootElementDescriptors() { 56 public ElementDescriptor getElementDescriptor(String mRootTag) { 58 nameToDescriptor = new HashMap<String, ElementDescriptor>(); 59 for (ElementDescriptor descriptor : getRootElementDescriptors()) [all...] |
AnimDescriptors.java | 21 import com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor; 34 private ElementDescriptor mDescriptor; 36 private ElementDescriptor[] mRootDescriptors; 37 private Map<String, ElementDescriptor> nameToDescriptor; 40 public ElementDescriptor getDescriptor() { 42 mDescriptor = new ElementDescriptor("", getRootElementDescriptors()); //$NON-NLS-1$ 48 public ElementDescriptor[] getRootElementDescriptors() { 52 public ElementDescriptor getElementDescriptor(String mRootTag) { 54 nameToDescriptor = new HashMap<String, ElementDescriptor>(); 55 for (ElementDescriptor descriptor : getRootElementDescriptors()) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/menu/descriptors/ |
MenuDescriptors.java | 25 import com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor; 42 private ElementDescriptor mDescriptor = null; 45 public ElementDescriptor getDescriptor() { 49 public ElementDescriptor[] getRootElementDescriptors() { 84 ElementDescriptor sub_item = createElement(styleMap, 92 ElementDescriptor sub_group = createElement(styleMap, 97 new ElementDescriptor[] { sub_item }, // childrenElements, 100 ElementDescriptor sub_menu = createElement(styleMap, 105 new ElementDescriptor[] { sub_item, sub_group }, // childrenElements, 110 ElementDescriptor top_item = createElement(styleMap [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/ |
IUnknownDescriptorProvider.java | 23 * on an XML DOM hierarchy, matching XML names to the {@link ElementDescriptor} names. 25 * This interface declares a provider that can provide an {@link ElementDescriptor} 31 * Returns an instance of {@link ElementDescriptor} matching the given XML Local Name. 34 * @return A new or existing {@link ElementDescriptor} or derived instance. Must not be null. 36 ElementDescriptor getDescriptor(String xmlLocalName);
|
ElementDescriptor.java | 34 * {@link ElementDescriptor} describes the properties expected for a given XML element node. 36 * {@link ElementDescriptor} have an XML name, UI name, a tooltip, an SDK url, 43 public class ElementDescriptor implements Comparable<ElementDescriptor> { 53 private ElementDescriptor[] mChildren; 68 * Constructs a new {@link ElementDescriptor} based on its XML name, UI name, 82 public ElementDescriptor(String xml_name, String ui_name, String tooltip, String sdk_url, 84 ElementDescriptor[] children, 92 mChildren = children != null ? children : new ElementDescriptor[]{}; 96 * Constructs a new {@link ElementDescriptor} based on its XML name, UI name [all...] |
IDescriptorProvider.java | 21 ElementDescriptor[] getRootElementDescriptors(); 23 ElementDescriptor getDescriptor();
|
DocumentDescriptor.java | 25 * Compared to ElementDescriptor, {@link DocumentDescriptor} does not have XML name nor UI name, 33 public class DocumentDescriptor extends ElementDescriptor { 46 public DocumentDescriptor(String xml_name, ElementDescriptor[] children) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/ |
UiModelTreeLabelProvider.java | 20 import com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor; 31 * from {@link ElementDescriptor}. 44 ElementDescriptor desc = null; 47 if (element instanceof ElementDescriptor) { 48 desc = (ElementDescriptor) element; 73 if (element instanceof ElementDescriptor) { 74 ElementDescriptor desc = (ElementDescriptor) element;
|
UiModelTreeContentProvider.java | 19 import com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor; 35 private ElementDescriptor[] mDescriptorFilters; 40 ElementDescriptor[] descriptorFilters) { 94 for (ElementDescriptor filter : mDescriptorFilters) {
|
NewItemSelectionDialog.java | 21 import com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor; 62 private ElementDescriptor[] mDescriptorFilters; 84 ElementDescriptor[] descriptorFilters, 115 } else if (selection.length == 1 && selection[0] instanceof ElementDescriptor) { 200 * {@link ElementDescriptor}. 206 objects[0] instanceof ElementDescriptor) { 207 ElementDescriptor desc = (ElementDescriptor) objects[0]; 296 ElementDescriptor initialElement = null; 305 for (ElementDescriptor desc : getAllowedDescriptors(rootNode)) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/resources/descriptors/ |
ResourcesDescriptors.java | 22 import com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor; 54 /** The {@link ElementDescriptor} for the root Resources element. */ 55 public final ElementDescriptor mResourcesElement; 64 public ElementDescriptor[] getRootElementDescriptors() { 65 return new ElementDescriptor[] { mResourcesElement }; 68 public ElementDescriptor getDescriptor() { 72 public ElementDescriptor getElementDescriptor() { 84 ElementDescriptor color_element = new ElementDescriptor( 102 ElementDescriptor string_element = new ElementDescriptor [all...] |
ItemElementDescriptor.java | 20 import com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor; 25 * {@link ItemElementDescriptor} is a special version of {@link ElementDescriptor} that 28 public class ItemElementDescriptor extends ElementDescriptor { 47 ElementDescriptor[] children, boolean mandatory) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/color/ |
ColorDescriptors.java | 26 import com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor; 44 private ElementDescriptor mDescriptor = new ElementDescriptor( 53 public ElementDescriptor getDescriptor() { 55 mDescriptor = new ElementDescriptor("", getRootElementDescriptors()); //$NON-NLS-1$ 61 public ElementDescriptor[] getRootElementDescriptors() { 62 return new ElementDescriptor[] { mDescriptor }; 71 ElementDescriptor selectorItem = AnimatorDescriptors.addElement(null, styleMap, 94 mDescriptor.setChildren(new ElementDescriptor[] { selectorItem });
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/descriptors/ |
AndroidManifestDescriptors.java | 28 import com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor; 29 import com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor.Mandatory; 69 /** The {@link ElementDescriptor} for the root Manifest element. */ 70 private final ElementDescriptor MANIFEST_ELEMENT; 71 /** The {@link ElementDescriptor} for the root Application element. */ 72 private final ElementDescriptor APPLICATION_ELEMENT; 74 /** The {@link ElementDescriptor} for the root Instrumentation element. */ 75 private final ElementDescriptor INTRUMENTATION_ELEMENT; 76 /** The {@link ElementDescriptor} for the root Permission element. */ 77 private final ElementDescriptor PERMISSION_ELEMENT [all...] |
ManifestElementDescriptor.java | 20 import com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor; 29 * This {@link ElementDescriptor} is specialized to create {@link UiManifestElementNode} UI nodes. 31 public class ManifestElementDescriptor extends ElementDescriptor { 49 ElementDescriptor[] children, 70 ElementDescriptor[] children, 90 ElementDescriptor[] children) { 101 public ManifestElementDescriptor(String xml_name, ElementDescriptor[] children) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/ |
UiElementPullParserTest.java | 22 import com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor; 60 ElementDescriptor buttonDescriptor = new ElementDescriptor("Button", "Button", "", "", 65 new ElementDescriptor[] {}, false); 67 ElementDescriptor textDescriptor = new ElementDescriptor("TextView", "TextView", "", "", 72 new ElementDescriptor[] {}, false); 74 ElementDescriptor linearDescriptor = new ElementDescriptor("LinearLayout", "Linear Layout", 79 new ElementDescriptor[] { }, false) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/drawable/ |
DrawableDescriptors.java | 24 import com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor; 44 private ElementDescriptor mDescriptor; 46 private ElementDescriptor[] mRootDescriptors; 47 private Map<String, ElementDescriptor> nameToDescriptor; 50 public ElementDescriptor getDescriptor() { 52 mDescriptor = new ElementDescriptor("", getRootElementDescriptors()); //$NON-NLS-1$ 58 public ElementDescriptor[] getRootElementDescriptors() { 68 public ElementDescriptor getElementDescriptor(String tag) { 70 nameToDescriptor = new HashMap<String, ElementDescriptor>(); 71 for (ElementDescriptor descriptor : getRootElementDescriptors()) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
LayoutContentAssist.java | 21 import com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor; 48 ElementDescriptor[] children = getRootDescriptor().getChildren(); 49 for (ElementDescriptor e : children) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/manifest/model/ |
UiElementNodeTest.java | 21 import com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor; 23 import com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor.Mandatory; 42 private ElementDescriptor mManifestDesc; 43 private ElementDescriptor mAppDesc; 44 private ElementDescriptor mUsesSdkDesc; 48 mAppDesc = new ElementDescriptor("application", new ElementDescriptor[] { 49 new ElementDescriptor("provider"), 50 new ElementDescriptor("activity", new ElementDescriptor[] { [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/model/ |
UiManifestElementNode.java | 19 import com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor; 43 * {@link ElementDescriptor}. 48 * Creates a new {@link UiElementNode} described by a given {@link ElementDescriptor}. 50 * @param elementDescriptor The {@link ElementDescriptor} for the XML node. Cannot be null. 52 public UiManifestElementNode(ManifestElementDescriptor elementDescriptor) { 53 super(elementDescriptor); 81 ElementDescriptor desc = getDescriptor();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/pages/ |
OverviewPage.java | 22 import com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor; 134 private ElementDescriptor[] computeManifestExtraFilters() { 143 HashSet<ElementDescriptor> excludes = new HashSet<ElementDescriptor>(); 152 ArrayList<ElementDescriptor> descriptorFilters = new ArrayList<ElementDescriptor>(); 153 for (ElementDescriptor child : manifest.getDescriptor().getChildren()) { 162 return descriptorFilters.toArray(new ElementDescriptor[descriptorFilters.size()]);
|
InstrumentationPage.java | 22 import com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor; 71 ElementDescriptor[] descriptorFilters = null; 73 descriptorFilters = new ElementDescriptor[] { 95 new ElementDescriptor[] {
|
PermissionPage.java | 22 import com.android.ide.eclipse.adt.internal.editors.descriptors.ElementDescriptor; 75 ElementDescriptor[] descriptorFilters = null; 77 descriptorFilters = new ElementDescriptor[] { 101 new ElementDescriptor[] {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/resources/uimodel/ |
UiItemElementNode.java | 36 * @param elementDescriptor The {@link ItemElementDescriptor} for the XML node. Cannot be null. 38 public UiItemElementNode(ItemElementDescriptor elementDescriptor) { 39 super(elementDescriptor);
|