Esempio n. 1
0
  /** Brand new shiny start edit part. */
  public StartNodeEditPart() {
    // Initialize images for fault and event handler decorations
    this.faultImage = BPELUIPlugin.INSTANCE.getImage(IBPELUIConstants.ICON_FAULT_INDICATOR);
    org.eclipse.swt.graphics.Rectangle r = faultImage.getBounds();
    this.faultImageWidth = r.width;
    this.faultImageHeight = r.height;

    this.eventImage = BPELUIPlugin.INSTANCE.getImage(IBPELUIConstants.ICON_EVENT_INDICATOR);
    r = eventImage.getBounds();
    this.eventImageWidth = r.width;
    this.eventImageHeight = r.height;
  }
Esempio n. 2
0
 public Image getImageIcon() {
   return BPELUIPlugin.INSTANCE.getImage(IBPELUIConstants.ICON_ACTION_CASE);
 }
 public Image getIconImg() {
   return BPELUIPlugin.INSTANCE.getImage(IBPELUIConstants.ICON_ACTION_EVENTHANDLER);
 }
 public Image getLargeImage(Object object) {
   return BPELUIPlugin.INSTANCE.getImage(IBPELUIConstants.ICON_OTHERWISE_32);
 }
 public Image getSmallImage(Object object) {
   return BPELUIPlugin.INSTANCE.getImage(IBPELUIConstants.ICON_OTHERWISE_16);
 }