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

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

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

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

/**
 * checkPrincipal, throws SecurityException if not
 * 
 * @param principal principal
 */
public void checkPrincipal(Principal principal) {
  if (!hasPrincipal(principal)) {
    final String msg = Messages.getFormattedString(Messages.getString("tsl2nano.login.noprincipal"),
      new Object[] { getUser(), principal.getName() });
    throw new SecurityException(msg);
  }
}
origin: net.sf.tsl2nano/tsl2.nano.descriptor

@Override
public COLLECTIONTYPE action() throws Exception {
  //TODO: fire refresh event
  searchStatus = Messages.getFormattedString("tsl2nano.searchdialog.searchrunning");
  ENV.get(Profiler.class).starting(this, getName());
  COLLECTIONTYPE result = (COLLECTIONTYPE) getBeanFinder().getData((String) getParameter(0));
  searchStatus = Messages.getFormattedString("tsl2nano.searchdialog.searchresultcount",
    result.size());
  if (openAction != null) {
    openAction.setDefault(true);
  }
  return result;
}
origin: net.sf.tsl2nano/tsl2.nano.descriptor

public Collection<T> getData(T from, Object to) {
  searchStatus = Messages.getFormattedString("tsl2nano.searchdialog.searchrunning");
  ENV.get(Profiler.class).starting(this, getName());
  Message.send(searchStatus);
  searchStatus = Messages.getFormattedString("tsl2nano.searchdialog.searchresultcount",
    result.size());
  Message.send(searchStatus);
origin: net.sf.tsl2nano/tsl2.nano.terminal

@Override
public String ask(Properties env) {
  String ask = constraints.getType().getSimpleName();
  if (constraints.getMinimum() != null || constraints.getMaximum() != null) {
    ask += " between " + constraints.getMinimum() != null ? constraints.getMinimum() : "<any>"
      + constraints.getMaximum() != null ? constraints.getMaximum() : "<any>";
  } else if (constraints.getAllowedValues() != null) {
    ask += " as one of: " + StringUtil.toString(constraints.getAllowedValues(), 60);
  }
  return Messages.getFormattedString("tsl2nano.entervalue", ask, StringUtil.toFirstUpper(name))
    + POSTFIX_QUESTION;
}
origin: net.sf.tsl2nano/tsl2.nano.descriptor

Messages.getFormattedString("tsl2nano.searchdialog.searchresultcount", this.collection.size());
de.tsl2.nano.coreMessagesgetFormattedString

Popular methods of Messages

  • getString
  • getStringOpt
  • hasKey
  • stripParameterBrackets
  • unknown

Popular in Java

  • Finding current android device location
  • getSystemService (Context)
  • getSupportFragmentManager (FragmentActivity)
  • runOnUiThread (Activity)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Best plugins for Eclipse
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