ca.sqlpower.architect.swingui.olap
Class DimensionUsageEditPanel

java.lang.Object
  extended by ca.sqlpower.architect.swingui.olap.DimensionUsageEditPanel
All Implemented Interfaces:
ca.sqlpower.swingui.DataEntryPanel

public class DimensionUsageEditPanel
extends java.lang.Object
implements ca.sqlpower.swingui.DataEntryPanel


Constructor Summary
DimensionUsageEditPanel(MondrianModel.DimensionUsage dimensionUsage)
          Creates a new property editor for the given dimension usage.
 
Method Summary
 boolean applyChanges()
           
 void discardChanges()
           
 javax.swing.JComponent getPanel()
           
 boolean hasUnsavedChanges()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DimensionUsageEditPanel

public DimensionUsageEditPanel(MondrianModel.DimensionUsage dimensionUsage)
                        throws ArchitectException
Creates a new property editor for the given dimension usage.

Parameters:
dimensionUsage - usage The data model of the dimension usage 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


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