Package mondrian.gui
Class SchemaExplorer
- java.lang.Object
-
- java.awt.Component
-
- java.awt.Container
-
- javax.swing.JComponent
-
- javax.swing.JPanel
-
- mondrian.gui.SchemaExplorer
-
- All Implemented Interfaces:
java.awt.image.ImageObserver
,java.awt.MenuContainer
,java.io.Serializable
,java.util.EventListener
,javax.accessibility.Accessible
,javax.swing.event.CellEditorListener
,javax.swing.event.TreeSelectionListener
public class SchemaExplorer extends javax.swing.JPanel implements javax.swing.event.TreeSelectionListener, javax.swing.event.CellEditorListener
- Author:
- sean
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) class
SchemaExplorer.PopupTrigger
-
Nested classes/interfaces inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
-
Nested classes/interfaces inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static java.lang.String[]
DEF_AGG_EXCLUDE
(package private) static java.lang.String[]
DEF_AGG_FACT_COUNT
(package private) static java.lang.String[]
DEF_AGG_FOREIGN_KEY
(package private) static java.lang.String[]
DEF_AGG_IGNORE_COLUMN
(package private) static java.lang.String[]
DEF_AGG_LEVEL
(package private) static java.lang.String[]
DEF_AGG_LEVEL_PROP
(package private) static java.lang.String[]
DEF_AGG_MEASURE
(package private) static java.lang.String[]
DEF_AGG_NAME
(package private) static java.lang.String[]
DEF_AGG_PATTERN
(package private) static java.lang.String[]
DEF_ANNOTATION
(package private) static java.lang.String[]
DEF_CALCULATED_MEMBER
(package private) static java.lang.String[]
DEF_CALCULATED_MEMBER_PROPERTY
(package private) static java.lang.String[]
DEF_CLOSURE
(package private) static java.lang.String[]
DEF_COLUMN
(package private) static java.lang.String[]
DEF_CUBE
(package private) static java.lang.String[]
DEF_CUBE_GRANT
(package private) static java.lang.String[]
DEF_DEFAULT
(package private) static java.lang.String[]
DEF_DIMENSION
(package private) static java.lang.String[]
DEF_DIMENSION_GRANT
(package private) static java.lang.String[]
DEF_DIMENSION_USAGE
(package private) static java.lang.String[]
DEF_EXPRESSION_VIEW
(package private) static java.lang.String[]
DEF_FORMATTER
(package private) static java.lang.String[]
DEF_FORMULA
(package private) static java.lang.String[]
DEF_HIERARCHY
(package private) static java.lang.String[]
DEF_HIERARCHY_GRANT
(package private) static java.lang.String[]
DEF_JOIN
(package private) static java.lang.String[]
DEF_LEVEL
(package private) static java.lang.String[]
DEF_MEASURE
(package private) static java.lang.String[]
DEF_MEMBER_GRANT
(package private) static java.lang.String[]
DEF_NAMED_SET
(package private) static java.lang.String[]
DEF_PARAMETER
(package private) static java.lang.String[]
DEF_PARAMETER_SCHEMA
(package private) static java.lang.String[]
DEF_PROPERTY
(package private) static java.lang.String[]
DEF_RELATION
(package private) static java.lang.String[]
DEF_ROLE
(package private) static java.lang.String[]
DEF_SCHEMA
(package private) static java.lang.String[]
DEF_SCHEMA_GRANT
(package private) static java.lang.String[]
DEF_SCRIPT
(package private) static java.lang.String[]
DEF_SQL
(package private) static java.lang.String[]
DEF_TABLE
(package private) static java.lang.String[]
DEF_USER_DEFINED_FUNCTION
(package private) static java.lang.String[]
DEF_VIEW
(package private) static java.lang.String[]
DEF_VIRTUAL_CUBE
(package private) static java.lang.String[]
DEF_VIRTUAL_CUBE_DIMENSION
(package private) static java.lang.String[]
DEF_VIRTUAL_CUBE_MEASURE
java.lang.Object
lastSelected
(package private) javax.swing.JTree
tree
-
Fields inherited from class javax.swing.JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
-
-
Constructor Summary
Constructors Constructor Description SchemaExplorer(Workbench workbench)
Creates new form SchemaExplorerSchemaExplorer(Workbench workbench, java.io.File f, JdbcMetaData jdbcMetaData, boolean newFile, javax.swing.JInternalFrame parentIFrame)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addAggExclude(java.awt.event.ActionEvent evt)
protected void
addAggFactCount(java.awt.event.ActionEvent evt)
protected void
addAggForeignKey(java.awt.event.ActionEvent evt)
protected void
addAggIgnoreColumn(java.awt.event.ActionEvent evt)
protected void
addAggLevel(java.awt.event.ActionEvent evt)
protected void
addAggLevelProperty(java.awt.event.ActionEvent evt)
protected void
addAggMeasure(java.awt.event.ActionEvent evt)
protected void
addAggName(java.awt.event.ActionEvent evt)
protected void
addAggPattern(java.awt.event.ActionEvent evt)
protected void
addAnnotation(java.awt.event.ActionEvent evt)
protected void
addAnnotations(java.awt.event.ActionEvent evt)
protected void
addCalcMemberPropToCalcMember(MondrianGuiDef.CalculatedMember calcMember, int parentIndex, javax.swing.tree.TreePath tpath)
protected void
addCalcMemberPropToMeasure(MondrianGuiDef.Measure measure, int parentIndex, javax.swing.tree.TreePath tpath)
protected void
addCalculatedMember(java.awt.event.ActionEvent evt)
protected void
addCalculatedMemberProperty(java.awt.event.ActionEvent evt)
protected void
addCaptionExp(java.awt.event.ActionEvent evt)
protected void
addCellFormatter(java.awt.event.ActionEvent evt)
protected void
addClosure(java.awt.event.ActionEvent evt)
protected void
addCube(java.awt.event.ActionEvent evt)
protected void
addCubeGrant(java.awt.event.ActionEvent evt)
protected void
addDimension(java.awt.event.ActionEvent evt)
protected void
addDimensionGrant(java.awt.event.ActionEvent evt)
protected void
addDimensionUsage(java.awt.event.ActionEvent evt)
protected void
addFormula(java.awt.event.ActionEvent evt)
protected void
addHierarchy(java.awt.event.ActionEvent evt)
protected void
addHierarchyGrant(java.awt.event.ActionEvent evt)
protected void
addInlineTable(java.awt.event.ActionEvent evt)
protected void
addJoin(java.awt.event.ActionEvent evt)
protected void
addKeyExp(java.awt.event.ActionEvent evt)
protected void
addLevel(java.awt.event.ActionEvent evt)
protected void
addMeasure(java.awt.event.ActionEvent evt)
protected void
addMeasureExp(java.awt.event.ActionEvent evt)
protected void
addMemberFormatter(java.awt.event.ActionEvent evt)
protected void
addMemberGrant(java.awt.event.ActionEvent evt)
protected void
addNamedSet(java.awt.event.ActionEvent evt)
protected void
addNameExp(java.awt.event.ActionEvent evt)
protected void
addOrdinalExp(java.awt.event.ActionEvent evt)
protected void
addParameter(java.awt.event.ActionEvent evt)
protected void
addParentExp(java.awt.event.ActionEvent evt)
protected void
addProperty(java.awt.event.ActionEvent evt)
protected void
addPropertyFormatter(java.awt.event.ActionEvent evt)
protected void
addRelation(java.awt.event.ActionEvent evt, MondrianGuiDef.RelationOrJoin relation)
protected void
addRole(java.awt.event.ActionEvent evt)
protected void
addSchemaGrant(java.awt.event.ActionEvent evt)
protected void
addScript(java.awt.event.ActionEvent evt)
protected void
addSQL(java.awt.event.ActionEvent evt)
protected void
addTable(java.awt.event.ActionEvent evt)
protected void
addUserDefinedFunction(java.awt.event.ActionEvent evt)
protected void
addView(java.awt.event.ActionEvent evt)
protected void
addVirtualCube(java.awt.event.ActionEvent evt)
protected void
addVirtualCubeDimension(java.awt.event.ActionEvent evt)
protected void
addVirtualCubeMeasure(java.awt.event.ActionEvent evt)
protected void
arrowButtonDownAction(java.awt.event.ActionEvent evt)
protected void
arrowButtonUpAction(java.awt.event.ActionEvent evt)
protected void
delete(java.util.EventObject evt)
(package private) void
delete(javax.swing.tree.TreePath tpath)
void
editingCanceled(javax.swing.event.ChangeEvent e)
void
editingStopped(javax.swing.event.ChangeEvent e)
protected boolean
editMode(java.util.EventObject evt)
java.lang.String
getErrMsg()
java.lang.String
getJdbcConnectionUrl()
java.lang.String
getJdbcPassword()
java.lang.String
getJdbcUsername()
java.lang.Object
getParentObject()
I18n
getResourceConverter()
MondrianGuiDef.Schema
getSchema()
java.io.File
getSchemaFile()
returns the schema fileprotected mondrian.gui.SchemaExplorer.LevelInfo
getSelectedLevel(java.awt.event.ActionEvent evt)
static java.lang.String[]
getTableNameForAlias(MondrianGuiDef.RelationOrJoin aRelOrJoin, java.lang.String anAlias)
static void
getTableNamesForJoin(MondrianGuiDef.RelationOrJoin aRelOrJoin, java.util.Set<java.lang.String> aTableNames)
JTreeUpdater
getTreeUpdater()
boolean
isDirty()
boolean
isEditModeXML()
boolean
isNewFile()
protected void
moveLevelDown(java.awt.event.ActionEvent evt)
protected void
moveLevelUp(java.awt.event.ActionEvent evt)
void
resetMetaData(JdbcMetaData aMetaData)
void
setDirty(boolean dirty)
void
setDirtyFlag(boolean dirtyFlag)
void
setNewFile(boolean newFile)
void
setSchemaFile(java.io.File f)
sets the schema fileprotected void
setTableCellFocus(int row)
Several methods are called, e.g.void
setTitle()
void
valueChanged(javax.swing.event.TreeSelectionEvent e)
Called whenever the value of the selection changes.-
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
-
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
-
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
-
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
-
-
-
Field Detail
-
lastSelected
public java.lang.Object lastSelected
-
DEF_DEFAULT
static final java.lang.String[] DEF_DEFAULT
-
DEF_VIRTUAL_CUBE
static final java.lang.String[] DEF_VIRTUAL_CUBE
-
DEF_VIRTUAL_CUBE_MEASURE
static final java.lang.String[] DEF_VIRTUAL_CUBE_MEASURE
-
DEF_VIRTUAL_CUBE_DIMENSION
static final java.lang.String[] DEF_VIRTUAL_CUBE_DIMENSION
-
DEF_VIEW
static final java.lang.String[] DEF_VIEW
-
DEF_TABLE
static final java.lang.String[] DEF_TABLE
-
DEF_AGG_FACT_COUNT
static final java.lang.String[] DEF_AGG_FACT_COUNT
-
DEF_AGG_NAME
static final java.lang.String[] DEF_AGG_NAME
-
DEF_AGG_PATTERN
static final java.lang.String[] DEF_AGG_PATTERN
-
DEF_AGG_EXCLUDE
static final java.lang.String[] DEF_AGG_EXCLUDE
-
DEF_AGG_IGNORE_COLUMN
static final java.lang.String[] DEF_AGG_IGNORE_COLUMN
-
DEF_AGG_FOREIGN_KEY
static final java.lang.String[] DEF_AGG_FOREIGN_KEY
-
DEF_AGG_MEASURE
static final java.lang.String[] DEF_AGG_MEASURE
-
DEF_AGG_LEVEL
static final java.lang.String[] DEF_AGG_LEVEL
-
DEF_AGG_LEVEL_PROP
static final java.lang.String[] DEF_AGG_LEVEL_PROP
-
DEF_CLOSURE
static final java.lang.String[] DEF_CLOSURE
-
DEF_RELATION
static final java.lang.String[] DEF_RELATION
-
DEF_SQL
static final java.lang.String[] DEF_SQL
-
DEF_ANNOTATION
static final java.lang.String[] DEF_ANNOTATION
-
DEF_SCHEMA
static final java.lang.String[] DEF_SCHEMA
-
DEF_PROPERTY
static final java.lang.String[] DEF_PROPERTY
-
DEF_PARAMETER_SCHEMA
static final java.lang.String[] DEF_PARAMETER_SCHEMA
-
DEF_PARAMETER
static final java.lang.String[] DEF_PARAMETER
-
DEF_MEASURE
static final java.lang.String[] DEF_MEASURE
-
DEF_CALCULATED_MEMBER
static final java.lang.String[] DEF_CALCULATED_MEMBER
-
DEF_FORMULA
static final java.lang.String[] DEF_FORMULA
-
DEF_CALCULATED_MEMBER_PROPERTY
static final java.lang.String[] DEF_CALCULATED_MEMBER_PROPERTY
-
DEF_NAMED_SET
static final java.lang.String[] DEF_NAMED_SET
-
DEF_USER_DEFINED_FUNCTION
static final java.lang.String[] DEF_USER_DEFINED_FUNCTION
-
DEF_SCRIPT
static final java.lang.String[] DEF_SCRIPT
-
DEF_LEVEL
static final java.lang.String[] DEF_LEVEL
-
DEF_JOIN
static final java.lang.String[] DEF_JOIN
-
DEF_HIERARCHY
static final java.lang.String[] DEF_HIERARCHY
-
DEF_FORMATTER
static final java.lang.String[] DEF_FORMATTER
-
DEF_EXPRESSION_VIEW
static final java.lang.String[] DEF_EXPRESSION_VIEW
-
DEF_DIMENSION_USAGE
static final java.lang.String[] DEF_DIMENSION_USAGE
-
DEF_DIMENSION
static final java.lang.String[] DEF_DIMENSION
-
DEF_CUBE
static final java.lang.String[] DEF_CUBE
-
DEF_ROLE
static final java.lang.String[] DEF_ROLE
-
DEF_SCHEMA_GRANT
static final java.lang.String[] DEF_SCHEMA_GRANT
-
DEF_CUBE_GRANT
static final java.lang.String[] DEF_CUBE_GRANT
-
DEF_DIMENSION_GRANT
static final java.lang.String[] DEF_DIMENSION_GRANT
-
DEF_HIERARCHY_GRANT
static final java.lang.String[] DEF_HIERARCHY_GRANT
-
DEF_MEMBER_GRANT
static final java.lang.String[] DEF_MEMBER_GRANT
-
DEF_COLUMN
static final java.lang.String[] DEF_COLUMN
-
tree
javax.swing.JTree tree
-
-
Constructor Detail
-
SchemaExplorer
public SchemaExplorer(Workbench workbench)
Creates new form SchemaExplorer
-
SchemaExplorer
public SchemaExplorer(Workbench workbench, java.io.File f, JdbcMetaData jdbcMetaData, boolean newFile, javax.swing.JInternalFrame parentIFrame)
-
-
Method Detail
-
arrowButtonUpAction
protected void arrowButtonUpAction(java.awt.event.ActionEvent evt)
-
arrowButtonDownAction
protected void arrowButtonDownAction(java.awt.event.ActionEvent evt)
-
setTableCellFocus
protected void setTableCellFocus(int row)
Several methods are called, e.g. editCellAt, to get the focus set in the value column of the specified row. The attribute column has the parameter name and should not receive focus.
-
addCube
protected void addCube(java.awt.event.ActionEvent evt)
-
addParameter
protected void addParameter(java.awt.event.ActionEvent evt)
-
addRole
protected void addRole(java.awt.event.ActionEvent evt)
-
addVirtualCube
protected void addVirtualCube(java.awt.event.ActionEvent evt)
-
addUserDefinedFunction
protected void addUserDefinedFunction(java.awt.event.ActionEvent evt)
-
addMeasure
protected void addMeasure(java.awt.event.ActionEvent evt)
-
addAggPattern
protected void addAggPattern(java.awt.event.ActionEvent evt)
-
addAggName
protected void addAggName(java.awt.event.ActionEvent evt)
-
addAggExclude
protected void addAggExclude(java.awt.event.ActionEvent evt)
-
addAggIgnoreColumn
protected void addAggIgnoreColumn(java.awt.event.ActionEvent evt)
-
addAggForeignKey
protected void addAggForeignKey(java.awt.event.ActionEvent evt)
-
addAggMeasure
protected void addAggMeasure(java.awt.event.ActionEvent evt)
-
addAggLevel
protected void addAggLevel(java.awt.event.ActionEvent evt)
-
addAggLevelProperty
protected void addAggLevelProperty(java.awt.event.ActionEvent evt)
-
addAggFactCount
protected void addAggFactCount(java.awt.event.ActionEvent evt)
-
addVirtualCubeMeasure
protected void addVirtualCubeMeasure(java.awt.event.ActionEvent evt)
-
addCalculatedMember
protected void addCalculatedMember(java.awt.event.ActionEvent evt)
-
editMode
protected boolean editMode(java.util.EventObject evt)
-
delete
protected void delete(java.util.EventObject evt)
-
delete
void delete(javax.swing.tree.TreePath tpath)
-
addDimension
protected void addDimension(java.awt.event.ActionEvent evt)
-
addVirtualCubeDimension
protected void addVirtualCubeDimension(java.awt.event.ActionEvent evt)
-
addNamedSet
protected void addNamedSet(java.awt.event.ActionEvent evt)
-
addDimensionUsage
protected void addDimensionUsage(java.awt.event.ActionEvent evt)
-
addSchemaGrant
protected void addSchemaGrant(java.awt.event.ActionEvent evt)
-
addCubeGrant
protected void addCubeGrant(java.awt.event.ActionEvent evt)
-
addDimensionGrant
protected void addDimensionGrant(java.awt.event.ActionEvent evt)
-
addHierarchyGrant
protected void addHierarchyGrant(java.awt.event.ActionEvent evt)
-
addMemberGrant
protected void addMemberGrant(java.awt.event.ActionEvent evt)
-
addAnnotations
protected void addAnnotations(java.awt.event.ActionEvent evt)
-
addAnnotation
protected void addAnnotation(java.awt.event.ActionEvent evt)
-
addLevel
protected void addLevel(java.awt.event.ActionEvent evt)
-
addSQL
protected void addSQL(java.awt.event.ActionEvent evt)
-
addScript
protected void addScript(java.awt.event.ActionEvent evt)
-
addCellFormatter
protected void addCellFormatter(java.awt.event.ActionEvent evt)
-
getSelectedLevel
protected mondrian.gui.SchemaExplorer.LevelInfo getSelectedLevel(java.awt.event.ActionEvent evt)
-
addMemberFormatter
protected void addMemberFormatter(java.awt.event.ActionEvent evt)
-
addPropertyFormatter
protected void addPropertyFormatter(java.awt.event.ActionEvent evt)
-
addKeyExp
protected void addKeyExp(java.awt.event.ActionEvent evt)
-
addNameExp
protected void addNameExp(java.awt.event.ActionEvent evt)
-
addOrdinalExp
protected void addOrdinalExp(java.awt.event.ActionEvent evt)
-
addCaptionExp
protected void addCaptionExp(java.awt.event.ActionEvent evt)
-
addParentExp
protected void addParentExp(java.awt.event.ActionEvent evt)
-
addMeasureExp
protected void addMeasureExp(java.awt.event.ActionEvent evt)
-
addFormula
protected void addFormula(java.awt.event.ActionEvent evt)
-
addTable
protected void addTable(java.awt.event.ActionEvent evt)
-
addJoin
protected void addJoin(java.awt.event.ActionEvent evt)
-
addView
protected void addView(java.awt.event.ActionEvent evt)
-
addInlineTable
protected void addInlineTable(java.awt.event.ActionEvent evt)
-
addRelation
protected void addRelation(java.awt.event.ActionEvent evt, MondrianGuiDef.RelationOrJoin relation)
-
addHierarchy
protected void addHierarchy(java.awt.event.ActionEvent evt)
-
moveLevelUp
protected void moveLevelUp(java.awt.event.ActionEvent evt)
-
moveLevelDown
protected void moveLevelDown(java.awt.event.ActionEvent evt)
-
addProperty
protected void addProperty(java.awt.event.ActionEvent evt)
-
addCalculatedMemberProperty
protected void addCalculatedMemberProperty(java.awt.event.ActionEvent evt)
-
addCalcMemberPropToCalcMember
protected void addCalcMemberPropToCalcMember(MondrianGuiDef.CalculatedMember calcMember, int parentIndex, javax.swing.tree.TreePath tpath)
-
addCalcMemberPropToMeasure
protected void addCalcMemberPropToMeasure(MondrianGuiDef.Measure measure, int parentIndex, javax.swing.tree.TreePath tpath)
-
addClosure
protected void addClosure(java.awt.event.ActionEvent evt)
-
getSchema
public MondrianGuiDef.Schema getSchema()
-
getSchemaFile
public java.io.File getSchemaFile()
returns the schema file- Returns:
- File
-
setSchemaFile
public void setSchemaFile(java.io.File f)
sets the schema file
-
valueChanged
public void valueChanged(javax.swing.event.TreeSelectionEvent e)
Called whenever the value of the selection changes.- Specified by:
valueChanged
in interfacejavax.swing.event.TreeSelectionListener
- Parameters:
e
- the event that characterizes the change.
-
editingCanceled
public void editingCanceled(javax.swing.event.ChangeEvent e)
- Specified by:
editingCanceled
in interfacejavax.swing.event.CellEditorListener
- See Also:
CellEditorListener.editingCanceled(ChangeEvent)
-
editingStopped
public void editingStopped(javax.swing.event.ChangeEvent e)
- Specified by:
editingStopped
in interfacejavax.swing.event.CellEditorListener
- See Also:
CellEditorListener.editingStopped(ChangeEvent)
-
isNewFile
public boolean isNewFile()
-
setNewFile
public void setNewFile(boolean newFile)
-
isDirty
public boolean isDirty()
-
setDirty
public void setDirty(boolean dirty)
-
setTitle
public void setTitle()
-
setDirtyFlag
public void setDirtyFlag(boolean dirtyFlag)
-
getParentObject
public java.lang.Object getParentObject()
-
getJdbcConnectionUrl
public java.lang.String getJdbcConnectionUrl()
-
getJdbcUsername
public java.lang.String getJdbcUsername()
-
getJdbcPassword
public java.lang.String getJdbcPassword()
-
getErrMsg
public java.lang.String getErrMsg()
-
isEditModeXML
public boolean isEditModeXML()
-
getResourceConverter
public I18n getResourceConverter()
-
getTableNamesForJoin
public static void getTableNamesForJoin(MondrianGuiDef.RelationOrJoin aRelOrJoin, java.util.Set<java.lang.String> aTableNames)
-
getTableNameForAlias
public static java.lang.String[] getTableNameForAlias(MondrianGuiDef.RelationOrJoin aRelOrJoin, java.lang.String anAlias)
-
resetMetaData
public void resetMetaData(JdbcMetaData aMetaData)
-
getTreeUpdater
public JTreeUpdater getTreeUpdater()
-
-