Package org.pentaho.reporting.designer.core.actions.elements

Examples of org.pentaho.reporting.designer.core.actions.elements.InsertElementAction


    final DragSource dragSource = new DragSource();

    dragSource.createDefaultDragGestureRecognizer(this, DnDConstants.ACTION_COPY, this);

    final InsertElementAction action = new AlwaysActiveInsertElementAction(elementMetaData);
    action.setReportDesignerContext(context);
    setAction(action);

    final Image icon = elementMetaData.getIcon(Locale.getDefault(), BeanInfo.ICON_COLOR_16x16);
    if (icon != null)
    {
View Full Code Here


        {
          grouping = currentGrouping;
          firstElement = false;
        }
       
        final InsertElementAction action = new InsertElementAction(data);
        action.setReportDesignerContext(context);
        ActionSwingMenuitem menuItem = new ActionSwingMenuitem(ActionSwingMenuitem.MENUITEM);
        menuItem.setAction(action);
        insertElementsMenu.addChild(menuItem);
      }
    }
View Full Code Here

      else
      {
        grouping = currentGrouping;
        firstElement = false;
      }
      final InsertElementAction action = new InsertElementAction(data);
      action.setReportDesignerContext(context);
      menu.add(new JMenuItem(action));
    }
  }
View Full Code Here

      else
      {
        grouping = currentGrouping;
        firstElement = false;
      }
      final InsertElementAction action = new InsertElementAction(data);
      action.setReportDesignerContext(context);
      toolBar.add(new PaletteButton(data, context));
    }

    final JScrollPane paletteScrollpane = new JScrollPane(toolBar);
    paletteScrollpane.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
View Full Code Here

        else
        {
          grouping = currentGrouping;
          firstElement = false;
        }
        final InsertElementAction action = new InsertElementAction(data);
        action.setReportDesignerContext(context);
        insertElementsMenu.add(new JMenuItem(action));
      }
    }

    final JMenu insertDataSourcesMenu = context.getXulDesignerFrame().getMenuById("insert-datasources-menu");// NON-NLS
View Full Code Here

        else
        {
          grouping = currentGrouping;
          firstElement = false;
        }
        final InsertElementAction action = new InsertElementAction(data);
        action.setReportDesignerContext(context);
        menu.add(new JMenuItem(action));
      }
    }
  }
View Full Code Here

      else
      {
        grouping = currentGrouping;
        firstElement = false;
      }
      final InsertElementAction action = new InsertElementAction(data);
      action.setReportDesignerContext(context);
      toolBar.add(new PaletteButton(data, context));
    }

    final JScrollPane paletteScrollpane = new JScrollPane(toolBar);
    paletteScrollpane.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
View Full Code Here

    final DragSource dragSource = new DragSource();

    dragSource.createDefaultDragGestureRecognizer(this, DnDConstants.ACTION_COPY, this);

    final InsertElementAction action = new AlwaysActiveInsertElementAction(elementMetaData);
    action.setReportDesignerContext(context);
    setAction(action);

    final Image icon = elementMetaData.getIcon(Locale.getDefault(), BeanInfo.ICON_COLOR_16x16);
    if (icon != null)
    {
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.designer.core.actions.elements.InsertElementAction

Copyright © 2018 www.massapicom. 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.