bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
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...
publicvoidcreateContributionItems(IMenuServicemenuService,Listadditions){ CommandContributionItemitem=newCommandContributionItem( "org.eclipse.ui.tests.menus.itemX25", "org.eclipse.ui.tests.menus.updateWorld",null,null, "ItemX25",null); additions.add(item); WidgetContributionItemwidget=newWid...
3,225,714
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,715
public static IRubyObject open(IRubyObject recv, IRubyObject[] args) { String arg = ((RubyString) args[0]).getValue(); // Should this logic be pushed into RubyIO Somewhere? if (arg.startsWith("|")) { String command = arg.substring(1); // exec process, create IO with process ...
public static IRubyObject open(IRubyObject recv, IRubyObject[] args) { String arg = ((RubyString) args[0].convertToString()).getValue(); // Should this logic be pushed into RubyIO Somewhere? if (arg.startsWith("|")) { String command = arg.substring(1); // exec process, create...
3,225,716
public void markDirty() { boolean wasDirty = isDirty(); super.markDirty(); // optimization: if already dirty, assume all parents are already dirty too if (!wasDirty) { IContributionManager parent = getParent(); if (parent != null) { parent.markDirty()...
public void markDirty() { super.markDirty(); // optimization: if already dirty, assume all parents are already dirty too if (!wasDirty) { IContributionManager parent = getParent(); if (parent != null) { parent.markDirty(); } } }
3,225,717
public void markDirty() { boolean wasDirty = isDirty(); super.markDirty(); // optimization: if already dirty, assume all parents are already dirty too if (!wasDirty) { IContributionManager parent = getParent(); if (parent != null) { parent.markDirty()...
public void markDirty() { boolean wasDirty = isDirty(); super.markDirty(); // optimization: if already dirty, assume all parents are already dirty too if (!wasDirty) { IContributionManager parent = getParent(); if (parent != null) { parent.markDirty()...
3,225,718
protected Rectangle getContentAreaEdge(int left, int top, CssContext cssCtx) { RectPropertySet margin = getStyle().getMarginWidth(cssCtx); RectPropertySet border = getStyle().getCalculatedStyle().getBorder(cssCtx); RectPropertySet padding = getStyle().getPaddingWidth(cssCtx); Rec...
public Rectangle getContentAreaEdge(int left, int top, CssContext cssCtx) { RectPropertySet margin = getStyle().getMarginWidth(cssCtx); RectPropertySet border = getStyle().getCalculatedStyle().getBorder(cssCtx); RectPropertySet padding = getStyle().getPaddingWidth(cssCtx); Rectan...
3,225,719
public BrowserStartup() { logger.info("starting up"); history = new HistoryManager(); }
public BrowserStartup() { logger.info("starting up"); }
3,225,720
public void init() { logger.info("creating UI"); actions = new BrowserActions(this); actions.init(); panel = new BrowserPanel(this, new FrameBrowserPanelListener()); panel.init(); panel.createLayout(); panel.createActions(); menu = new BrowserMenuBar(this); ...
panel.loadPage("demo:demos/splash/splash.html"); panel.loadPage("demo:demos/splash/splash.html"); panel.loadPage("demo:demos/splash/splash.html"); panel.loadPage("demo:demos/splash/splash.html"); publicpanel.loadPage("demo:demos/splash/splash.html"); voidpanel.loadPage("demo:demos/splash/splash.html"); init()panel.load...
3,225,721
public void init() { logger.info("creating UI"); actions = new BrowserActions(this); actions.init(); panel = new BrowserPanel(this, new FrameBrowserPanelListener()); panel.init(); panel.createLayout(); panel.createActions(); menu = new BrowserMenuBar(this); ...
public void init() { logger.info("creating UI"); actions = new BrowserActions(this); actions.init(); panel = new BrowserPanel(this, new FrameBrowserPanelListener()); panel.init(); panel.createLayout(); panel.createActions(); menu = new BrowserMenuBar(this); ...
3,225,722
public static void main(String[] args) throws Exception { if(GeneralUtil.isMacOSX()) { System.setProperty("apple.laf.useScreenMenuBar", "true"); System.setProperty("com.apple.mrj.application.apple.menu.about.name","FS Browser"); } //System.out.println(new URI("images/Stop24.gif")); JFrame fra...
public static void main(String[] args) throws Exception { if(GeneralUtil.isMacOSX()) { System.setProperty("apple.laf.useScreenMenuBar", "true"); System.setProperty("com.apple.mrj.application.apple.menu.about.name","FS Browser"); } //System.out.println(new URI("images/Stop24.gif")); JFrame fra...
3,225,723
public static void main(String[] args) throws Exception { if(GeneralUtil.isMacOSX()) { System.setProperty("apple.laf.useScreenMenuBar", "true"); System.setProperty("com.apple.mrj.application.apple.menu.about.name","FS Browser"); } //System.out.println(new URI("images/Stop24.gif")); JFrame fra...
public static void main(String[] args) throws Exception { if(GeneralUtil.isMacOSX()) { System.setProperty("apple.laf.useScreenMenuBar", "true"); System.setProperty("com.apple.mrj.application.apple.menu.about.name","FS Browser"); } //System.out.println(new URI("images/Stop24.gif")); JFrame fra...
3,225,724
public void componentResized( ComponentEvent e ) { bs.panel.view.relayout(); }
public void componentResized( ComponentEvent e ) { bs.panel.view.relayout(); }
3,225,725
public void init(ServletConfig config) throws ServletException { String servletClass = config.getInitParameter("servlet-class"); ClassLoader classLoader = PortalClassLoaderUtil.getClassLoader(); try { _servlet = (HttpServlet)classLoader.loadClass( servletClass).newInstance(); } catch (ClassNotFoundException ...
public void init(ServletConfig config) throws ServletException { String servletClass = config.getInitParameter("servlet-class"); ClassLoader classLoader = PortalClassLoaderUtil.getClassLoader(); try { _servlet = (HttpServlet)classLoader.loadClass( servletClass).newInstance(); } catch (ClassNotFoundException ...
3,225,727
public void init(ServletConfig config) throws ServletException { String servletClass = config.getInitParameter("servlet-class"); ClassLoader classLoader = PortalClassLoaderUtil.getClassLoader(); try { _servlet = (HttpServlet)classLoader.loadClass( servletClass).newInstance(); } catch (ClassNotFoundException ...
public void init(ServletConfig config) throws ServletException { String servletClass = config.getInitParameter("servlet-class"); ClassLoader classLoader = PortalClassLoaderUtil.getClassLoader(); try { _servlet = (HttpServlet)classLoader.loadClass( servletClass).newInstance(); } catch (ClassNotFoundException ...
3,225,728
public void propertyChange(PropertyChangeEvent event) { String propertyName = event.getProperty(); if (IPreferenceConstants.ENABLED_DECORATORS.equals(propertyName)) WorkbenchPlugin .getDefault() .getDecoratorManager() .restoreListeners(); if (IWorkbenchPreferenceConstants .DEFAULT_PERSPECTIVE_ID .equ...
public void propertyChange(PropertyChangeEvent event) { String propertyName = event.getProperty(); if (IPreferenceConstants.ENABLED_DECORATORS.equals(propertyName)) WorkbenchPlugin .getDefault() .getDecoratorManager() .restoreListeners(); if (IWorkbenchPreferenceConstants .DEFAULT_PERSPECTIVE_ID .equ...
3,225,729
protected Control createButtonBar(Composite parent) { Composite composite = new Composite(parent, SWT.NULL); GridLayout layout = new GridLayout(); if (fStatusLineAboveButtons) { layout.numColumns = 1; } else { layout.numColumns = 2; } layout.marginHeight = 0; layout.marginWidth = convertHorizontalDLUsToPixe...
protected Control createButtonBar(Composite parent) { Composite composite = new Composite(parent, SWT.NULL); GridLayout layout = new GridLayout(); if (fStatusLineAboveButtons) { layout.numColumns = 1; } else { layout.numColumns = 2; } layout.marginHeight = 0; layout.marginWidth = convertHorizontalDLUsToPixe...
3,225,730
protected Control createButtonBar(Composite parent) { Composite composite = new Composite(parent, SWT.NULL); GridLayout layout = new GridLayout(); if (fStatusLineAboveButtons) { layout.numColumns = 1; } else { layout.numColumns = 2; } layout.marginHeight = 0; layout.marginWidth = convertHorizontalDLUsToPixe...
protected Control createButtonBar(Composite parent) { Composite composite = new Composite(parent, SWT.NULL); GridLayout layout = new GridLayout(); if (fStatusLineAboveButtons) { layout.numColumns = 1; } else { layout.numColumns = 2; } layout.marginHeight = 0; layout.marginWidth = convertHorizontalDLUsToPixe...
3,225,731
public RubyHash each() { ThreadContext context = getRuntime().getCurrentContext(); for (Iterator iter = entryIterator(); iter.hasNext();) { checkRehashing(); Map.Entry entry = (Map.Entry) iter.next(); context.yield(getRuntime().newArray((IRubyObject)entry.getKey(), (IR...
public RubyHash each() { ThreadContext context = getRuntime().getCurrentContext(); for (Iterator iter = entryIterator(); iter.hasNext();) { checkRehashing(); Map.Entry entry = (Map.Entry) iter.next(); context.yield(getRuntime().newArray((IRubyObject)entry.getKey(), (IR...
3,225,733
public com.liferay.portlet.shopping.model.ShoppingCart update( com.liferay.portlet.shopping.model.ShoppingCart shoppingCart) throws SystemException { Session session = null; try { if (shoppingCart.isNew() || shoppingCart.isModified()) { session = openSession(); if (shoppingCart.isNew()) { ShoppingCart ...
public com.liferay.portlet.shopping.model.ShoppingCart update( com.liferay.portlet.shopping.model.ShoppingCart shoppingCart) throws SystemException { Session session = null; try { if (shoppingCart.isNew() || shoppingCart.isModified()) { session = openSession(); if (shoppingCart.isNew()) { ShoppingCart ...
3,225,734
public boolean closeAllEditors(boolean save) { // If part is added / removed always unzoom. if (isZoomed()) zoomOut(); // Save part. if (save && !getEditorManager().saveAll(true, true)) return false; // Deactivate part. boolean deactivate = activePart instanceof IEditorPart; if (deactivate) setActivePart(null); la...
public boolean closeAllEditors(boolean save) { // If part is added / removed always unzoom. if (isZoomed()) zoomOut(); // Save part. if (save && !getEditorManager().saveAll(true, true)) return false; // Deactivate part. boolean deactivate = activePart instanceof IEditorPart; if (deactivate) setActivePart(null); la...
3,225,735
public boolean closeAllSavedEditors() { // If part is added / removed always unzoom. if (isZoomed()) zoomOut(); boolean deactivated = false; // Close all editors. IEditorReference editors[] = getEditorReferences(); for (int i = 0; i < editors.length; i ++) { IEditorReference editor = editors[i]; IWorkbenchPart ...
public boolean closeAllSavedEditors() { // If part is added / removed always unzoom. if (isZoomed()) zoomOut(); boolean deactivated = false; // Close all editors. IEditorReference editors[] = getEditorReferences(); for (int i = 0; i < editors.length; i ++) { IEditorReference editor = editors[i]; IWorkbenchPart ...
3,225,736
public static RubyClass createBignumClass(Ruby runtime) { RubyClass result = runtime.defineClass("Bignum", runtime.getClasses().getIntegerClass()); CallbackFactory callbackFactory = runtime.callbackFactory(RubyBignum.class); result.defineMethod("~", callbackFactory.getMethod("op_invert"...
public static RubyClass createBignumClass(Ruby runtime) { RubyClass result = runtime.defineClass("Bignum", runtime.getClass("Integer")); CallbackFactory callbackFactory = runtime.callbackFactory(RubyBignum.class); result.defineMethod("~", callbackFactory.getMethod("op_invert")); ...
3,225,737
private void restyle(Box ib) { //Uu.p("under cursor = " + ib); boolean needRepaint = false; // return this box or one if it's parents to find the deepest hovered element. // if none then just return null ib = getDeepestHover(ib); //Uu.p("deepest hover = " + ib); if (...
private void restyle(Box ib) { //Uu.p("under cursor = " + ib); boolean needRepaint = false; // return this box or one if it's parents to find the deepest hovered element. // if none then just return null //Uu.p("deepest hover = " + ib); if (prev == ib) { ...
3,225,738
private void restyle(Box ib) { //Uu.p("under cursor = " + ib); boolean needRepaint = false; // return this box or one if it's parents to find the deepest hovered element. // if none then just return null ib = getDeepestHover(ib); //Uu.p("deepest hover = " + ib); if (...
private void restyle(Box ib) { //Uu.p("under cursor = " + ib); boolean needRepaint = false; // return this box or one if it's parents to find the deepest hovered element. // if none then just return null ib = getDeepestHover(ib); //Uu.p("deepest hover = " + ib); if (...
3,225,739
private void restyle(Box ib) { //Uu.p("under cursor = " + ib); boolean needRepaint = false; // return this box or one if it's parents to find the deepest hovered element. // if none then just return null ib = getDeepestHover(ib); //Uu.p("deepest hover = " + ib); if (...
private void restyle(Box ib) { //Uu.p("under cursor = " + ib); boolean needRepaint = false; // return this box or one if it's parents to find the deepest hovered element. // if none then just return null ib = getDeepestHover(ib); //Uu.p("deepest hover = " + ib); if (...
3,225,740
private void restyle(Box ib) { //Uu.p("under cursor = " + ib); boolean needRepaint = false; // return this box or one if it's parents to find the deepest hovered element. // if none then just return null ib = getDeepestHover(ib); //Uu.p("deepest hover = " + ib); if (...
private void restyle(Box ib) { //Uu.p("under cursor = " + ib); boolean needRepaint = false; // return this box or one if it's parents to find the deepest hovered element. // if none then just return null ib = getDeepestHover(ib); //Uu.p("deepest hover = " + ib); if (...
3,225,741
private void restyle(Box ib) { //Uu.p("under cursor = " + ib); boolean needRepaint = false; // return this box or one if it's parents to find the deepest hovered element. // if none then just return null ib = getDeepestHover(ib); //Uu.p("deepest hover = " + ib); if (...
private void restyle(Box ib) { //Uu.p("under cursor = " + ib); boolean needRepaint = false; // return this box or one if it's parents to find the deepest hovered element. // if none then just return null ib = getDeepestHover(ib); //Uu.p("deepest hover = " + ib); if (...
3,225,742
private void restyle(Box ib) { //Uu.p("under cursor = " + ib); boolean needRepaint = false; // return this box or one if it's parents to find the deepest hovered element. // if none then just return null ib = getDeepestHover(ib); //Uu.p("deepest hover = " + ib); if (...
private void restyle(Box ib) { //Uu.p("under cursor = " + ib); boolean needRepaint = false; // return this box or one if it's parents to find the deepest hovered element. // if none then just return null ib = getDeepestHover(ib); //Uu.p("deepest hover = " + ib); if (...
3,225,743
public RubyString filename() { return (RubyString)runtime.getGlobalVariables().get("$FILENAME"); }
public RubyString filename() { return (RubyString)getRuntime().getGlobalVariables().get("$FILENAME"); }
3,225,744
public void initArgsFile() { extendObject(runtime.getModule("Enumerable")); runtime.defineReadonlyVariable("$<", this); runtime.defineGlobalConstant("ARGF", this); defineSingletonMethod("each", callbackFactory().getOptMethod(RubyArgsFile.class, "each_line")); defin...
public void initArgsFile() { extendObject(getRuntime().getModule("Enumerable")); runtime.defineReadonlyVariable("$<", this); runtime.defineGlobalConstant("ARGF", this); defineSingletonMethod("each", callbackFactory().getOptMethod(RubyArgsFile.class, "each_line")); ...
3,225,745
public void initArgsFile() { extendObject(runtime.getModule("Enumerable")); runtime.defineReadonlyVariable("$<", this); runtime.defineGlobalConstant("ARGF", this); defineSingletonMethod("each", callbackFactory().getOptMethod(RubyArgsFile.class, "each_line")); defin...
public void initArgsFile() { extendObject(runtime.getModule("Enumerable")); runtime.defineReadonlyVariable("$<", this); runtime.defineGlobalConstant("ARGF", this); defineSingletonMethod("each", callbackFactory().getOptMethod(RubyArgsFile.class, "each_line")); defin...
3,225,746
public void initArgsFile() { extendObject(runtime.getModule("Enumerable")); runtime.defineReadonlyVariable("$<", this); runtime.defineGlobalConstant("ARGF", this); defineSingletonMethod("each", callbackFactory().getOptMethod(RubyArgsFile.class, "each_line")); defin...
public void initArgsFile() { extendObject(runtime.getModule("Enumerable")); runtime.defineReadonlyVariable("$<", this); runtime.defineGlobalConstant("ARGF", this); defineSingletonMethod("each", callbackFactory().getOptMethod(RubyArgsFile.class, "each_line")); defin...
3,225,747
public RubyString internalGets(IRubyObject[] args) { if (currentFile == null && !nextArgsFile()) { return RubyString.nilString(runtime); } RubyString line = (RubyString)currentFile.callMethod("gets", args); while (line.isNil()) { currentFile.callMeth...
public RubyString internalGets(IRubyObject[] args) { if (currentFile == null && !nextArgsFile()) { return RubyString.nilString(getRuntime()); } RubyString line = (RubyString)currentFile.callMethod("gets", args); while (line.isNil()) { currentFile.cal...
3,225,748
public RubyString internalGets(IRubyObject[] args) { if (currentFile == null && !nextArgsFile()) { return RubyString.nilString(runtime); } RubyString line = (RubyString)currentFile.callMethod("gets", args); while (line.isNil()) { currentFile.callMeth...
public RubyString internalGets(IRubyObject[] args) { if (currentFile == null && !nextArgsFile()) { return RubyString.nilString(runtime); } RubyString line = (RubyString)currentFile.callMethod("gets", args); while (line.isNil()) { currentFile.callMeth...
3,225,749
protected boolean nextArgsFile() { RubyArray args = (RubyArray)runtime.getGlobalVariables().get("$*"); if (args.getLength() == 0) { if (currentFile == null) { currentFile = (RubyIO) runtime.getGlobalVariables().get("$stdin"); ((RubyString) runtime.getGlobalVar...
protected boolean nextArgsFile() { RubyArray args = (RubyArray)getRuntime().getGlobalVariables().get("$*"); if (args.getLength() == 0) { if (currentFile == null) { currentFile = (RubyIO) runtime.getGlobalVariables().get("$stdin"); ((RubyString) runtime.getGlob...
3,225,750
protected boolean nextArgsFile() { RubyArray args = (RubyArray)runtime.getGlobalVariables().get("$*"); if (args.getLength() == 0) { if (currentFile == null) { currentFile = (RubyIO) runtime.getGlobalVariables().get("$stdin"); ((RubyString) runtime.getGlobalVar...
protected boolean nextArgsFile() { RubyArray args = (RubyArray)runtime.getGlobalVariables().get("$*"); if (args.getLength() == 0) { if (currentFile == null) { currentFile = (RubyIO) runtime.getGlobalVariables().get("$stdin"); ((RubyString) runtime.getGlobalVar...
3,225,751
protected boolean nextArgsFile() { RubyArray args = (RubyArray)runtime.getGlobalVariables().get("$*"); if (args.getLength() == 0) { if (currentFile == null) { currentFile = (RubyIO) runtime.getGlobalVariables().get("$stdin"); ((RubyString) runtime.getGlobalVar...
protected boolean nextArgsFile() { RubyArray args = (RubyArray)runtime.getGlobalVariables().get("$*"); if (args.getLength() == 0) { if (currentFile == null) { currentFile = (RubyIO) runtime.getGlobalVariables().get("$stdin"); ((RubyString) runtime.getGlobalVar...
3,225,752
protected boolean nextArgsFile() { RubyArray args = (RubyArray)runtime.getGlobalVariables().get("$*"); if (args.getLength() == 0) { if (currentFile == null) { currentFile = (RubyIO) runtime.getGlobalVariables().get("$stdin"); ((RubyString) runtime.getGlobalVar...
protected boolean nextArgsFile() { RubyArray args = (RubyArray)runtime.getGlobalVariables().get("$*"); if (args.getLength() == 0) { if (currentFile == null) { currentFile = (RubyIO) getRuntime().getGlobalVariables().get("$stdin"); ((RubyString) runtime.getGlob...
3,225,753
protected boolean nextArgsFile() { RubyArray args = (RubyArray)runtime.getGlobalVariables().get("$*"); if (args.getLength() == 0) { if (currentFile == null) { currentFile = (RubyIO) runtime.getGlobalVariables().get("$stdin"); ((RubyString) runtime.getGlobalVar...
protected boolean nextArgsFile() { RubyArray args = (RubyArray)runtime.getGlobalVariables().get("$*"); if (args.getLength() == 0) { if (currentFile == null) { currentFile = (RubyIO) runtime.getGlobalVariables().get("$stdin"); ((RubyString) runtime.getGlobalVar...
3,225,754
public static Iterator fromCSSPropertyDecl( CSSRule cssRule, CSSStyleDeclaration style, String propName, int sequence ) { // HACK: special cases for RuleNormalizer...need to work this out cleanly PropertyFactory factory = (PropertyFactory)PRP_FACTORIES.get( propName ); if ( ( factory == null &&...
public static Iterator fromCSSPropertyDecl( CSSRule cssRule, CSSStyleDeclaration style, String propName, int sequence ) { // HACK: special cases for RuleNormalizer...need to work this out cleanly PropertyFactory factory = (PropertyFactory)PRP_FACTORIES.get( propName ); if ( /*( factory == null ...
3,225,755
private BlockedJobsDialog(Shell parentShell, IProgressMonitor blocking, IStatus blockingStatus) { super(parentShell == null ? ProgressManagerUtil.getDefaultParent() : parentShell); blockingMonitor = blocking; if (blockingStatus instanceof IJobStatus) blockingJob = ((IJobStatus) blockingStatus).getJob(); set...
private BlockedJobsDialog(Shell parentShell, IProgressMonitor blocking, IStatus blockingStatus) { super(parentShell == null ? ProgressManagerUtil.getDefaultParent() : parentShell); blockingMonitor = blocking; if (blockingStatus instanceof IJobStatus) blockingJob = ((IJobStatus) blockingStatus).getJob(); set...
3,225,756
private ProgressTreeContentProvider getContentProvider() { return new ProgressTreeContentProvider(viewer, true) { /* * (non-Javadoc) * * @see org.eclipse.ui.internal.progress.ProgressContentProvider#getElements(java.lang.Object) */ public Object[] getElements(Object inputElement) { Object[] elemen...
private ProgressTreeContentProvider getContentProvider() { return new ProgressTreeContentProvider(viewer, true) { /* * (non-Javadoc) * * @see org.eclipse.ui.internal.progress.ProgressContentProvider#getElements(java.lang.Object) */ public Object[] getElements(Object inputElement) { Object[] elemen...
3,225,757
void showJobDetails(Composite parent) { viewer = new NewProgressViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER); if (blockingJob != null) viewer.setHighlightJob(blockingJob); viewer.setUseHashlookup(true); viewer.setSorter(new ViewerSorter() { /* * (non-Javadoc) * * @see org.e...
void showJobDetails(Composite parent) { viewer = new NewProgressViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER); if (blockingJob != null) viewer.setHighlightJob(blockingJob); viewer.setUseHashlookup(true); viewer.setSorter(new ViewerSorter() { /* * (non-Javadoc) * * @see org.e...
3,225,758
void showJobDetails(Composite parent) { viewer = new NewProgressViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER); if (blockingJob != null) viewer.setHighlightJob(blockingJob); viewer.setUseHashlookup(true); viewer.setSorter(new ViewerSorter() { /* * (non-Javadoc) * * @see org.e...
void showJobDetails(Composite parent) { viewer = new NewProgressViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER); if (blockingJob != null) viewer.setHighlightJob(blockingJob); viewer.setUseHashlookup(true); viewer.setSorter(new ViewerSorter() { /* * (non-Javadoc) * * @see org.e...
3,225,759
void showJobDetails(Composite parent) { viewer = new NewProgressViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER); if (blockingJob != null) viewer.setHighlightJob(blockingJob); viewer.setUseHashlookup(true); viewer.setSorter(new ViewerSorter() { /* * (non-Javadoc) * * @see org.e...
void showJobDetails(Composite parent) { viewer = new NewProgressViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER); if (blockingJob != null) viewer.setHighlightJob(blockingJob); viewer.setUseHashlookup(true); viewer.setSorter(new ViewerSorter() { /* * (non-Javadoc) * * @see org.e...
3,225,760
public void setArticleId(String articleId) { if (((articleId == null) && (_articleId != null)) || ((articleId != null) && (_articleId == null)) || ((articleId != null) && (_articleId != null) && !articleId.equals(_articleId))) { if (!XSS_ALLOW_ARTICLEID) { articleId = XSSUtil.strip(articleId); } _ar...
public void setArticleId(String articleId) { if (((articleId == null) && (_articleId != null)) || ((articleId != null) && (_articleId == null)) || ((articleId != null) && (_articleId != null) && !articleId.equals(_articleId))) { if (!XSS_ALLOW_ARTICLEID) { articleId = XSSUtil.strip(articleId); } _ar...
3,225,762
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,763
public void setLayoutId(String layoutId) { if (((layoutId == null) && (_layoutId != null)) || ((layoutId != null) && (_layoutId == null)) || ((layoutId != null) && (_layoutId != null) && !layoutId.equals(_layoutId))) { if (!XSS_ALLOW_LAYOUTID) { layoutId = XSSUtil.strip(layoutId); } _layoutId = layo...
public void setLayoutId(String layoutId) { if (((layoutId == null) && (_layoutId != null)) || ((layoutId != null) && (_layoutId == null)) || ((layoutId != null) && (_layoutId != null) && !layoutId.equals(_layoutId))) { if (!XSS_ALLOW_LAYOUTID) { layoutId = XSSUtil.strip(layoutId); } _layoutId = layo...
3,225,764
public void setOwnerId(String ownerId) { if (((ownerId == null) && (_ownerId != null)) || ((ownerId != null) && (_ownerId == null)) || ((ownerId != null) && (_ownerId != null) && !ownerId.equals(_ownerId))) { if (!XSS_ALLOW_OWNERID) { ownerId = XSSUtil.strip(ownerId); } _ownerId = ownerId; setModi...
public void setOwnerId(String ownerId) { if (((ownerId == null) && (_ownerId != null)) || ((ownerId != null) && (_ownerId == null)) || ((ownerId != null) && (_ownerId != null) && !ownerId.equals(_ownerId))) { if (!XSS_ALLOW_OWNERID) { ownerId = XSSUtil.strip(ownerId); } _ownerId = ownerId; setModi...
3,225,765
public void setPortletId(String portletId) { if (((portletId == null) && (_portletId != null)) || ((portletId != null) && (_portletId == null)) || ((portletId != null) && (_portletId != null) && !portletId.equals(_portletId))) { if (!XSS_ALLOW_PORTLETID) { portletId = XSSUtil.strip(portletId); } _po...
public void setPortletId(String portletId) { if (((portletId == null) && (_portletId != null)) || ((portletId != null) && (_portletId == null)) || ((portletId != null) && (_portletId != null) && !portletId.equals(_portletId))) { if (!XSS_ALLOW_PORTLETID) { portletId = XSSUtil.strip(portletId); } _po...
3,225,766
public int compareTo(Object obj) { if (obj == null) { return -1; } Address address = (Address)obj; int value = 0; value = getCreateDate().compareTo(address.getCreateDate()); if (value != 0) { return value; } return 0; }
public int compareTo(Object obj) { if (obj == null) { return -1; } Address address = (Address)obj; int value = 0; value = getCreateDate().compareTo(address.getCreateDate()); if (value != 0) { return value; } return 0; }
3,225,767
public static RubyClass createRegexpClass(Ruby runtime) { RubyClass regexpClass = runtime.defineClass("Regexp", runtime.getClasses().getObjectClass()); CallbackFactory callbackFactory = runtime.callbackFactory(RubyRegexp.class); regexpClass.defineConstant("IGNORECASE", runtime.newFixnum...
public static RubyClass createRegexpClass(Ruby runtime) { RubyClass regexpClass = runtime.defineClass("Regexp", runtime.getObject()); CallbackFactory callbackFactory = runtime.callbackFactory(RubyRegexp.class); regexpClass.defineConstant("IGNORECASE", runtime.newFixnum(RE_OPTION_IGNOREC...
3,225,768
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,769
public void setContent(String content) { if (((content == null) && (_content != null)) || ((content != null) && (_content == null)) || ((content != null) && (_content != null) && !content.equals(_content))) { if (!XSS_ALLOW_CONTENT) { content = XSSUtil.strip(content); } _content = content; setModi...
public void setContent(String content) { if (((content == null) && (_content != null)) || ((content != null) && (_content == null)) || ((content != null) && (_content != null) && !content.equals(_content))) { if (!XSS_ALLOW_CONTENT) { content = XSSUtil.strip(content); } _content = content; setModi...
3,225,770
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,771
public void setFormat(String format) { if (((format == null) && (_format != null)) || ((format != null) && (_format == null)) || ((format != null) && (_format != null) && !format.equals(_format))) { if (!XSS_ALLOW_FORMAT) { format = XSSUtil.strip(format); } _format = format; setModified(true); } ...
public void setFormat(String format) { if (((format == null) && (_format != null)) || ((format != null) && (_format == null)) || ((format != null) && (_format != null) && !format.equals(_format))) { if (!XSS_ALLOW_FORMAT) { format = XSSUtil.strip(format); } _format = format; setModified(true); } ...
3,225,772
public void setHead(boolean head) { if (head != _head) { _head = head; setModified(true); } }
public void setHead(boolean head) { if (head != _head) { _head = head; setModified(true); } }
3,225,773
public void setNodeId(String nodeId) { if (((nodeId == null) && (_nodeId != null)) || ((nodeId != null) && (_nodeId == null)) || ((nodeId != null) && (_nodeId != null) && !nodeId.equals(_nodeId))) { if (!XSS_ALLOW_NODEID) { nodeId = XSSUtil.strip(nodeId); } _nodeId = nodeId; setModified(true); } ...
public void setNodeId(String nodeId) { if (((nodeId == null) && (_nodeId != null)) || ((nodeId != null) && (_nodeId == null)) || ((nodeId != null) && (_nodeId != null) && !nodeId.equals(_nodeId))) { if (!XSS_ALLOW_NODEID) { nodeId = XSSUtil.strip(nodeId); } _nodeId = nodeId; setModified(true); } ...
3,225,774
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,775
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,776
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,777
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,778
public Dimension positionRelative(CssContext cssCtx) { int initialX = this.x; int initialY = this.y; CalculatedStyle style = getStyle().getCalculatedStyle(); if (! style.isIdent(CSSName.LEFT, IdentValue.AUTO)) { this.x += style.getFloatPropertyProportionalWidth( ...
public Dimension positionRelative(CssContext cssCtx) { int initialX = this.x; int initialY = this.y; CalculatedStyle style = getStyle().getCalculatedStyle(); if (! style.isIdent(CSSName.LEFT, IdentValue.AUTO)) { this.x += style.getFloatPropertyProportionalWidth( ...
3,225,779
private static Polygon getBevelledPolygon(final Rectangle bounds, final BorderPropertySet border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if ...
private static Polygon getBevelledPolygon(final Rectangle bounds, final BorderPropertySet border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if ...
3,225,780
private static Polygon getBevelledPolygon(final Rectangle bounds, final BorderPropertySet border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if ...
private static Polygon getBevelledPolygon(final Rectangle bounds, final BorderPropertySet border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if ...
3,225,781
private static Polygon getBevelledPolygon(final Rectangle bounds, final BorderPropertySet border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if ...
private static Polygon getBevelledPolygon(final Rectangle bounds, final BorderPropertySet border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if ...
3,225,782
private static Polygon getBevelledPolygon(final Rectangle bounds, final BorderPropertySet border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if ...
private static Polygon getBevelledPolygon(final Rectangle bounds, final BorderPropertySet border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if ...
3,225,783
private static Polygon getBevelledPolygon(final Rectangle bounds, final BorderPropertySet border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if ...
private static Polygon getBevelledPolygon(final Rectangle bounds, final BorderPropertySet border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if ...
3,225,784
private static Polygon getBevelledPolygon(final Rectangle bounds, final BorderPropertySet border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if ...
private static Polygon getBevelledPolygon(final Rectangle bounds, final BorderPropertySet border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if ...
3,225,785
private static Polygon getBevelledPolygon(final Rectangle bounds, final BorderPropertySet border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if ...
private static Polygon getBevelledPolygon(final Rectangle bounds, final BorderPropertySet border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if ...
3,225,786
private static Polygon getBevelledPolygon(final Rectangle bounds, final BorderPropertySet border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if ...
private static Polygon getBevelledPolygon(final Rectangle bounds, final BorderPropertySet border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if ...
3,225,787
private static Polygon getBevelledPolygon(final Rectangle bounds, final BorderPropertySet border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if ...
private static Polygon getBevelledPolygon(final Rectangle bounds, final BorderPropertySet border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if ...
3,225,788
private static Polygon getBevelledPolygon(final Rectangle bounds, final BorderPropertySet border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if ...
private static Polygon getBevelledPolygon(final Rectangle bounds, final BorderPropertySet border, final int sides, int currentSide, boolean isClipRegion) { //adjust for bug in polygon filling final int adjust; //adjust inside corners to make sides fit snugly final int snuggle; if ...
3,225,789
private static void paintBorderSide(final BorderPropertySet border, final Graphics g, final Rectangle bounds, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideStyle == IdentValue.GROO...
private static void paintBorderSide(final BorderPropertySet border, final Graphics g, final Rectangle bounds, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideStyle == IdentValue.GROO...
3,225,790
private static void paintBorderSide(final BorderPropertySet border, final Graphics g, final Rectangle bounds, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideStyle == IdentValue.GROO...
private static void paintBorderSide(final BorderPropertySet border, final Graphics g, final Rectangle bounds, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideStyle == IdentValue.GROO...
3,225,791
private static void paintBorderSide(final BorderPropertySet border, final Graphics g, final Rectangle bounds, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideStyle == IdentValue.GROO...
private static void paintBorderSide(final BorderPropertySet border, final Graphics g, final Rectangle bounds, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideStyle == IdentValue.GROO...
3,225,792
private static void paintBorderSide(final BorderPropertySet border, final Graphics g, final Rectangle bounds, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideStyle == IdentValue.GROO...
private static void paintBorderSide(final BorderPropertySet border, final Graphics g, final Rectangle bounds, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideStyle == IdentValue.GROO...
3,225,793
private static void paintBorderSide(final BorderPropertySet border, final Graphics g, final Rectangle bounds, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideStyle == IdentValue.GROO...
private static void paintBorderSide(final BorderPropertySet border, final Graphics g, final Rectangle bounds, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideStyle == IdentValue.GROO...
3,225,794
private static void paintBorderSide(final BorderPropertySet border, final Graphics g, final Rectangle bounds, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideStyle == IdentValue.GROO...
private static void paintBorderSide(final BorderPropertySet border, final Graphics g, final Rectangle bounds, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideStyle == IdentValue.GROO...
3,225,795
private static void paintBorderSide(final BorderPropertySet border, final Graphics g, final Rectangle bounds, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideStyle == IdentValue.GROO...
private static void paintBorderSide(final BorderPropertySet border, final Graphics g, final Rectangle bounds, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideStyle == IdentValue.GROO...
3,225,796
private static void paintBorderSide(final BorderPropertySet border, final Graphics g, final Rectangle bounds, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideStyle == IdentValue.GROO...
private static void paintBorderSide(final BorderPropertySet border, final Graphics g, final Rectangle bounds, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideStyle == IdentValue.GROO...
3,225,797
private static void paintBorderSide(final BorderPropertySet border, final Graphics g, final Rectangle bounds, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideStyle == IdentValue.GROO...
private static void paintBorderSide(final BorderPropertySet border, final Graphics g, final Rectangle bounds, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideStyle == IdentValue.GROO...
3,225,798
private static void paintBorderSide(final BorderPropertySet border, final Graphics g, final Rectangle bounds, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideStyle == IdentValue.GROO...
private static void paintBorderSide(final BorderPropertySet border, final Graphics g, final Rectangle bounds, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideStyle == IdentValue.GROO...
3,225,799
private static void paintBorderSide(final BorderPropertySet border, final Graphics g, final Rectangle bounds, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideStyle == IdentValue.GROO...
private static void paintBorderSide(final BorderPropertySet border, final Graphics g, final Rectangle bounds, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideStyle == IdentValue.GROO...
3,225,800
private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final BorderPropertySet border, final BorderPropertySet color, final float[] pattern, final int sides, final int currentSide, int xOffset) { Polygon clip = getBevelledPolygon(bounds, border, sides, currentSide, true); ...
private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final BorderPropertySet border, final BorderPropertySet color, final float[] pattern, final int sides, final int currentSide, int xOffset) { Polygon clip = getBevelledPolygon(bounds, border, sides, currentSide, true); ...
3,225,801
private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final BorderPropertySet border, final BorderPropertySet color, final float[] pattern, final int sides, final int currentSide, int xOffset) { Polygon clip = getBevelledPolygon(bounds, border, sides, currentSide, true); ...
private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final BorderPropertySet border, final BorderPropertySet color, final float[] pattern, final int sides, final int currentSide, int xOffset) { Polygon clip = getBevelledPolygon(bounds, border, sides, currentSide, true); ...
3,225,802
private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final BorderPropertySet border, final BorderPropertySet color, final float[] pattern, final int sides, final int currentSide, int xOffset) { Polygon clip = getBevelledPolygon(bounds, border, sides, currentSide, true); ...
private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final BorderPropertySet border, final BorderPropertySet color, final float[] pattern, final int sides, final int currentSide, int xOffset) { Polygon clip = getBevelledPolygon(bounds, border, sides, currentSide, true); ...
3,225,803
private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final BorderPropertySet border, final BorderPropertySet color, final float[] pattern, final int sides, final int currentSide, int xOffset) { Polygon clip = getBevelledPolygon(bounds, border, sides, currentSide, true); ...
private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final BorderPropertySet border, final BorderPropertySet color, final float[] pattern, final int sides, final int currentSide, int xOffset) { Polygon clip = getBevelledPolygon(bounds, border, sides, currentSide, true); ...
3,225,804
private static void paintSolid(final Graphics2D g2, final Rectangle bounds, final BorderPropertySet border, final BorderPropertySet bcolor, final int sides, int currentSide) { //Bug in polygon painting paints an extra pixel to the right and bottom //But clipping works fine! Polygon poly = getBe...
private static void paintSolid(final Graphics2D g2, final Rectangle bounds, final BorderPropertySet border, final BorderPropertySet bcolor, final int sides, int currentSide) { //Bug in polygon painting paints an extra pixel to the right and bottom //But clipping works fine! Polygon poly = getBe...
3,225,805
private static void paintSolid(final Graphics2D g2, final Rectangle bounds, final BorderPropertySet border, final BorderPropertySet bcolor, final int sides, int currentSide) { //Bug in polygon painting paints an extra pixel to the right and bottom //But clipping works fine! Polygon poly = getBe...
private static void paintSolid(final Graphics2D g2, final Rectangle bounds, final BorderPropertySet border, final BorderPropertySet bcolor, final int sides, int currentSide) { //Bug in polygon painting paints an extra pixel to the right and bottom //But clipping works fine! Polygon poly = getBe...
3,225,806
private static void paintSolid(final Graphics2D g2, final Rectangle bounds, final BorderPropertySet border, final BorderPropertySet bcolor, final int sides, int currentSide) { //Bug in polygon painting paints an extra pixel to the right and bottom //But clipping works fine! Polygon poly = getBe...
private static void paintSolid(final Graphics2D g2, final Rectangle bounds, final BorderPropertySet border, final BorderPropertySet bcolor, final int sides, int currentSide) { //Bug in polygon painting paints an extra pixel to the right and bottom //But clipping works fine! Polygon poly = getBe...
3,225,807
private static void paintSolid(final Graphics2D g2, final Rectangle bounds, final BorderPropertySet border, final BorderPropertySet bcolor, final int sides, int currentSide) { //Bug in polygon painting paints an extra pixel to the right and bottom //But clipping works fine! Polygon poly = getBe...
private static void paintSolid(final Graphics2D g2, final Rectangle bounds, final BorderPropertySet border, final BorderPropertySet bcolor, final int sides, int currentSide) { //Bug in polygon painting paints an extra pixel to the right and bottom //But clipping works fine! Polygon poly = getBe...
3,225,808
public static Rectangle shrinkRect(final Rectangle rect, final BorderPropertySet border, int sides) { Rectangle r2 = new Rectangle(); r2.x = rect.x + ((sides & LEFT) == 0 ? 0 : (int)border.left()); r2.width = rect.width - ((sides & LEFT) == 0 ? 0 : (int)border.left()) - ((sides & RIGHT) == 0 ? ...
public static Rectangle shrinkRect(final Rectangle rect, final BorderPropertySet border, int sides) { Rectangle r2 = new Rectangle(); r2.x = rect.x + ((sides & LEFT) == 0 ? 0 : (int)border.left()); r2.width = rect.width - ((sides & LEFT) == 0 ? 0 : (int)border.left()) - ((sides & RIGHT) == 0 ? ...
3,225,809
public static void addMessage( String companyId, String groupId, String categoryId, String topicId, String threadId, String messageId, String title, String content) throws IOException { synchronized (IndexWriter.class) { content = Html.stripHtml(content); IndexWriter writer = LuceneUtil.getWriter(companyId);...
public static void addMessage( String companyId, String groupId, String categoryId, String topicId, String threadId, String messageId, String title, String content) throws IOException { synchronized (IndexWriter.class) { content = Html.stripHtml(content); IndexWriter writer = LuceneUtil.getWriter(companyId);...
3,225,810
public static void addMessage( String companyId, String groupId, String categoryId, String topicId, String threadId, String messageId, String title, String content) throws IOException { synchronized (IndexWriter.class) { content = Html.stripHtml(content); IndexWriter writer = LuceneUtil.getWriter(companyId);...
public static void addMessage( String companyId, String groupId, String categoryId, String topicId, String threadId, String messageId, String title, String content) throws IOException { synchronized (IndexWriter.class) { content = Html.stripHtml(content); IndexWriter writer = LuceneUtil.getWriter(companyId);...
3,225,811
public static void deleteMessages( String companyId, String topicId) throws IOException, ParseException { synchronized (IndexWriter.class) { BooleanQuery booleanQuery = new BooleanQuery(); LuceneUtil.addRequiredTerm( booleanQuery, LuceneFields.PORTLET_ID, PORTLET_ID); LuceneUtil.addRequiredTerm(booleanQue...
public static void deleteMessages( String companyId, String topicId) throws IOException, ParseException { synchronized (IndexWriter.class) { BooleanQuery booleanQuery = new BooleanQuery(); LuceneUtil.addRequiredTerm( booleanQuery, LuceneFields.PORTLET_ID, PORTLET_ID); LuceneUtil.addRequiredTerm(booleanQue...
3,225,812
private void initComponents() { backButton = new JButton(Icons.ARROW_LEFT); backButton.setDisabledIcon(Icons.ARROW_LEFT_GRAY); forwardButton = new JButton(Icons.ARROW_RIGHT); forwardButton.setDisabledIcon(Icons.ARROW_RIGHT_GRAY); upButton = new JButton(Icons.ARROW_UP); upBu...
private void initComponents() { backButton = new JButton(Icons.ARROW_LEFT); backButton.setDisabledIcon(Icons.ARROW_LEFT_GRAY); forwardButton = new JButton(Icons.ARROW_RIGHT); forwardButton.setDisabledIcon(Icons.ARROW_RIGHT_GRAY); upButton = new JButton(Icons.ARROW_UP); upBu...
3,225,814
private void lowerButton(JButton button) { button.setBorder(null); }
private void lowerButton(JButton button) { button.setBorder(new EmptyBorder(2,2,2,2)); }
3,225,815
private void openErrorLogBrowser() { String filename = Platform.getLogFileLocation().toOSString(); File log = new File(filename); if (log.exists()) { openLink(filename); return; } MessageDialog.openInformation(getShell(), WorkbenchMessages.AboutSystemDialog_n...
private void openErrorLogBrowser() { String filename = Platform.getLogFileLocation().toOSString(); File log = new File(filename); if (log.exists()) { openLink("file: return; } MessageDialog.openInformation(getShell(), WorkbenchMessages.AboutSystemDialog_noLog...
3,225,816
public static IRubyObject chdir(IRubyObject recv, RubyString path) { File dir = getDir(recv.getRuntime(), path.toString()); String realPath = null; // We get canonical path to try and flatten the path out. // a dir '/subdir/..' should return as '/' try { realPath =...
public static IRubyObject chdir(IRubyObject recv, RubyString path) { File dir = getDir(recv.getRuntime(), path.toString()); String realPath = null; // We get canonical path to try and flatten the path out. // a dir '/subdir/..' should return as '/' try { realPath =...
3,225,817