Home
last modified time | relevance | path

Searched refs:regions (Results 1 – 13 of 13) sorted by relevance

/sdk/docs/
DNotes_on_WST_StructuredDocument.txt44 The IStructuredDocument is organized in "regions", which are little pieces
48 a list of regions. Each region has a type, as well as text.
59 This will result in the following regions and sub-regions:
128 3- Iterating through regions
131 To iterate through all regions, we need to process the list of top-level regions and then
132 iterate over inner regions:
134 for (IStructuredDocumentRegion regions : sdoc.getStructuredDocumentRegions()) {
135 // process inner regions
136 for (int i = 0; i < regions.getNumberOfRegions(); i++) {
137 ITextRegion region = regions.getRegions().get(i);
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidXmlCharacterMatcher.java18 import static org.eclipse.wst.xml.core.internal.regions.DOMRegionContext.XML_EMPTY_TAG_CLOSE;
19 import static org.eclipse.wst.xml.core.internal.regions.DOMRegionContext.XML_END_TAG_OPEN;
20 import static org.eclipse.wst.xml.core.internal.regions.DOMRegionContext.XML_TAG_CLOSE;
21 import static org.eclipse.wst.xml.core.internal.regions.DOMRegionContext.XML_TAG_NAME;
22 import static org.eclipse.wst.xml.core.internal.regions.DOMRegionContext.XML_TAG_OPEN;
DAndroidXmlAutoEditStrategy.java18 import static org.eclipse.wst.xml.core.internal.regions.DOMRegionContext.XML_CONTENT;
19 import static org.eclipse.wst.xml.core.internal.regions.DOMRegionContext.XML_EMPTY_TAG_CLOSE;
20 import static org.eclipse.wst.xml.core.internal.regions.DOMRegionContext.XML_END_TAG_OPEN;
21 import static org.eclipse.wst.xml.core.internal.regions.DOMRegionContext.XML_TAG_CLOSE;
22 import static org.eclipse.wst.xml.core.internal.regions.DOMRegionContext.XML_TAG_NAME;
23 import static org.eclipse.wst.xml.core.internal.regions.DOMRegionContext.XML_TAG_OPEN;
DAndroidDoubleClickStrategy.java23 import org.eclipse.wst.xml.core.internal.regions.DOMRegionContext;
DHyperlinks.java145 import org.eclipse.wst.xml.core.internal.regions.DOMRegionContext;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
DExtractStringRefactoring.java87 import org.eclipse.wst.xml.core.internal.regions.DOMRegionContext;
1260 for (IStructuredDocumentRegion regions : sdoc.getStructuredDocumentRegions()) {
1261 String type = regions.getType();
1268 regions.getStartOffset(), regions.getLength(), tokenString);
1272 lastWs = regions.getFullText();
1277 int nb = regions.getNumberOfRegions();
1278 ITextRegionList list = regions.getRegions();
1283 String name = regions.getText(region);
1297 int nb = regions.getNumberOfRegions();
1298 ITextRegionList list = regions.getRegions();
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
DAndroidXmlFormattingStrategy.java25 import static org.eclipse.wst.xml.core.internal.regions.DOMRegionContext.XML_EMPTY_TAG_CLOSE;
26 import static org.eclipse.wst.xml.core.internal.regions.DOMRegionContext.XML_END_TAG_OPEN;
27 import static org.eclipse.wst.xml.core.internal.regions.DOMRegionContext.XML_TAG_CLOSE;
28 import static org.eclipse.wst.xml.core.internal.regions.DOMRegionContext.XML_TAG_OPEN;
232 ITextRegionList regions = endRegion.getRegions(); in format() local
233 int index = regions.indexOf(subRegion); in format()
237 subRegion = regions.get(index); in format()
244 subRegion = regions.get(index); in format()
254 int max = regions.size(); in format()
256 subRegion = regions.get(index); in format()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/
DAddTranslationDialog.java431 SortedSet<String> regions = resources.getRegions(mSelectedLanguage); in validatePage() local
432 if (regions.contains(mSelectedRegion)) { in validatePage()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DRefactoringAssistant.java57 import org.eclipse.wst.xml.core.internal.regions.DOMRegionContext;
DVisualRefactoring.java85 import org.eclipse.wst.xml.core.internal.regions.DOMRegionContext;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/renamepackage/
DApplicationPackageNameRefactoring.java68 import org.eclipse.wst.xml.core.internal.regions.DOMRegionContext;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DDomUtilities.java42 import org.eclipse.wst.xml.core.internal.regions.DOMRegionContext;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DConfigurationChooser.java1908 SortedSet<String> regions = projectRes.getRegions(language); in updateLocales() local
1909 for (String region : regions) { in updateLocales()