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

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

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

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

/**
 * constructor
 * 
 * @param id
 * @param shortDescription
 * @param longDescription
 * @param actionMode mode {@link IAction#MODE_DLG_CANCEL} or {@link IAction#MODE_DLG_OK}.
 * @param showFinishDialog whether to show a finish info dialog.
 */
public SecureAction(String id,
    String shortDescription,
    String longDescription,
    int actionMode) {
  super(id, Messages.getStringOpt(shortDescription, true), Messages.getStringOpt(longDescription));
  this.actionMode = actionMode;
  LOG.info("creating dialog action with action-id and permission-id: '" + id + "' and label '" + shortDescription);
}
origin: net.sf.tsl2nano/tsl2.nano.terminal

public static String translate(String name) {
  return StringUtil.toFirstUpper(Messages.getStringOpt(name));
}
origin: net.sf.tsl2nano/tsl2.nano.descriptor

if (actionSortColumn == null) {
  actionSortColumn =
    new CommonAction<Object>(name + POSTFIX_SORT, Messages.getStringOpt(getPresentable().getLabel(), true),
      getDescription()) {
origin: net.sf.tsl2nano/tsl2.nano.descriptor

/**
 * constructor
 * 
 * @param method
 */
public MethodAction(Method method) {
  super(createId(method), createName(method),
    Messages.getStringOpt(method.toGenericString()));
  setMethod(method);
  String imagePath = getId() + ".icon";
  if (Messages.hasKey(imagePath)) {
    setImagePath(Messages.getString(imagePath));
  } else {
    setImagePath(DEFAULT_ICON);
  }
}
de.tsl2.nano.coreMessagesgetStringOpt

Popular methods of Messages

  • getFormattedString
  • getString
  • hasKey
  • stripParameterBrackets
  • unknown

Popular in Java

  • Reactive rest calls using spring rest template
  • getSupportFragmentManager (FragmentActivity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • scheduleAtFixedRate (Timer)
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Notification (javax.management)
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • JOptionPane (javax.swing)
  • Top Sublime Text plugins
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