Examples of markDirty()


Examples of org.eclipse.jface.internal.provisional.action.ICoolBarManager2.markDirty()

        }
        // Add new item into cool bar manager
        if (newItem != null) {
          coolBarLayout.add(newItem);
          newItem.setParent(coolBarMgr);
          coolBarMgr.markDirty();
        }
      }

      // Add separators to the displayed Items data structure
      int offset = 0;
View Full Code Here

Examples of sun.awt.image.ByteComponentRaster.markDirty()

                    convertToRGB();
                }
                else {
                    // Note that setDiffICM modified the raster directly
                    // so we must mark it as changed
                    bct.markDirty();
                    if (numlut != numSrcLUT) {
                        boolean hasAlpha = icm.hasAlpha();
                        if (srcLUTtransIndex != -1) {
                            hasAlpha = true;
                        }
View Full Code Here

Examples of sun.awt.image.IntegerComponentRaster.markDirty()

            cycleFillRaster(pixels, off, adjust, w, h, rowrel, dx, dy);
        } else {
            clipFillRaster(pixels, off, adjust, w, h, rowrel, dx, dy);
        }

        irast.markDirty();

        return rast;
    }

    void cycleFillRaster(int[] pixels, int off, int adjust, int w, int h,
View Full Code Here

Examples of sun.awt.image.IntegerComponentRaster.markDirty()

        if (t == null || w > t.getWidth() || h > t.getHeight()) {
            t = getColorModel().createCompatibleWritableRaster(w, h);
            IntegerComponentRaster icr = (IntegerComponentRaster) t;
            Arrays.fill(icr.getDataStorage(), color);
            // Note - markDirty is probably unnecessary since icr is brand new
            icr.markDirty();
            if (w <= 64 && h <= 64) {
                savedTile = t;
            }
        }
View Full Code Here

Examples of sun.awt.image.IntegerComponentRaster.markDirty()

        if (t == null || w > t.getWidth() || h > t.getHeight()) {
            t = getColorModel().createCompatibleWritableRaster(w, h);
            IntegerComponentRaster icr = (IntegerComponentRaster) t;
            Arrays.fill(icr.getDataStorage(), color);
            // Note - markDirty is probably unnecessary since icr is brand new
            icr.markDirty();
            if (w <= 64 && h <= 64) {
                savedTile = t;
            }
        }
View Full Code Here

Examples of sun.awt.image.IntegerComponentRaster.markDirty()

            cycleFillRaster(pixels, off, adjust, w, h, rowrel, dx, dy);
        } else {
            clipFillRaster(pixels, off, adjust, w, h, rowrel, dx, dy);
        }

        irast.markDirty();

        return rast;
    }

    void cycleFillRaster(int[] pixels, int off, int adjust, int w, int h,
View Full Code Here

Examples of thaumic.tinkerer.common.block.tile.TileFunnel.markDirty()

      if (funnel.canInsertItem(0, playerStack, 1)) {
        funnel.setInventorySlotContents(0, playerStack.splitStack(1));

        if (playerStack.stackSize <= 0)
          par5EntityPlayer.inventory.setInventorySlotContents(par5EntityPlayer.inventory.currentItem, null);
        funnel.markDirty();
        return true;
      }
    } else {
      if (!par5EntityPlayer.inventory.addItemStackToInventory(stack))
        par5EntityPlayer.dropPlayerItemWithRandomChoice(stack, false);
View Full Code Here

Examples of thaumic.tinkerer.common.block.tile.TileFunnel.markDirty()

    } else {
      if (!par5EntityPlayer.inventory.addItemStackToInventory(stack))
        par5EntityPlayer.dropPlayerItemWithRandomChoice(stack, false);

      funnel.setInventorySlotContents(0, null);
      funnel.markDirty();
      return true;
    }

    return false;
  }
View Full Code Here

Examples of thaumic.tinkerer.common.block.tile.TileRepairer.markDirty()

        repairer.setInventorySlotContents(0, playerStack.splitStack(1));

        if (playerStack.stackSize <= 0)
          par5EntityPlayer.inventory.setInventorySlotContents(par5EntityPlayer.inventory.currentItem, null);

        repairer.markDirty();
        return true;
      }
    } else {
      if (!par5EntityPlayer.inventory.addItemStackToInventory(stack))
        par5EntityPlayer.dropPlayerItemWithRandomChoice(stack, false);
View Full Code Here

Examples of thaumic.tinkerer.common.block.tile.TileRepairer.markDirty()

    } else {
      if (!par5EntityPlayer.inventory.addItemStackToInventory(stack))
        par5EntityPlayer.dropPlayerItemWithRandomChoice(stack, false);

      repairer.setInventorySlotContents(0, null);
      repairer.markDirty();
      return true;
    }

    return false;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.