ca.sqlpower.architect.swingui.olap
Class LevelEditPanel

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

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


Constructor Summary
LevelEditPanel(MondrianModel.Level level)
          Creates a new property editor for the given level of a hierarchy.
 
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

LevelEditPanel

public LevelEditPanel(MondrianModel.Level level)
               throws ArchitectException
Creates a new property editor for the given level of a hierarchy.

Parameters:
cube - The data model of the Level 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