Package org.pentaho.reporting.designer.core.editor

Examples of org.pentaho.reporting.designer.core.editor.ElementPropertiesPanel


    {
    }

    public void stateChanged(final ChangeEvent e)
    {
      final ElementPropertiesPanel attributeEditorPanel = getAttributeEditorPanel();
      if (attributeEditorPanel == null)
      {
        return;
      }
      final ReportDocumentContext activeContext = context.getActiveContext();
View Full Code Here


    reportEditorPane.addMouseListener(new ReportTabPanePopupHandler());

    dockingPane = new GlobalPane(false);
    dockingPane.setMainComponent(reportEditorPane);

    attributeEditorPanel = new ElementPropertiesPanel();
    attributeEditorPanel.setAllowAttributeCard(true);
    attributeEditorPanel.setReportDesignerContext(context);

    treePanel = new TreeSidePanel(context, attributeEditorPanel);
View Full Code Here

  }

  private Category createAttributesToolWindow()
  {
    attributeEditorPanel = new ElementPropertiesPanel();
    attributeEditorPanel.setAllowAttributeCard(true);
    attributeEditorPanel.setReportDesignerContext(context);

    final ImageIcon propertyTableIcon = IconLoader.getInstance().getPropertyTableIcon();
View Full Code Here

    {
    }

    public void stateChanged(final ChangeEvent e)
    {
      final ElementPropertiesPanel attributeEditorPanel = getAttributeEditorPanel();
      if (attributeEditorPanel == null)
      {
        return;
      }
      final ReportRenderContext activeContext = getContext().getActiveContext();
      if (activeContext == null)
      {
        return;
      }
      final JTabbedPane tabs = (JTabbedPane) e.getSource();
      if (tabs.getSelectedIndex() == 0)
      {
        attributeEditorPanel.setAllowAttributeCard(true);
        attributeEditorPanel.setAllowDataSourceCard(false);
        attributeEditorPanel.setAllowExpressionCard(false);
        attributeEditorPanel.reset(activeContext.getSelectionModel());
      }
      else
      {
        attributeEditorPanel.setAllowAttributeCard(false);
        attributeEditorPanel.setAllowDataSourceCard(true);
        attributeEditorPanel.setAllowExpressionCard(true);
        attributeEditorPanel.reset(activeContext.getSelectionModel());
      }
    }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.designer.core.editor.ElementPropertiesPanel

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.