Home
last modified time | relevance | path

Searched refs:text (Results 1 – 25 of 261) sorted by relevance

1234567891011

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/
DEditableDialogCellEditor.java41 import java.text.MessageFormat;
50 private Text text; field in EditableDialogCellEditor
81 text = new Text(cell, SWT.SINGLE); in createContents()
82 text.addSelectionListener(new SelectionAdapter() { in createContents()
88 text.addKeyListener(new KeyAdapter() { in createContents()
104 text.addTraverseListener(new TraverseListener() { in createContents()
116 text.addMouseListener(new MouseAdapter() { in createContents()
124 text.addFocusListener(new FocusAdapter() { in createContents()
130 text.setFont(cell.getFont()); in createContents()
131 text.setBackground(cell.getBackground()); in createContents()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
DAndroidXmlFormatter.java20 import org.eclipse.jface.text.BadLocationException;
21 import org.eclipse.jface.text.IDocument;
22 import org.eclipse.jface.text.IRegion;
23 import org.eclipse.jface.text.TypedPosition;
24 import org.eclipse.jface.text.formatter.FormattingContext;
25 import org.eclipse.jface.text.formatter.FormattingContextProperties;
26 import org.eclipse.jface.text.formatter.IContentFormatter;
27 import org.eclipse.jface.text.formatter.IContentFormatterExtension;
28 import org.eclipse.jface.text.formatter.IFormattingContext;
29 import org.eclipse.jface.text.formatter.IFormattingStrategy;
[all …]
DXmlFormatProcessor.java18 import static org.eclipse.jface.text.formatter.FormattingContextProperties.CONTEXT_MEDIUM;
19 import static org.eclipse.jface.text.formatter.FormattingContextProperties.CONTEXT_PARTITION;
20 import static org.eclipse.jface.text.formatter.FormattingContextProperties.CONTEXT_REGION;
24 import org.eclipse.jface.text.TypedPosition;
25 import org.eclipse.jface.text.formatter.FormattingContext;
27 import org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocument;
29 import org.eclipse.wst.xml.core.text.IXMLPartitions;
55 context.setProperty(CONTEXT_REGION, new org.eclipse.jface.text.Region(start, length)); in formatModel()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/uimodel/
DUiColorValueNode.java54 protected void onAddValidators(final Text text) { in onAddValidators() argument
58 String color = text.getText(); in onAddValidators()
60 getManagedForm().getMessageManager().removeMessage(text, text); in onAddValidators()
62 getManagedForm().getMessageManager().addMessage(text, in onAddValidators()
64 null /* data */, IMessageProvider.ERROR, text); in onAddValidators()
69 text.addModifyListener(listener); in onAddValidators()
72 text.addDisposeListener(new DisposeListener() { in onAddValidators()
75 getManagedForm().getMessageManager().removeMessage(text, text); in onAddValidators()
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/
DCommonAction.java35 public CommonAction(String text) { in CommonAction() argument
36 super(text); in CommonAction()
43 public CommonAction(String text, ImageDescriptor image) { in CommonAction() argument
44 super(text, image); in CommonAction()
51 public CommonAction(String text, int style) { in CommonAction() argument
52 super(text, style); in CommonAction()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
Dcompletionvalues1-expected-completion23.txt2 android:textScaleX : Sets the horizontal scaling factor for the text. [float]
3 … to a drawable that will be used to display a text selection anchor for positioning the cursor wi…
4 android:textSelectHandleLeft : Reference to a drawable that will be used to display a text selectio…
5 android:textSelectHandleRight : Reference to a drawable that will be used to display a text selecti…
6 android:textSize : Size of the text. [dimension]
7 android:textStyle : Style (bold, italic, bolditalic) for the text. [flag]
Dsample1a-expected-extract7.diff3 - <Button android:text="FirstButton" android:id="@+id/button1" android:layout_width="wrap_conte…
5 - <Button android:text="SecondButton" android:layout_width="wrap_content" android:layout_he…
6 - <Button android:text="ThirdButton" android:layout_width="wrap_content" android:layout_hei…
7 - <CheckBox android:id="@+id/checkBox1" android:text="CheckBox" android:layout_width="wrap_…
9 - <Button android:layout_height="wrap_content" android:text="FourthButton" android:id="@+id/but…
11 - <Button android:layout_gravity="right" android:id="@+id/button5" android:text="FifthButto…
22 + android:text="FirstButton" >
34 + android:text="SecondButton" >
41 + android:text="ThirdButton" >
48 + android:text="CheckBox" >
[all …]
Dsample7-expected-extract7.diff3 - <Button android:text="FirstButton" android:id="@+id/button1" android:layout_width="wrap_conte…
8 - <Button android:text="Button" android:id="@+id/button6" android:layout_width="wra…
13 - <Button android:text="SecondButton" android:layout_width="wrap_content" android:layout_he…
14 - <Button android:text="ThirdButton" android:layout_width="wrap_content" android:layout_hei…
15 - <CheckBox android:id="@+id/checkBox1" android:text="CheckBox" android:layout_width="wrap_…
26 + android:text="FirstButton" >
44 + android:text="SecondButton" >
51 + android:text="ThirdButton" >
58 + android:text="CheckBox" >
61 - <Button android:layout_height="wrap_content" android:text="FourthButton" android:id="@+id/but…
[all …]
Dextractstyle1-expected-extract8.diff3 - <Button android:text="Button"
7 - <Button android:text="Button"
19 + android:text="Button"
29 + android:text="Button" >
Dextractstyle1-expected-extract1c.diff3 - <Button android:text="Button"
7 - <Button android:text="Button"
19 + android:text="Button"
29 + android:text="Button" >
Dextractstyle1-expected-extract3.diff3 - <Button android:text="Button"
7 - <Button android:text="Button"
20 + android:text="Button" >
29 + android:text="Button"
Dextractstyle1-expected-extract1b.diff3 - <Button android:text="Button"
7 - <Button android:text="Button"
19 + android:text="Button"
30 + android:text="Button"
Dextractstyle2-expected-extract7.diff3 - <Button foo:text="Button"
7 - <Button foo:text="Button"
21 + foo:text="Button"
31 + foo:text="Button" >
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidXmlAutoEditStrategy.java30 import org.eclipse.jface.text.BadLocationException;
31 import org.eclipse.jface.text.DocumentCommand;
32 import org.eclipse.jface.text.IAutoEditStrategy;
33 import org.eclipse.jface.text.IDocument;
34 import org.eclipse.jface.text.IRegion;
35 import org.eclipse.jface.text.TextUtilities;
41 import org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocument;
42 import org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocumentRegion;
43 import org.eclipse.wst.sse.core.internal.provisional.text.ITextRegion;
44 import org.eclipse.wst.sse.core.internal.provisional.text.ITextRegionList;
[all …]
DAndroidSourceViewerConfig.java23 import org.eclipse.jface.text.DefaultAutoIndentStrategy;
24 import org.eclipse.jface.text.IAutoEditStrategy;
25 import org.eclipse.jface.text.ITextHover;
26 import org.eclipse.jface.text.ITextViewer;
27 import org.eclipse.jface.text.contentassist.ICompletionProposal;
28 import org.eclipse.jface.text.contentassist.IContentAssistProcessor;
29 import org.eclipse.jface.text.contentassist.IContentAssistant;
30 import org.eclipse.jface.text.contentassist.IContextInformation;
31 import org.eclipse.jface.text.contentassist.IContextInformationValidator;
32 import org.eclipse.jface.text.formatter.IContentFormatter;
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
DBooleanXmlPropertyEditor.java55 String text = (String) value; in paint() local
57 if (VALUE_TRUE.equals(text)) { in paint()
59 } else if (VALUE_FALSE.equals(text)) { in paint()
61 } else if (text == null) { in paint()
76 if (text != null) { in paint()
78 DrawUtils.drawStringCV(gc, text, x, y, width, height); in paint()
106 String text = (String) value; in cycleValue() local
107 if (VALUE_TRUE.equals(text)) { in cycleValue()
109 } else if (VALUE_FALSE.equals(text)) { in cycleValue()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidXmlAutoEditStrategyTest.java21 import org.eclipse.jface.text.DocumentCommand;
22 import org.eclipse.jface.text.IDocument;
23 import org.eclipse.jface.text.source.ISourceViewer;
59 c.text = "\n"; in checkInsertNewline()
64 if (c.length == 0 && c.text == null) { in checkInsertNewline()
68 document.replace(c.offset, c.length, c.text); in checkInsertNewline()
70 int caretOffset = c.offset + c.text.length(); in checkInsertNewline()
80 String text = document.get(); in checkInsertNewline() local
83 String textWithCaret = text; in checkInsertNewline()
85 textWithCaret = text.substring(0, selectedRange.x) + "^" + in checkInsertNewline()
[all …]
DHyperlinksTest.java28 import org.eclipse.jface.text.IDocument;
29 import org.eclipse.jface.text.IRegion;
30 import org.eclipse.jface.text.Region;
31 import org.eclipse.jface.text.hyperlink.IHyperlink;
32 import org.eclipse.jface.text.source.ISourceViewer;
299 String text = document.get(lineStart, lineEnd - lineStart); in checkXmlNavigation() local
304 text = text.substring(0, selectionStart) + "[^" + in checkXmlNavigation()
305 text.substring(selectionStart, selectionEnd) + "]" + in checkXmlNavigation()
306 text.substring(selectionEnd); in checkXmlNavigation()
308 text = text.substring(0, selectionStart) + "^" + in checkXmlNavigation()
[all …]
/sdk/eclipse/sites/external/web/
Dsite.xsl39 <td class="log-text" id="indent">
57 <tr><td class="log-text" id="indent">Operating Systems:</td>
58 <td class="log-text" id="indent"><xsl:value-of select="ancestor::feature//@os"/></td>
62 <tr><td class="log-text" id="indent">Windows Systems:</td>
63 <td class="log-text" id="indent"><xsl:value-of select="ancestor::feature//@ws"/></td>
67 <tr><td class="log-text" id="indent">Languages:</td>
68 <td class="log-text" id="indent"><xsl:value-of select="ancestor::feature//@nl"/></td>
72 <tr><td class="log-text" id="indent">Architecture:</td>
73 <td class="log-text" id="indent"><xsl:value-of select="ancestor::feature//@arch"/></td>
111 <td class="log-text" id="indent">
[all …]
/sdk/eclipse/sites/internal/web/
Dsite.xsl39 <td class="log-text" id="indent">
57 <tr><td class="log-text" id="indent">Operating Systems:</td>
58 <td class="log-text" id="indent"><xsl:value-of select="ancestor::feature//@os"/></td>
62 <tr><td class="log-text" id="indent">Windows Systems:</td>
63 <td class="log-text" id="indent"><xsl:value-of select="ancestor::feature//@ws"/></td>
67 <tr><td class="log-text" id="indent">Languages:</td>
68 <td class="log-text" id="indent"><xsl:value-of select="ancestor::feature//@nl"/></td>
72 <tr><td class="log-text" id="indent">Architecture:</td>
73 <td class="log-text" id="indent"><xsl:value-of select="ancestor::feature//@arch"/></td>
111 <td class="log-text" id="indent">
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/model/
DUiPackageAttributeNode.java122 final Text text = toolkit.createText(composite, getCurrentValue()); in createUiControl() local
125 text.setLayoutData(gd); in createUiControl()
127 setTextWidget(text); in createUiControl()
145 protected void onAddValidators(final Text text) { in onAddValidators() argument
149 String package_name = text.getText(); in onAddValidators()
151 getManagedForm().getMessageManager().addMessage(text, in onAddValidators()
153 null /* data */, IMessageProvider.ERROR, text); in onAddValidators()
155 getManagedForm().getMessageManager().removeMessage(text, text); in onAddValidators()
160 text.addModifyListener(listener); in onAddValidators()
163 text.addDisposeListener(new DisposeListener() { in onAddValidators()
[all …]
DUiManifestPkgAttrNode.java122 final Text text = toolkit.createText(composite, getCurrentValue()); in createUiControl() local
125 text.setLayoutData(gd); in createUiControl()
127 setTextWidget(text); in createUiControl()
145 protected void onAddValidators(final Text text) { in onAddValidators() argument
149 String package_name = text.getText(); in onAddValidators()
151 getManagedForm().getMessageManager().addMessage(text, in onAddValidators()
153 null /* data */, IMessageProvider.ERROR, text); in onAddValidators()
155 getManagedForm().getMessageManager().removeMessage(text, text); in onAddValidators()
160 text.addModifyListener(listener); in onAddValidators()
163 text.addDisposeListener(new DisposeListener() { in onAddValidators()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/
DDescriptorsUtils.java392 String text = spans.get(++i);
400 if (text != null) {
401 text = text.trim();
405 if (text == null || text.length() == 0) {
406 text = anchor;
410 if (text == null || text.length() == 0) {
412 text = base;
416 if (text != null) {
417 sb.append(text);
488 String text = spans.get(++i);
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/
DRefactoringUtil.java33 import org.eclipse.jface.text.BadLocationException;
34 import org.eclipse.jface.text.IDocument;
132 String text; in getAttributeValueRangeStart() local
134 text = document.get(region.getStartOffset(), in getAttributeValueRangeStart()
140 int index = text.indexOf(value, potentialStart); in getAttributeValueRangeStart()
160 String text; in getTagNameRangeStart() local
162 text = document.get(region.getStartOffset(), in getTagNameRangeStart()
167 int index = text.indexOf(element.getTagName(), potentialStart); in getTagNameRangeStart()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
DExtractStringInputPage.java291 public static String guessId(String text) { in guessId() argument
292 if (text == null) { in guessId()
297 text = text.toLowerCase(Locale.US); in guessId()
300 text = text.replaceAll("[^a-zA-Z0-9]+", "_"); //$NON-NLS-1$ //$NON-NLS-2$ in guessId()
303 if (text.length() > 0 && !Character.isJavaIdentifierStart(text.charAt(0))) { in guessId()
304 text = "_" + text; //$NON-NLS-1$ in guessId()
306 return text; in guessId()
334 String text = mStringIdCombo.getText().trim(); in validatePage() local
335 if (text == null || text.length() < 1) { in validatePage()
339 for (int i = 0; i < text.length(); i++) { in validatePage()
[all …]

1234567891011