@Override public int getColumnWidth() { int width = properties.getInt (getID () + ".columnWidth", 150); // NOI18N return width; } }
@Override public int getCurrentOrderNumber () { return properties.getInt (getID () + ".currentOrderNumber",-1); // NOI18N }
public Object read (String typeID, Properties properties) { JspLineBreakpoint b = null; if (typeID.equals (JspLineBreakpoint.class.getName ())) { String url = properties.getString(JspLineBreakpoint.PROP_URL, null); // #110349 - ignore loading of breakpoints which do not have URL if (url == null || url.trim().length() == 0) { return null; } b = JspLineBreakpoint.create ( url, properties.getInt(JspLineBreakpoint.PROP_LINE_NUMBER, 1) ); b.setCondition(properties.getString (JspLineBreakpoint.PROP_CONDITION, "")); b.setPrintText(properties.getString (JspLineBreakpoint.PROP_PRINT_TEXT, "")); b.setGroupName(properties.getString (Breakpoint.PROP_GROUP_NAME, "")); b.setSuspend(properties.getInt (JspLineBreakpoint.PROP_SUSPEND, JspLineBreakpoint.SUSPEND_ALL)); if (properties.getBoolean (JspLineBreakpoint.PROP_ENABLED, true)) { b.enable (); } else { b.disable (); } } return b; }
if (className.equals(OLD_JS_LINE_BP)) { String urlStr = properties.getString (JSLineBreakpoint.PROP_URL, null); int lineNumber = properties.getInt (JSLineBreakpoint.PROP_LINE_NUMBER, 1); try { URL url = new URL(urlStr); properties.getString (Breakpoint.PROP_GROUP_NAME, "") ); int hitCountFilter = properties.getInt(Breakpoint.PROP_HIT_COUNT_FILTER, 0); Breakpoint.HIT_COUNT_FILTERING_STYLE hitCountFilteringStyle; if (hitCountFilter > 0) { hitCountFilteringStyle = Breakpoint.HIT_COUNT_FILTERING_STYLE.values() [properties.getInt(Breakpoint.PROP_HIT_COUNT_FILTER+"_style", 0)]; // NOI18N } else { hitCountFilteringStyle = null;