ca.sqlpower.architect.swingui.olap
Class CubeEditPanel

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

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


Constructor Summary
CubeEditPanel(MondrianModel.Cube cube)
          Creates a new property editor for the given OLAP Cube.
 
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

CubeEditPanel

public CubeEditPanel(MondrianModel.Cube cube)
              throws ArchitectException
Creates a new property editor for the given OLAP Cube.

Parameters:
cube - The data model of the cube to edit
Throws:
ArchitectException
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