congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
TextMessages
Code IndexAdd Tabnine to your IDE (free)

How to use
TextMessages
in
org.eclipse.jface.text

Best Java code snippets using org.eclipse.jface.text.TextMessages (Showing top 10 results out of 315)

origin: at.bestsolution.efxclipse.eclipse/org.eclipse.text

public static String getFormattedString(String key, Object arg) {
  return getFormattedString(key, new Object[] { arg });
}
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.text

public static String getFormattedString(String key, Object[] args) {
  return MessageFormat.format(getString(key), args);
}
origin: org.eclipse.platform/org.eclipse.text

public static String getFormattedString(String key, Object[] args) {
  return MessageFormat.format(getString(key), args);
}
origin: org.eclipse.platform/org.eclipse.text

public static String getFormattedString(String key, Object arg) {
  return getFormattedString(key, new Object[] { arg });
}
origin: org.eclipse.platform/org.eclipse.text

String msg= TextMessages.getString("FindReplaceDocumentAdapter.illegalLinebreak"); //$NON-NLS-1$
throw new PatternSyntaxException(msg, findString, i);
origin: org.eclipse.platform/org.eclipse.text

  i++;
} else {
  String msg= TextMessages.getFormattedString("FindReplaceDocumentAdapter.illegalControlEscape", "\\c"); //$NON-NLS-1$ //$NON-NLS-2$
  throw new PatternSyntaxException(msg, replaceText, i);
      throw new NumberFormatException();
  } catch (NumberFormatException e) {
    String msg= TextMessages.getFormattedString("FindReplaceDocumentAdapter.illegalHexEscape", replaceText.substring(i - 1, i + 3)); //$NON-NLS-1$
    throw new PatternSyntaxException(msg, replaceText, i);
  i+= 2;
} else {
  String msg= TextMessages.getFormattedString("FindReplaceDocumentAdapter.illegalHexEscape", replaceText.substring(i - 1, length)); //$NON-NLS-1$
  throw new PatternSyntaxException(msg, replaceText, i);
      throw new NumberFormatException();
  } catch (NumberFormatException e) {
    String msg= TextMessages.getFormattedString("FindReplaceDocumentAdapter.illegalUnicodeEscape", replaceText.substring(i - 1, i + 5)); //$NON-NLS-1$
    throw new PatternSyntaxException(msg, replaceText, i);
  i+= 4;
} else {
  String msg= TextMessages.getFormattedString("FindReplaceDocumentAdapter.illegalUnicodeEscape", replaceText.substring(i - 1, length)); //$NON-NLS-1$
  throw new PatternSyntaxException(msg, replaceText, i);
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.text

String msg= TextMessages.getString("FindReplaceDocumentAdapter.illegalLinebreak"); //$NON-NLS-1$
throw new PatternSyntaxException(msg, findString, i);
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.text

  i++;
} else {
  String msg= TextMessages.getFormattedString("FindReplaceDocumentAdapter.illegalControlEscape", "\\c"); //$NON-NLS-1$ //$NON-NLS-2$
  throw new PatternSyntaxException(msg, replaceText, i);
      throw new NumberFormatException();
  } catch (NumberFormatException e) {
    String msg= TextMessages.getFormattedString("FindReplaceDocumentAdapter.illegalHexEscape", replaceText.substring(i - 1, i + 3)); //$NON-NLS-1$
    throw new PatternSyntaxException(msg, replaceText, i);
  i+= 2;
} else {
  String msg= TextMessages.getFormattedString("FindReplaceDocumentAdapter.illegalHexEscape", replaceText.substring(i - 1, length)); //$NON-NLS-1$
  throw new PatternSyntaxException(msg, replaceText, i);
      throw new NumberFormatException();
  } catch (NumberFormatException e) {
    String msg= TextMessages.getFormattedString("FindReplaceDocumentAdapter.illegalUnicodeEscape", replaceText.substring(i - 1, i + 5)); //$NON-NLS-1$
    throw new PatternSyntaxException(msg, replaceText, i);
  i+= 4;
} else {
  String msg= TextMessages.getFormattedString("FindReplaceDocumentAdapter.illegalUnicodeEscape", replaceText.substring(i - 1, length)); //$NON-NLS-1$
  throw new PatternSyntaxException(msg, replaceText, i);
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.text

String message= TextMessages.getString("FindReplaceDocumentAdapter.incompatibleLineDelimiter"); //$NON-NLS-1$
throw new PatternSyntaxException(message, replaceText, offset);
String message= TextMessages.getString("FindReplaceDocumentAdapter.patternTooComplex"); //$NON-NLS-1$
throw new PatternSyntaxException(message, findString, -1);
origin: org.eclipse.platform/org.eclipse.text

String message= TextMessages.getString("FindReplaceDocumentAdapter.incompatibleLineDelimiter"); //$NON-NLS-1$
throw new PatternSyntaxException(message, replaceText, offset);
String message= TextMessages.getString("FindReplaceDocumentAdapter.patternTooComplex"); //$NON-NLS-1$
throw new PatternSyntaxException(message, findString, -1);
org.eclipse.jface.textTextMessages

Javadoc

Helper class to get NLSed messages.

Most used methods

  • getFormattedString
  • getString

Popular in Java

  • Making http requests using okhttp
  • getResourceAsStream (ClassLoader)
  • getExternalFilesDir (Context)
  • getApplicationContext (Context)
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Top 12 Jupyter Notebook Extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now