예제 #1
0
  /**
   * Constructor
   *
   * @param handle
   */
  public AddLevelHandleAction(DesignElementHandle handle) {
    super(handle);
    setId(ID);
    setText(TEXT);
    ExtendedItemHandle extendedHandle = CrosstabAdaptUtil.getExtendedItemHandle(handle);
    setHandle(extendedHandle);
    viewHandle = CrosstabAdaptUtil.getDimensionViewHandle(extendedHandle);

    Image image = CrosstabUIHelper.getImage(CrosstabUIHelper.SHOW_HIDE_LEVEL);
    setImageDescriptor(ImageDescriptor.createFromImage(image));
  }
예제 #2
0
 public Image getColumnImage(Object element, int columnIndex) {
   Image image = null;
   switch (columnIndex) {
     case 0:
       image = CrosstabUIHelper.getImage(CrosstabUIHelper.MEASURE_IMAGE);
       break;
     case 1:
       break;
     default:
   }
   return image;
 }