Class DataSourcePanel


  • public class DataSourcePanel
    extends SwingOwner
    This class manages UI display and editing of editor's datasource.
    • Constructor Detail

      • DataSourcePanel

        public DataSourcePanel()
    • Method Detail

      • initUI

        protected void initUI()
        Initialize UI panel for the datasource inspector.
        Overrides:
        initUI in class UIOwner<SwingEvent,​javax.swing.JComponent>
      • resetUI

        public void resetUI()
        Resets UI from the current editor's datasource.
        Overrides:
        resetUI in class UIOwner<SwingEvent,​javax.swing.JComponent>
      • respondUI

        public void respondUI​(SwingEvent anEvent)
        Responds to changes from the datasource inspector panel's controls.
        Overrides:
        respondUI in class UIOwner<SwingEvent,​javax.swing.JComponent>
      • saveAsXML

        public void saveAsXML​(RMDataSource source)
        Saves the current datasource's dataset as an xml dataset.
      • getSelectedShape

        public RMShape getSelectedShape()
        Returns the currently selected shape.
      • getWindowTitle

        public java.lang.String getWindowTitle()
        Returns the name to be used in the inspector panel window title.