bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
private ActivityPersistanceHelper() { loadEnabledStates(); // TODO kim: shouldn't you want to check for any activities (not // categories)? IWorkbenchActivitySupport support = (IWorkbenchActivitySupport) PlatformUI.getWorkbench().getAdapter( IWorkbenchActivitySupport.class); if (support == null) return; b...
private ActivityPersistanceHelper() { loadEnabledStates(); // TODO kim: shouldn't you want to check for any activities (not // categories)? IWorkbenchActivitySupport support = (IWorkbenchActivitySupport) PlatformUI.getWorkbench().getAdapter( IWorkbenchActivitySupport.class); if (support == null) return; b...
3,225,606
public IRubyObject aref(IRubyObject[] args) { try { return arefWithErrors(args); } catch (IndexError e) { } catch (RangeError e) { } return getRuntime().getNil(); }
public IRubyObject aref(IRubyObject[] args) { try { return arefWithErrors(args); } catch (IndexError e) { } catch (RangeError e) { } return getRuntime().getNil(); }
3,225,607
public IRubyObject aref(IRubyObject[] args) { try { return arefWithErrors(args); } catch (IndexError e) { } catch (RangeError e) { } return getRuntime().getNil(); }
public IRubyObject aref(IRubyObject[] args) { try { return arefWithErrors(args); } catch (IndexError e) { } catch (RangeError e) { } return getRuntime().getNil(); }
3,225,608
public RubyString capitalize() { RubyString result = (RubyString) rbClone(); result.capitalize_bang(); return result; }
public RubyString capitalize() { RubyString result = (RubyString) rbClone(); result.capitalize_bang(); return result; }
3,225,609
public RubyString concat(IRubyObject other) { if ((other instanceof RubyFixnum) && ((RubyFixnum) other).getLongValue() < 256) { char c = (char) ((RubyFixnum) other).getLongValue(); return cat("" + c); } return append(other); }
public RubyString concat(IRubyObject other) { if ((other instanceof RubyFixnum) && ((RubyFixnum) other).getLongValue() < 256) { char c = (char) ((RubyFixnum) other).getLongValue(); return cat("" + c); } return append(other); }
3,225,610
public static RubyClass createStringClass(Ruby ruby) { RubyClass stringClass = ruby.defineClass("String", ruby.getClasses().getObjectClass()); stringClass.includeModule(ruby.getClasses().getComparableModule()); stringClass.includeModule(ruby.getClasses().getEnumerableModule()); CallbackF...
public static RubyClass createStringClass(Ruby ruby) { RubyClass stringClass = ruby.defineClass("String", ruby.getClasses().getObjectClass()); stringClass.includeModule(ruby.getClasses().getComparableModule()); stringClass.includeModule(ruby.getClasses().getEnumerableModule()); CallbackF...
3,225,611
public static RubyClass createStringClass(Ruby ruby) { RubyClass stringClass = ruby.defineClass("String", ruby.getClasses().getObjectClass()); stringClass.includeModule(ruby.getClasses().getComparableModule()); stringClass.includeModule(ruby.getClasses().getEnumerableModule()); CallbackF...
public static RubyClass createStringClass(Ruby ruby) { RubyClass stringClass = ruby.defineClass("String", ruby.getClasses().getObjectClass()); stringClass.includeModule(ruby.getClasses().getComparableModule()); stringClass.includeModule(ruby.getClasses().getEnumerableModule()); CallbackF...
3,225,612
public static RubyClass createStringClass(Ruby ruby) { RubyClass stringClass = ruby.defineClass("String", ruby.getClasses().getObjectClass()); stringClass.includeModule(ruby.getClasses().getComparableModule()); stringClass.includeModule(ruby.getClasses().getEnumerableModule()); CallbackF...
public static RubyClass createStringClass(Ruby ruby) { RubyClass stringClass = ruby.defineClass("String", ruby.getClasses().getObjectClass()); stringClass.includeModule(ruby.getClasses().getComparableModule()); stringClass.includeModule(ruby.getClasses().getEnumerableModule()); CallbackF...
3,225,613
public IRubyObject delete(IRubyObject[] args) { RubyString newStr = newString(getDelete(args)); newStr.infectBy(this); return newStr; }
public IRubyObject delete(IRubyObject[] args) { RubyString newStr = newString(getDelete(args)); newStr.infectBy(this); return newStr; }
3,225,614
public IRubyObject dup() { RubyString newStr = newString(getValue()); newStr.infectBy(this); return newStr; }
public IRubyObject dup() { RubyString newStr = newString(getValue()); newStr.infectBy(this); return newStr; }
3,225,615
public IRubyObject each_line(IRubyObject[] args) { int strLen = getValue().length(); if (strLen == 0) { return this; } String sep = RubyRegexp.quote(getRuntime().getGlobalVariables().get("$/").asSymbol()); if (argCount(args, 0, 1) == 1) { sep = RubyRegexp.quote(stringValue(args[0]).getValue()); } if (sep ==...
public IRubyObject each_line(IRubyObject[] args) { int strLen = getValue().length(); if (strLen == 0) { return this; } String sep = RubyRegexp.quote(getRuntime().getGlobalVariables().get("$/").asSymbol()); if (argCount(args, 0, 1) == 1) { sep = RubyRegexp.quote(stringValue(args[0]).getValue()); } if (sep ==...
3,225,616
public IRubyObject each_line(IRubyObject[] args) { int strLen = getValue().length(); if (strLen == 0) { return this; } String sep = RubyRegexp.quote(getRuntime().getGlobalVariables().get("$/").asSymbol()); if (argCount(args, 0, 1) == 1) { sep = RubyRegexp.quote(stringValue(args[0]).getValue()); } if (sep ==...
public IRubyObject each_line(IRubyObject[] args) { int strLen = getValue().length(); if (strLen == 0) { return this; } String sep = RubyRegexp.quote(getRuntime().getGlobalVariables().get("$/").asSymbol()); if (argCount(args, 0, 1) == 1) { sep = RubyRegexp.quote(stringValue(args[0]).getValue()); } if (sep ==...
3,225,617
public IRubyObject equal(IRubyObject other) { if (other == this) { return getRuntime().getTrue(); } else if (!(other instanceof RubyString)) { return getRuntime().getNil(); } /* use Java implementation */ return getValue().equals(((RubyString) other).getValue()) ? getRuntime().getTrue() : getRuntime().getFals...
public IRubyObject equal(IRubyObject other) { if (other == this) { return getRuntime().getTrue(); } else if (!(other instanceof RubyString)) { return getRuntime().getNil(); } /* use Java implementation */ return getValue().equals(((RubyString) other).getValue()) ? getRuntime().getTrue() : getRuntime().getFals...
3,225,618
public String getValue() { return this.value; }
public String getValue() { return this.value; }
3,225,619
public IRubyObject match(IRubyObject other) { if (other instanceof RubyRegexp) { return ((RubyRegexp) other).match(this); } else if (other instanceof RubyString) { return RubyRegexp.newRegexp((RubyString) other, 0).match(this); } return other.callMethod("=~", this); }
public IRubyObject match(IRubyObject other) { if (other instanceof RubyRegexp) { return ((RubyRegexp) other).match(this); } else if (other instanceof RubyString) { return RubyRegexp.newRegexp((RubyString) other, 0).match(this); } return other.callMethod("=~", this); }
3,225,620
public IRubyObject match2() { return RubyRegexp.newRegexp(this, 0).match2(); }
public IRubyObject match2() { return RubyRegexp.newRegexp(this, 0).match2(); }
3,225,621
public static RubyString objAsString(IRubyObject obj) { if (obj instanceof RubyString) { return (RubyString) obj; } return (RubyString) obj.callMethod("to_s"); }
public static RubyString objAsString(IRubyObject obj) { if (obj instanceof RubyString) { return (RubyString) obj; } return (RubyString) obj.callMethod("to_s"); }
3,225,622
public RubyString op_plus(IRubyObject other) { RubyString str = stringValue(other); RubyString newString = newString(getValue() + str.getValue()); newString.infectBy(str); return newString; }
public RubyString op_plus(IRubyObject other) { RubyString str = stringValue(other); RubyString newString = newString(getValue() + str.getValue()); newString.infectBy(str); return newString; }
3,225,623
public RubyString replace(IRubyObject other) { RubyString str = stringValue(other); if (this == other || getValue().equals(str.getValue())) { return this; } setValue(str.getValue()); infectBy(str); return this; }
public RubyString replace(IRubyObject other) { RubyString str = stringValue(other); if (this == other || getValue().equals(str.getValue())) { return this; } setValue(str.getValue()); infectBy(str); return this; }
3,225,624
public IRubyObject slice_bang(IRubyObject[] args) { int argc = argCount(args, 1, 2); IRubyObject[] newArgs = new IRubyObject[argc + 1]; newArgs[0] = args[0]; if (argc > 1) { newArgs[1] = args[1]; } newArgs[argc] = newString(""); IRubyObject result = arefWithErrors(args); aset(newArgs); return result; }
public IRubyObject slice_bang(IRubyObject[] args) { int argc = argCount(args, 1, 2); IRubyObject[] newArgs = new IRubyObject[argc + 1]; newArgs[0] = args[0]; if (argc > 1) { newArgs[1] = args[1]; } newArgs[argc] = newString(""); IRubyObject result = arefWithErrors(args); aset(newArgs); return result; }
3,225,625
public IRubyObject squeeze(IRubyObject[] args) { RubyString newStr = newString(getSqueeze(args)); newStr.infectBy(this); return newStr; }
public IRubyObject squeeze(IRubyObject[] args) { RubyString newStr = newString(getSqueeze(args)); newStr.infectBy(this); return newStr; }
3,225,626
public static RubyString stringValue(IRubyObject anObject) { if (anObject instanceof RubyString) { return (RubyString) anObject; } else { return (RubyString) anObject.convertType(RubyString.class, "String", "to_str"); } }
public static RubyString stringValue(IRubyObject anObject) { if (anObject instanceof RubyString) { return (RubyString) anObject; } else { return (RubyString) anObject.convertType(RubyString.class, "String", "to_str"); } }
3,225,627
private IRubyObject substr(int beg, int len) { int strLen = getValue().length(); if (len < 0 || beg > strLen) { return getRuntime().getNil(); } if (beg < 0) { beg += strLen; if (beg < 0) { return getRuntime().getNil(); } } int end = Math.min(strLen, beg + len); RubyString newStr = newString(getValue(...
private IRubyObject substr(int beg, int len) { int strLen = getValue().length(); if (len < 0 || beg > strLen) { return getRuntime().getNil(); } if (beg < 0) { beg += strLen; if (beg < 0) { return getRuntime().getNil(); } } int end = Math.min(strLen, beg + len); RubyString newStr = newString(getValue(...
3,225,628
public RubyInteger sum(IRubyObject[] args) { long bitSize = 16; if (args.length > 0) { RubyInteger sizeArgument = (RubyInteger) args[0].convertType(RubyInteger.class, "Integer", ...
public RubyInteger sum(IRubyObject[] args) { long bitSize = 16; if (args.length > 0) { RubyInteger sizeArgument = (RubyInteger) args[0].convertType(RubyInteger.class, "Integer", ...
3,225,629
public RubyString swapcase() { RubyString newString = newString(getValue()); IRubyObject swappedString = newString.swapcase_bang(); if (swappedString.isNil() == true) { return newString; } return (RubyString) swappedString; }
public RubyString swapcase() { RubyString newString = newString(getValue()); IRubyObject swappedString = newString.swapcase_bang(); if (swappedString.isNil() == true) { return newString; } return (RubyString) swappedString; }
3,225,630
private String tr(IRubyObject[] args, boolean squeeze) { if (args.length != 2) { throw new ArgumentError(getRuntime(), "wrong number of arguments"); } String srchSpec = stringValue(args[0]).getValue(); String srch = expandTemplate(srchSpec, true); if (srchSpec.startsWith("^")) { StringBuffer sbuf = new String...
private String tr(IRubyObject[] args, boolean squeeze) { if (args.length != 2) { throw new ArgumentError(getRuntime(), "wrong number of arguments"); } String srchSpec = stringValue(args[0]).getValue(); String srch = expandTemplate(srchSpec, true); if (srchSpec.startsWith("^")) { StringBuffer sbuf = new String...
3,225,631
private String tr(IRubyObject[] args, boolean squeeze) { if (args.length != 2) { throw new ArgumentError(getRuntime(), "wrong number of arguments"); } String srchSpec = stringValue(args[0]).getValue(); String srch = expandTemplate(srchSpec, true); if (srchSpec.startsWith("^")) { StringBuffer sbuf = new String...
private String tr(IRubyObject[] args, boolean squeeze) { if (args.length != 2) { throw new ArgumentError(getRuntime(), "wrong number of arguments"); } String srchSpec = stringValue(args[0]).getValue(); String srch = expandTemplate(srchSpec, true); if (srchSpec.startsWith("^")) { StringBuffer sbuf = new String...
3,225,632
public IRubyObject tr_bang(IRubyObject[] args) { String newStr = tr(args, false); if (newStr.equals(getValue())) { return getRuntime().getNil(); } setValue(newStr); return this; }
public IRubyObject tr_bang(IRubyObject[] args) { String newStr = tr(args, false); if (newStr.equals(getValue())) { return getRuntime().getNil(); } setValue(newStr); return this; }
3,225,633
public IRubyObject tr_s(IRubyObject[] args) { RubyString newStr = newString(tr(args, true)); newStr.infectBy(this); return newStr; }
public IRubyObject tr_s(IRubyObject[] args) { RubyString newStr = newString(tr(args, true)); newStr.infectBy(this); return newStr; }
3,225,634
public IRubyObject tr_s_bang(IRubyObject[] args) { String newStr = tr(args, true); if (newStr.equals(getValue())) { return getRuntime().getNil(); } setValue(newStr); return this; }
public IRubyObject tr_s_bang(IRubyObject[] args) { String newStr = tr(args, true); if (newStr.equals(getValue())) { return getRuntime().getNil(); } setValue(newStr); return this; }
3,225,635
public void setCompanyId(String companyId) { if (((companyId == null) && (_companyId != null)) || ((companyId != null) && (_companyId == null)) || ((companyId != null) && (_companyId != null) && !companyId.equals(_companyId))) { if (!XSS_ALLOW_COMPANYID) { companyId = XSSUtil.strip(companyId); } _co...
public void setCompanyId(String companyId) { if (((companyId == null) && (_companyId != null)) || ((companyId != null) && (_companyId == null)) || ((companyId != null) && (_companyId != null) && !companyId.equals(_companyId))) { if (!XSS_ALLOW_COMPANYID) { companyId = XSSUtil.strip(companyId); } _co...
3,225,636
public void setCreateDate(Date createDate) { if (((createDate == null) && (_createDate != null)) || ((createDate != null) && (_createDate == null)) || ((createDate != null) && (_createDate != null) && !createDate.equals(_createDate))) { _createDate = createDate; setModified(true); } }
public void setCreateDate(Date createDate) { if (((createDate == null) && (_createDate != null)) || ((createDate != null) && (_createDate == null)) || ((createDate != null) && (_createDate != null) && !createDate.equals(_createDate))) { _createDate = createDate; setModified(true); } }
3,225,637
public void setDescription(String description) { if (((description == null) && (_description != null)) || ((description != null) && (_description == null)) || ((description != null) && (_description != null) && !description.equals(_description))) { if (!XSS_ALLOW_DESCRIPTION) { description = XSSUtil.str...
public void setDescription(String description) { if (((description == null) && (_description != null)) || ((description != null) && (_description == null)) || ((description != null) && (_description != null) && !description.equals(_description))) { if (!XSS_ALLOW_DESCRIPTION) { description = XSSUtil.str...
3,225,638
public void setFolderId(String folderId) { if (((folderId == null) && (_folderId != null)) || ((folderId != null) && (_folderId == null)) || ((folderId != null) && (_folderId != null) && !folderId.equals(_folderId))) { if (!XSS_ALLOW_FOLDERID) { folderId = XSSUtil.strip(folderId); } _folderId = fold...
public void setFolderId(String folderId) { if (((folderId == null) && (_folderId != null)) || ((folderId != null) && (_folderId == null)) || ((folderId != null) && (_folderId != null) && !folderId.equals(_folderId))) { if (!XSS_ALLOW_FOLDERID) { folderId = XSSUtil.strip(folderId); } _folderId = fold...
3,225,639
public void setModifiedDate(Date modifiedDate) { if (((modifiedDate == null) && (_modifiedDate != null)) || ((modifiedDate != null) && (_modifiedDate == null)) || ((modifiedDate != null) && (_modifiedDate != null) && !modifiedDate.equals(_modifiedDate))) { _modifiedDate = modifiedDate; setModified(true);...
public void setModifiedDate(Date modifiedDate) { if (((modifiedDate == null) && (_modifiedDate != null)) || ((modifiedDate != null) && (_modifiedDate == null)) || ((modifiedDate != null) && (_modifiedDate != null) && !modifiedDate.equals(_modifiedDate))) { _modifiedDate = modifiedDate; setModified(true);...
3,225,640
public void setName(String name) { if (((name == null) && (_name != null)) || ((name != null) && (_name == null)) || ((name != null) && (_name != null) && !name.equals(_name))) { if (!XSS_ALLOW_NAME) { name = XSSUtil.strip(name); } _name = name; setModified(true); } }
public void setName(String name) { if (((name == null) && (_name != null)) || ((name != null) && (_name == null)) || ((name != null) && (_name != null) && !name.equals(_name))) { if (!XSS_ALLOW_NAME) { name = XSSUtil.strip(name); } _name = name; setModified(true); } }
3,225,641
public void setReadCount(int readCount) { if (readCount != _readCount) { _readCount = readCount; setModified(true); } }
public void setReadCount(int readCount) { if (readCount != _readCount) { _readCount = readCount; setModified(true); } }
3,225,642
public void setSize(int size) { if (size != _size) { _size = size; setModified(true); } }
public void setSize(int size) { if (size != _size) { _size = size; setModified(true); } }
3,225,643
public void setTitle(String title) { if (((title == null) && (_title != null)) || ((title != null) && (_title == null)) || ((title != null) && (_title != null) && !title.equals(_title))) { if (!XSS_ALLOW_TITLE) { title = XSSUtil.strip(title); } _title = title; setModified(true); } }
public void setTitle(String title) { if (((title == null) && (_title != null)) || ((title != null) && (_title == null)) || ((title != null) && (_title != null) && !title.equals(_title))) { if (!XSS_ALLOW_TITLE) { title = XSSUtil.strip(title); } _title = title; setModified(true); } }
3,225,644
public void setUserId(String userId) { if (((userId == null) && (_userId != null)) || ((userId != null) && (_userId == null)) || ((userId != null) && (_userId != null) && !userId.equals(_userId))) { if (!XSS_ALLOW_USERID) { userId = XSSUtil.strip(userId); } _userId = userId; setModified(true); } ...
public void setUserId(String userId) { if (((userId == null) && (_userId != null)) || ((userId != null) && (_userId == null)) || ((userId != null) && (_userId != null) && !userId.equals(_userId))) { if (!XSS_ALLOW_USERID) { userId = XSSUtil.strip(userId); } _userId = userId; setModified(true); } ...
3,225,645
public void setUserName(String userName) { if (((userName == null) && (_userName != null)) || ((userName != null) && (_userName == null)) || ((userName != null) && (_userName != null) && !userName.equals(_userName))) { if (!XSS_ALLOW_USERNAME) { userName = XSSUtil.strip(userName); } _userName = user...
public void setUserName(String userName) { if (((userName == null) && (_userName != null)) || ((userName != null) && (_userName == null)) || ((userName != null) && (_userName != null) && !userName.equals(_userName))) { if (!XSS_ALLOW_USERNAME) { userName = XSSUtil.strip(userName); } _userName = user...
3,225,646
public void setVersion(double version) { if (version != _version) { _version = version; setModified(true); } }
public void setVersion(double version) { if (version != _version) { _version = version; setModified(true); } }
3,225,647
public void setVersionUserId(String versionUserId) { if (((versionUserId == null) && (_versionUserId != null)) || ((versionUserId != null) && (_versionUserId == null)) || ((versionUserId != null) && (_versionUserId != null) && !versionUserId.equals(_versionUserId))) { if (!XSS_ALLOW_VERSIONUSERID) { ver...
public void setVersionUserId(String versionUserId) { if (((versionUserId == null) && (_versionUserId != null)) || ((versionUserId != null) && (_versionUserId == null)) || ((versionUserId != null) && (_versionUserId != null) && !versionUserId.equals(_versionUserId))) { if (!XSS_ALLOW_VERSIONUSERID) { ver...
3,225,648
public void setVersionUserName(String versionUserName) { if (((versionUserName == null) && (_versionUserName != null)) || ((versionUserName != null) && (_versionUserName == null)) || ((versionUserName != null) && (_versionUserName != null) && !versionUserName.equals(_versionUserName))) { if (!XSS_ALLOW_VER...
public void setVersionUserName(String versionUserName) { if (((versionUserName == null) && (_versionUserName != null)) || ((versionUserName != null) && (_versionUserName == null)) || ((versionUserName != null) && (_versionUserName != null) && !versionUserName.equals(_versionUserName))) { if (!XSS_ALLOW_VER...
3,225,649
public static String getHTML(String bbcode) { String html = StringUtil.replace(bbcode, _BBCODE_TAGS, _HTML_TAGS); for (int i = 0; i < EMOTICON_MAPPING.length; i++) { String imgTag = "<img src='" + EMOTICON_MAPPING[i][0] + "' />"; html = StringUtil.replace(html, EMOTICON_MAPPING[i][1], imgTag); } BBCodeTag t...
public static String getHTML(String bbcode) { String html = StringUtil.replace(bbcode, _BBCODE_TAGS, _HTML_TAGS); for (int i = 0; i < EMOTICON_MAPPING.length; i++) { String imgTag = "<img src='" + EMOTICON_MAPPING[i][0] + "' />"; html = StringUtil.replace(html, EMOTICON_MAPPING[i][1], imgTag); } BBCodeTag t...
3,225,650
public void reIndex(String[] ids) throws SystemException { try { String companyId = ids[0]; Iterator itr1 = MBCategoryUtil.findByCompanyId( companyId).iterator(); while (itr1.hasNext()) { MBCategory category = (MBCategory)itr1.next(); String categoryId = category.getCategoryId(); Iterator itr2 = MBM...
public void reIndex(String[] ids) throws SystemException { try { String companyId = ids[0]; Iterator itr1 = MBCategoryUtil.findByCompanyId( companyId).iterator(); while (itr1.hasNext()) { MBCategory category = (MBCategory)itr1.next(); String categoryId = category.getCategoryId(); Iterator itr2 = MBM...
3,225,651
public void reIndex(String[] ids) throws SystemException { try { String companyId = ids[0]; Iterator itr1 = MBCategoryUtil.findByCompanyId( companyId).iterator(); while (itr1.hasNext()) { MBCategory category = (MBCategory)itr1.next(); String categoryId = category.getCategoryId(); Iterator itr2 = MBM...
public void reIndex(String[] ids) throws SystemException { try { String companyId = ids[0]; Iterator itr1 = MBCategoryUtil.findByCompanyId( companyId).iterator(); while (itr1.hasNext()) { MBCategory category = (MBCategory)itr1.next(); String categoryId = category.getCategoryId(); Iterator itr2 = MBM...
3,225,652
public static Border getBorder(Context c, Box box) { if (isBlockOrInlineElementBox(c, box)) { // u.p("setting border for: " + box); if (box.border == null) { box.border = c.css.getStyle(box.getRealElement()).getBorderWidth(); } } else { // u.p...
public static Border getBorder(Context c, Box box) { if (isBlockOrInlineElementBox(c, box)) { // u.p("setting border for: " + box); if (box.border == null) { box.border = box.getContent().getStyle().getBorderWidth(); } } else { // u.p("skippin...
3,225,653
public static String getPosition(Context c, Box box) { String position = c.css.getStyle(box.getRealElement()).getStringProperty("position"); if (position == null) { position = "static"; } return position; }
public static String getPosition(Context c, Box box) { String position = c.css.getStyle(box.getRealElement()).getStringProperty("position"); if (position == null) { position = "static"; } return position; }
3,225,654
public static boolean isBlockNode(Node child, Context c) { //need this as a sensible default if (child == child.getOwnerDocument().getDocumentElement()) return true; if (child instanceof Element) { CalculatedStyle style = c.css.getStyle(child); String display = get...
public static boolean isBlockNode(Node child, Context c) { //need this as a sensible default if (child == child.getOwnerDocument().getDocumentElement()) return true; if (child instanceof Element) { CalculatedStyle style = c.css.getStyle(child); String display = get...
3,225,656
public static boolean isBlockOrInlineElementBox(Context c, Box box) { if(box.isElement()) { return true; } if ( box.getNode().getNodeType() == Node.TEXT_NODE && !LayoutUtil.isBlockNode(box.getRealElement(), c) ) { // u.p("box = " + box); ...
public static boolean isBlockOrInlineElementBox(Context c, Box box) { if(box.isElement()) { return true; } if ( box.getNode().getNodeType() == Node.TEXT_NODE && !LayoutUtil.isBlockNode(box.getRealElement(), c) ) { // u.p("box = " + box); ...
3,225,657
public static boolean isFixed(Context c, Box box) { if (getPosition(c, box).equals("fixed")) { return true; } return false; }
public static boolean isFixed(Context c, Box box) { if (getPosition(c, box).equals("fixed")) { return true; } return false; }
3,225,658
public static boolean isFloated(Box inline, Context c) { CalculatedStyle style = c.css.getStyle(inline.getNode()); return isFloated(style); }
public static boolean isFloated(Box inline, Context c) { CalculatedStyle style = inline.getContent().getStyle(); return isFloated(style); }
3,225,659
public static boolean isListItem(Context c, Box box) { CalculatedStyle style = c.css.getStyle(box.getNode()); String display = getDisplay(style); if (display.equals("list-item")) { return true; } return false; }
public static boolean isListItem(Context c, Box box) { CalculatedStyle style = c.css.getStyle(box.getNode()); String display = getDisplay(style); if (display.equals("list-item")) { return true; } return false; }
3,225,660
private void adjustHeight(Context c, Box block) { if (!block.isElement()) { return; } Element elem = block.getElement(); if (c.css.getStyle(elem).hasProperty("height")) { //float new_height = c.css.getFloatProperty(elem, "height", c.getExtents().height); ...
private void adjustHeight(Context c, Box block) { if (!(block.getContent() instanceof BlockContent)) { return; } Element elem = block.getElement(); if (c.css.getStyle(elem).hasProperty("height")) { //float new_height = c.css.getFloatProperty(elem, "height", c.getExt...
3,225,661
private void adjustHeight(Context c, Box block) { if (!block.isElement()) { return; } Element elem = block.getElement(); if (c.css.getStyle(elem).hasProperty("height")) { //float new_height = c.css.getFloatProperty(elem, "height", c.getExtents().height); ...
private void adjustHeight(Context c, Box block) { if (!block.isElement()) { return; } Element elem = block.getElement(); CalculatedStyle style = block.getContent().getStyle(); if (style.hasProperty("height")) { //float new_height = c.css.getFloatProperty(elem, "heig...
3,225,662
private void adjustHeight(Context c, Box block) { if (!block.isElement()) { return; } Element elem = block.getElement(); if (c.css.getStyle(elem).hasProperty("height")) { //float new_height = c.css.getFloatProperty(elem, "height", c.getExtents().height); ...
private void adjustHeight(Context c, Box block) { if (!block.isElement()) { return; } Element elem = block.getElement(); if (c.css.getStyle(elem).hasProperty("height")) { //float new_height = c.css.getFloatProperty(elem, "height", c.getExtents().height); ...
3,225,663
private void adjustWidth(Context c, Box block) { if (!block.isElement()) { return; } // initalize the width to all the available space //block.width = c.getExtents().width; Element elem = block.getElement(); //if (c.css.hasProperty(elem, "width", false)) { ...
private void adjustWidth(Context c, Box block) { if (!(block.getContent() instanceof BlockContent)) { return; } // initalize the width to all the available space //block.width = c.getExtents().width; Element elem = block.getElement(); //if (c.css.hasProperty(elem...
3,225,664
private void adjustWidth(Context c, Box block) { if (!block.isElement()) { return; } // initalize the width to all the available space //block.width = c.getExtents().width; Element elem = block.getElement(); //if (c.css.hasProperty(elem, "width", false)) { ...
private void adjustWidth(Context c, Box block) { if (!block.isElement()) { return; } // initalize the width to all the available space //block.width = c.getExtents().width; Element elem = block.getElement(); //if (c.css.hasProperty(elem, "width", false)) { ...
3,225,665
private void adjustWidth(Context c, Box block) { if (!block.isElement()) { return; } // initalize the width to all the available space //block.width = c.getExtents().width; Element elem = block.getElement(); //if (c.css.hasProperty(elem, "width", false)) { ...
private void adjustWidth(Context c, Box block) { if (!block.isElement()) { return; } // initalize the width to all the available space //block.width = c.getExtents().width; Element elem = block.getElement(); //if (c.css.hasProperty(elem, "width", false)) { ...
3,225,666
public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height //not used: int original_height = block.height; Element elem = (Element) box.getNode(); // pr...
public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height //not used: int original_height = block.height; Element elem = (Element) box.getNode(); // pr...
3,225,667
public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height //not used: int original_height = block.height; Element elem = (Element) box.getNode(); // pr...
public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height //not used: int original_height = block.height; // prepare for the list items int old_...
3,225,668
public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height //not used: int original_height = block.height; Element elem = (Element) box.getNode(); // pr...
public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height //not used: int original_height = block.height; Element elem = (Element) box.getNode(); // pr...
3,225,669
public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height //not used: int original_height = block.height; Element elem = (Element) box.getNode(); // pr...
public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height //not used: int original_height = block.height; Element elem = (Element) box.getNode(); // pr...
3,225,670
public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height //not used: int original_height = block.height; Element elem = (Element) box.getNode(); // pr...
public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height //not used: int original_height = block.height; Element elem = (Element) box.getNode(); // pr...
3,225,671
public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height //not used: int original_height = block.height; Element elem = (Element) box.getNode(); // pr...
public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height //not used: int original_height = block.height; Element elem = (Element) box.getNode(); // pr...
3,225,672
public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height //not used: int original_height = block.height; Element elem = (Element) box.getNode(); // pr...
public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height //not used: int original_height = block.height; Element elem = (Element) box.getNode(); // pr...
3,225,673
public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height //not used: int original_height = block.height; Element elem = (Element) box.getNode(); // pr...
public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height //not used: int original_height = block.height; Element elem = (Element) box.getNode(); // pr...
3,225,674
public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height //not used: int original_height = block.height; Element elem = (Element) box.getNode(); // pr...
public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height //not used: int original_height = block.height; Element elem = (Element) box.getNode(); // pr...
3,225,675
public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height //not used: int original_height = block.height; Element elem = (Element) box.getNode(); // pr...
public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height //not used: int original_height = block.height; Element elem = (Element) box.getNode(); // pr...
3,225,676
public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height //not used: int original_height = block.height; Element elem = (Element) box.getNode(); // pr...
public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height //not used: int original_height = block.height; Element elem = (Element) box.getNode(); // pr...
3,225,677
private void appear(IExtensionPoint extPt, IExtension ext) { String name = extPt.getSimpleIdentifier(); if (name .equalsIgnoreCase(IWorkbenchConstants.PL_ACTION_SET_PART_ASSOCIATIONS)) { loadActionSetPartAssociation(ext); return; } if (name.equalsIgno...
private void appear(IExtensionPoint extPt, IExtension ext) { String name = extPt.getSimpleIdentifier(); if (name .equalsIgnoreCase(IWorkbenchConstants.PL_ACTION_SET_PART_ASSOCIATIONS)) { loadActionSetPartAssociation(ext); return; } if (name.equalsIgno...
3,225,678
public void run() { revoke(extpt, ext); }
public void run() { Shell parentShell = null; IWorkbenchWindow window = workbench.getActiveWorkbenchWindow(); if (window == null) { if (workbench.getWorkbenchWindowCount() == 0) return; window = workbench.getWorkbenchWindows()[0]; } parentShell = window.getShell(); if (MessageDialog .openQu...
3,225,679
private void revoke(IExtensionPoint extPt, IExtension ext) { String name = extPt.getSimpleIdentifier(); if (name.equalsIgnoreCase(IWorkbenchConstants.PL_VIEWS)) { unloadView(ext); return; } if (name.equalsIgnoreCase(IWorkbenchConstants.PL_PERSPECTIVES)) { ...
private void revoke(IExtensionPoint extPt, IExtension ext) { String name = extPt.getSimpleIdentifier(); if (name.equalsIgnoreCase(IWorkbenchConstants.PL_VIEWS)) { unloadView(ext); return; } if (name.equalsIgnoreCase(IWorkbenchConstants.PL_PERSPECTIVES)) { ...
3,225,680
private void revoke(IExtensionPoint extPt, IExtension ext) { String name = extPt.getSimpleIdentifier(); if (name.equalsIgnoreCase(IWorkbenchConstants.PL_VIEWS)) { unloadView(ext); return; } if (name.equalsIgnoreCase(IWorkbenchConstants.PL_PERSPECTIVES)) { ...
private void revoke(IExtensionPoint extPt, IExtension ext) { String name = extPt.getSimpleIdentifier(); if (name.equalsIgnoreCase(IWorkbenchConstants.PL_VIEWS)) { unloadView(ext); return; } if (name.equalsIgnoreCase(IWorkbenchConstants.PL_PERSPECTIVES)) { ...
3,225,681
public void addLeftFloat(Box block) { // Uu.p("adding a left float: " + block); //Uu.dump_stack(); left_floats.add(block); offset_map.put(block, getOffset()); }
public void addLeftFloat(Box block) { // Uu.p("adding a left float: " + block); //Uu.dump_stack(); left_floats.add(block); offset_map.put(block, getOffset()); }
3,225,684
private int getFloatDistance(Box line, List floatsList) { int xoff = 0; if (floatsList.size() == 0) { return 0; } for (int i = 0; i < floatsList.size(); i++) { Box floater = (Box) floatsList.get(i); Point fpt = (Point) offset_map.get(floater); ...
private int getFloatDistance(Box line, List floatsList) { int xoff = 0; if (floatsList.size() == 0) { return 0; } for (int i = 0; i < floatsList.size(); i++) { Box floater = (Box) floatsList.get(i); Point fpt = (Point) offset_map.get(floater); ...
3,225,686
public int getLeftDownDistance(Box box) { /* Uu.p("in get left down distance: " + box); for(int i=0; i< left_floats.size(); i++) { Box floater = (Box) left_floats.get(i); Uu.p("looking at floater: " + floater); Uu.p("floater parent = " + floater.getParent()); ...
public int getLeftDownDistance(Box box) { /* Uu.p("in get left down distance: " + box); for(int i=0; i< left_floats.size(); i++) { Box floater = (Box) left_floats.get(i); Uu.p("looking at floater: " + floater); Uu.p("floater parent = " + floater.getParent()); ...
3,225,687
public Box getLeftFloatX(Box box) { // count backwards through the floats int x = 0; for (int i = left_floats.size() - 1; i >= 0; i--) { Box floater = (Box) left_floats.get(i); // Uu.p("box = " + box); // Uu.p("testing against float = " + floater); x ...
public Box getLeftFloatX(Box box) { // count backwards through the floats int x = 0; for (int i = left_floats.size() - 1; i >= 0; i--) { Box floater = (Box) left_floats.get(i); // Uu.p("box = " + box); // Uu.p("testing against float = " + floater); x ...
3,225,688
public Box getLeftFloatX(Box box) { // count backwards through the floats int x = 0; for (int i = left_floats.size() - 1; i >= 0; i--) { Box floater = (Box) left_floats.get(i); // Uu.p("box = " + box); // Uu.p("testing against float = " + floater); x ...
public Box getLeftFloatX(Box box) { // count backwards through the floats int x = 0; for (int i = left_floats.size() - 1; i >= 0; i--) { Box floater = (Box) left_floats.get(i); // Uu.p("box = " + box); // Uu.p("testing against float = " + floater); x ...
3,225,689
public Box getLeftFloatX(Box box) { // count backwards through the floats int x = 0; for (int i = left_floats.size() - 1; i >= 0; i--) { Box floater = (Box) left_floats.get(i); // Uu.p("box = " + box); // Uu.p("testing against float = " + floater); x ...
public Box getLeftFloatX(Box box) { // count backwards through the floats int x = 0; for (int i = left_floats.size() - 1; i >= 0; i--) { Box floater = (Box) left_floats.get(i); // Uu.p("box = " + box); // Uu.p("testing against float = " + floater); x ...
3,225,690
public Point getOffset() { //return new Point(x, y); return new Point(x, y); }
public Point getOffset() { //return new Point(x, y); return new Point(x, y); }
3,225,692
public void addMenuContribution() { if (!PlatformUI.isWorkbenchRunning()) { return; } IMenuService menuService = (IMenuService) PlatformUI.getWorkbench() .getService(IMenuService.class); viewMenuAddition = new AbstractContributionFactory("menu:org.eclipse.ui.tests.api.MenuTestHarness?after=additions") { ...
public void addMenuContribution() { if (!PlatformUI.isWorkbenchRunning()) { return; } IMenuService menuService = (IMenuService) PlatformUI.getWorkbench() .getService(IMenuService.class); viewMenuAddition = new AbstractContributionFactory("menu:org.eclipse.ui.tests.api.MenuTestHarness?after=additions") { ...
3,225,696
public void addMenuContribution() { if (!PlatformUI.isWorkbenchRunning()) { return; } IMenuService menuService = (IMenuService) PlatformUI.getWorkbench() .getService(IMenuService.class); viewMenuAddition = new AbstractContributionFactory("menu:org.eclipse.ui.tests.api.MenuTestHarness?after=additions") { ...
public void addMenuContribution() { if (!PlatformUI.isWorkbenchRunning()) { return; } IMenuService menuService = (IMenuService) PlatformUI.getWorkbench() .getService(IMenuService.class); viewMenuAddition = new AbstractContributionFactory("menu:org.eclipse.ui.tests.api.MenuTestHarness?after=additions") { ...
3,225,697
public void addMenuContribution() { if (!PlatformUI.isWorkbenchRunning()) { return; } IMenuService menuService = (IMenuService) PlatformUI.getWorkbench() .getService(IMenuService.class); viewMenuAddition = new AbstractContributionFactory("menu:org.eclipse.ui.tests.api.MenuTestHarness?after=additions") { ...
public void addMenuContribution() { if (!PlatformUI.isWorkbenchRunning()) { return; } IMenuService menuService = (IMenuService) PlatformUI.getWorkbench() .getService(IMenuService.class); viewMenuAddition = new AbstractContributionFactory("menu:org.eclipse.ui.tests.api.MenuTestHarness?after=additions") { ...
3,225,698
public void addMenuContribution() { if (!PlatformUI.isWorkbenchRunning()) { return; } IMenuService menuService = (IMenuService) PlatformUI.getWorkbench() .getService(IMenuService.class); viewMenuAddition = new AbstractContributionFactory("menu:org.eclipse.ui.tests.api.MenuTestHarness?after=additions") { ...
public void addMenuContribution() { if (!PlatformUI.isWorkbenchRunning()) { return; } IMenuService menuService = (IMenuService) PlatformUI.getWorkbench() .getService(IMenuService.class); viewMenuAddition = new AbstractContributionFactory("menu:org.eclipse.ui.tests.api.MenuTestHarness?after=additions") { ...
3,225,699
public void addMenuContribution() { if (!PlatformUI.isWorkbenchRunning()) { return; } IMenuService menuService = (IMenuService) PlatformUI.getWorkbench() .getService(IMenuService.class); viewMenuAddition = new AbstractContributionFactory("menu:org.eclipse.ui.tests.api.MenuTestHarness?after=additions") { ...
public void addMenuContribution() { if (!PlatformUI.isWorkbenchRunning()) { return; } IMenuService menuService = (IMenuService) PlatformUI.getWorkbench() .getService(IMenuService.class); viewMenuAddition = new AbstractContributionFactory("menu:org.eclipse.ui.tests.api.MenuTestHarness?after=additions") { ...
3,225,700
public void addMenuContribution() { if (!PlatformUI.isWorkbenchRunning()) { return; } IMenuService menuService = (IMenuService) PlatformUI.getWorkbench() .getService(IMenuService.class); viewMenuAddition = new AbstractContributionFactory("menu:org.eclipse.ui.tests.api.MenuTestHarness?after=additions") { ...
public void addMenuContribution() { if (!PlatformUI.isWorkbenchRunning()) { return; } IMenuService menuService = (IMenuService) PlatformUI.getWorkbench() .getService(IMenuService.class); viewMenuAddition = new AbstractContributionFactory("menu:org.eclipse.ui.tests.api.MenuTestHarness?after=additions") { ...
3,225,701
public void addMenuContribution() { if (!PlatformUI.isWorkbenchRunning()) { return; } IMenuService menuService = (IMenuService) PlatformUI.getWorkbench() .getService(IMenuService.class); viewMenuAddition = new AbstractContributionFactory("menu:org.eclipse.ui.tests.api.MenuTestHarness?after=additions") { ...
public void addMenuContribution() { if (!PlatformUI.isWorkbenchRunning()) { return; } IMenuService menuService = (IMenuService) PlatformUI.getWorkbench() .getService(IMenuService.class); viewMenuAddition = new AbstractContributionFactory("menu:org.eclipse.ui.tests.api.MenuTestHarness?after=additions") { ...
3,225,702
public void addMenuContribution() { if (!PlatformUI.isWorkbenchRunning()) { return; } IMenuService menuService = (IMenuService) PlatformUI.getWorkbench() .getService(IMenuService.class); viewMenuAddition = new AbstractContributionFactory("menu:org.eclipse.ui.tests.api.MenuTestHarness?after=additions") { ...
public void addMenuContribution() { if (!PlatformUI.isWorkbenchRunning()) { return; } IMenuService menuService = (IMenuService) PlatformUI.getWorkbench() .getService(IMenuService.class); viewMenuAddition = new AbstractContributionFactory("menu:org.eclipse.ui.tests.api.MenuTestHarness?after=additions") { ...
3,225,703
public void addMenuContribution() { if (!PlatformUI.isWorkbenchRunning()) { return; } IMenuService menuService = (IMenuService) PlatformUI.getWorkbench() .getService(IMenuService.class); viewMenuAddition = new AbstractContributionFactory("menu:org.eclipse.ui.tests.api.MenuTestHarness?after=additions") { ...
publicvoidaddMenuContribution(){ if(!PlatformUI.isWorkbenchRunning()){ return; } IMenuServicemenuService=(IMenuService)PlatformUI.getWorkbench() .getService(IMenuService.class); viewMenuAddition=newAbstractContributionFactory("menu:org.eclipse.ui.tests.api.MenuTestHarness?after=additions"){ publicvoidcreateC...
3,225,704
public void addMenuContribution() { if (!PlatformUI.isWorkbenchRunning()) { return; } IMenuService menuService = (IMenuService) PlatformUI.getWorkbench() .getService(IMenuService.class); viewMenuAddition = new AbstractContributionFactory("menu:org.eclipse.ui.tests.api.MenuTestHarness?after=additions") { ...
public void addMenuContribution() { if (!PlatformUI.isWorkbenchRunning()) { return; } IMenuService menuService = (IMenuService) PlatformUI.getWorkbench() .getService(IMenuService.class); viewMenuAddition = new AbstractContributionFactory("menu:org.eclipse.ui.tests.api.MenuTestHarness?after=additions") { ...
3,225,705
public void createContributionItems(IMenuService menuService, List additions) { CommandContributionItem item = new CommandContributionItem( "org.eclipse.ui.tests.menus.itemX20", "org.eclipse.ui.tests.menus.enabledWorld", null, null, "Item X20", null); additions.add(item); MenuManager submenu ...
public void createContributionItems(IMenuService menuService, List additions) { CommandContributionItem item = new CommandContributionItem( "org.eclipse.ui.tests.menus.itemX20", "org.eclipse.ui.tests.menus.enabledWorld", null, null, "Item X20", null); additions.add(item); MenuManager submenu ...
3,225,706
public void createContributionItems(IMenuService menuService, List additions) { CommandContributionItem item = new CommandContributionItem( "org.eclipse.ui.tests.menus.itemX20", "org.eclipse.ui.tests.menus.enabledWorld", null, null, "Item X20", null); additions.add(item); MenuManager submenu ...
public void createContributionItems(IMenuService menuService, List additions) { CommandContributionItem item = new CommandContributionItem( "org.eclipse.ui.tests.menus.itemX20", "org.eclipse.ui.tests.menus.enabledWorld", null, null, "Item X20", null); additions.add(item); MenuManager submenu ...
3,225,707
public void createContributionItems(IMenuService menuService, List additions) { CommandContributionItem item = new CommandContributionItem( "org.eclipse.ui.tests.menus.itemX20", "org.eclipse.ui.tests.menus.enabledWorld", null, null, "Item X20", null); additions.add(item); MenuManager submenu ...
public void createContributionItems(IMenuService menuService, List additions) { CommandContributionItem item = new CommandContributionItem( "org.eclipse.ui.tests.menus.itemX20", "org.eclipse.ui.tests.menus.enabledWorld", null, null, "Item X20", null); additions.add(item); MenuManager submenu ...
3,225,708
public void createContributionItems(IMenuService menuService, List additions) { CommandContributionItem item = new CommandContributionItem( "org.eclipse.ui.tests.menus.itemX20", "org.eclipse.ui.tests.menus.enabledWorld", null, null, "Item X20", null); additions.add(item); MenuManager submenu ...
public void createContributionItems(IMenuService menuService, List additions) { CommandContributionItem item = new CommandContributionItem( "org.eclipse.ui.tests.menus.itemX20", "org.eclipse.ui.tests.menus.enabledWorld", null, null, "Item X20", null); additions.add(item); MenuManager submenu ...
3,225,709
public void createContributionItems(IMenuService menuService, List additions) { CommandContributionItem item = new CommandContributionItem( "org.eclipse.ui.tests.menus.itemX20", "org.eclipse.ui.tests.menus.enabledWorld", null, null, "Item X20", null); additions.add(item); MenuManager submenu ...
public void createContributionItems(IMenuService menuService, List additions) { CommandContributionItem item = new CommandContributionItem( "org.eclipse.ui.tests.menus.itemX20", "org.eclipse.ui.tests.menus.enabledWorld", null, null, "Item X20", null); additions.add(item); MenuManager submenu ...
3,225,710
public void releaseContributionItems(IMenuService menuService, List items) { // for us this is a no-op }
public void releaseContributionItems(IMenuService menuService, List items) { // for us this is a no-op }
3,225,711
public void createContributionItems(IMenuService menuService, List additions) { CommandContributionItem item = new CommandContributionItem( "org.eclipse.ui.tests.menus.itemX25", "org.eclipse.ui.tests.menus.updateWorld", null, null, "Item X25", null); additions.add(item); WidgetContributionIte...
public void createContributionItems(IMenuService menuService, List additions) { CommandContributionItem item = new CommandContributionItem( "org.eclipse.ui.tests.menus.itemX25", "org.eclipse.ui.tests.menus.updateWorld", null, null, "Item X25", null); additions.add(item); WidgetContributionIte...
3,225,712
public void createContributionItems(IMenuService menuService, List additions) { CommandContributionItem item = new CommandContributionItem( "org.eclipse.ui.tests.menus.itemX25", "org.eclipse.ui.tests.menus.updateWorld", null, null, "Item X25", null); additions.add(item); WidgetContributionIte...
public void createContributionItems(IMenuService menuService, List additions) { CommandContributionItem item = new CommandContributionItem( "org.eclipse.ui.tests.menus.itemX25", "org.eclipse.ui.tests.menus.updateWorld", null, null, "Item X25", null); additions.add(item); WidgetContributionIte...
3,225,713