ca.sqlpower.architect.swingui.olap
Class MeasureEditPanel

java.lang.Object
  extended by ca.sqlpower.architect.swingui.olap.MeasureEditPanel
All Implemented Interfaces:
ca.sqlpower.swingui.DataEntryPanel, ca.sqlpower.validation.swingui.ValidatableDataEntryPanel

public class MeasureEditPanel
extends java.lang.Object
implements ca.sqlpower.validation.swingui.ValidatableDataEntryPanel


Constructor Summary
MeasureEditPanel(MondrianModel.Measure measure)
          Creates a new property editor for the given OLAP Measure.
 
Method Summary
 boolean applyChanges()
           
 void discardChanges()
           
 javax.swing.JComponent getPanel()
           
 ca.sqlpower.validation.swingui.ValidationHandler getValidationHandler()
           
 boolean hasUnsavedChanges()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MeasureEditPanel

public MeasureEditPanel(MondrianModel.Measure measure)
                 throws ArchitectException
Creates a new property editor for the given OLAP Measure.

Parameters:
cube - The data model of the measure to edit
Throws:
ArchitectException - if populating the necessary SQLObjects fails
Method Detail

applyChanges

public boolean applyChanges()
Specified by:
applyChanges in interface ca.sqlpower.swingui.DataEntryPanel

discardChanges

public void discardChanges()
Specified by:
discardChanges in interface ca.sqlpower.swingui.DataEntryPanel

getPanel

public javax.swing.JComponent getPanel()
Specified by:
getPanel in interface ca.sqlpower.swingui.DataEntryPanel

hasUnsavedChanges

public boolean hasUnsavedChanges()
Specified by:
hasUnsavedChanges in interface ca.sqlpower.swingui.DataEntryPanel

getValidationHandler

public ca.sqlpower.validation.swingui.ValidationHandler getValidationHandler()
Specified by:
getValidationHandler in interface ca.sqlpower.validation.swingui.ValidatableDataEntryPanel


Copyright © 2003-2007 SQL Power Group Inc. www.sqlpower.ca