/** * */ public static String get(String key) { return get(key, null, null); }
String value = getResource(key);
String value = getResource(key);
/** * Returns the value for the specified resource key. */ public static String get(String key, String[] params) { return get(key, params, null); }
/** * */ public static String get(String key, String defaultValue) { return get(key, null, defaultValue); }
/** * */ public static String get(String key) { return get(key, null, null); }
/** * */ public static String get(String key, String defaultValue) { return get(key, null, defaultValue); }
/** * Returns the value for the specified resource key. */ public static String get(String key, String[] params) { return get(key, params, null); }
/** * Hook for subclassers to return tooltip texts for certain points on the * handle. */ public String getToolTipText(MouseEvent e) { int index = getIndexAt(e.getX(), e.getY()); if (index == 1) { return mxResources.get("doubleClickOrientation"); } return null; }
/** * Hook for subclassers to return tooltip texts for certain points on the * handle. */ public String getToolTipText(MouseEvent e) { int index = getIndexAt(e.getX(), e.getY()); if (index == 1) { return mxResources.get("doubleClickOrientation"); } return null; }
/** * */ public String getToolTipText(MouseEvent e) { String tip = getSelectionCellsHandler().getToolTipText(e); if (tip == null) { Object cell = getCellAt(e.getX(), e.getY()); if (cell != null) { if (hitFoldingIcon(cell, e.getX(), e.getY())) { tip = mxResources.get("collapse-expand"); } else { tip = graph.getToolTipForCell(cell); } } } if (tip != null && tip.length() > 0) { return tip; } return super.getToolTipText(e); }
/** * */ public String getToolTipText(MouseEvent e) { String tip = getSelectionCellsHandler().getToolTipText(e); if (tip == null) { Object cell = getCellAt(e.getX(), e.getY()); if (cell != null) { if (hitFoldingIcon(cell, e.getX(), e.getY())) { tip = mxResources.get("collapse-expand"); } else { tip = graph.getToolTipForCell(cell); } } } if (tip != null && tip.length() > 0) { return tip; } return super.getToolTipText(e); }
error.append(mxResources.get("alreadyConnected", "Already Connected") + "\n");
warning.append(mxResources.get("containsValidationErrors", "Contains Validation Errors") + "\n");
warning.append(mxResources.get("containsValidationErrors", "Contains Validation Errors") + "\n");
error.append(mxResources.get("alreadyConnected", "Already Connected") + "\n");