예제 #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;
  }
예제 #2
0
 public Image getImageIcon() {
   return BPELUIPlugin.INSTANCE.getImage(IBPELUIConstants.ICON_ACTION_CASE);
 }
예제 #3
0
 public Image getIconImg() {
   return BPELUIPlugin.INSTANCE.getImage(IBPELUIConstants.ICON_ACTION_EVENTHANDLER);
 }
예제 #4
0
 public Image getLargeImage(Object object) {
   return BPELUIPlugin.INSTANCE.getImage(IBPELUIConstants.ICON_OTHERWISE_32);
 }
예제 #5
0
 public Image getSmallImage(Object object) {
   return BPELUIPlugin.INSTANCE.getImage(IBPELUIConstants.ICON_OTHERWISE_16);
 }