ca.sqlpower.architect.swingui.olap
Class DimensionEditPanel

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

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


Constructor Summary
DimensionEditPanel(MondrianModel.Dimension dimension)
          Creates a new property editor for the given OLAP dimension.
 
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

DimensionEditPanel

public DimensionEditPanel(MondrianModel.Dimension dimension)
                   throws ArchitectException
Creates a new property editor for the given OLAP dimension.

Parameters:
dimension - The dimension to edit
Throws:
ArchitectException - if digging up the source table results in a database error
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