Tabnine Logo
Messages.unknown
Code IndexAdd Tabnine to your IDE (free)

How to use
unknown
method
in
de.tsl2.nano.core.Messages

Best Java code snippets using de.tsl2.nano.core.Messages.unknown (Showing top 1 results out of 315)

origin: net.sf.tsl2nano/tsl2.nano.descriptor

/**
 * will search for the actionId in the resource bundle - then in tsl2nano base bundle - if not found, the action
 * simple name will be returned
 * 
 * @param actionId full action id
 * @param actionSimpleName simple action name
 * @param if true, the tooltip for the action will be evaluated
 * @return text to show on action
 */
public static final String getActionText(String actionId, boolean tooltip) {
  final String tooltip_postfix = (tooltip ? Messages.POSTFIX_TOOLTIP : "");
  final String actionSimpleName = actionId.substring(actionId.lastIndexOf(".") + 1);
  String text = Messages.getString(actionId + tooltip_postfix);
  if (Messages.unknown(text)) {
    text = Messages.getString("tsl2nano." + actionSimpleName + tooltip_postfix);
    if (Messages.unknown(text)) {
      return StringUtil.toFirstUpper(actionSimpleName);
    } else if (tooltip) {
      return "";
    } else {
      return text;
    }
  }
  return text;
}
de.tsl2.nano.coreMessagesunknown

Popular methods of Messages

  • getFormattedString
  • getString
  • getStringOpt
  • hasKey
  • stripParameterBrackets

Popular in Java

  • Reading from database using SQL prepared statement
  • onRequestPermissionsResult (Fragment)
  • putExtra (Intent)
  • notifyDataSetChanged (ArrayAdapter)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Runner (org.openjdk.jmh.runner)
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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