psdi.webclient.beans.bim.viewer

Class WOTreeBaseBean

    • Constructor Detail

      • WOTreeBaseBean

        public WOTreeBaseBean()
    • Method Detail

      • initialize

        protected void initialize()
                           throws MXException,
                                  java.rmi.RemoteException
        Description copied from class: DataBean
        Typically called after the DataBean gets a new MboSetRemote On the MboSetRemote it sets the app, the app defaults, user defaults If the remote is an instanceof NonPersistentMboSetRemote then setup is called on it and sets the current row to 0. If the DataBean isn't bound to a table then initialize fetches the first mbo (sets the current row to 0). If this method is overridden under most case you will want to call super.initalize at the end of the the new initialize method.
        Overrides:
        initialize in class TreeControlBean
        Throws:
        MXException
        java.rmi.RemoteException
      • selectnode

        public int selectnode()
                       throws MXException,
                              java.rmi.RemoteException
        Handles the selectnode event fired from the frontend or through TreeNode It gets MBo for the uniqueid passed whena a node is selected
        Overrides:
        selectnode in class TreeControlBean
        Returns:
        EVENT_HANDLED;
        Throws:
        MXException
        java.rmi.RemoteException
      • selectItemInModel

        protected void selectItemInModel(long num)
                                  throws java.rmi.RemoteException,
                                         MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • structureChangedEvent

        public void structureChangedEvent(DataBean speaker)
        Description copied from class: DataBean
        event called by the "parent" DataBean which tells this DataBean that it references a new mbo or MboSetRemote. The fireStructureChangedEvent is called thus setting the resetRemote flag for all the "children" DataBeans
        Specified by:
        structureChangedEvent in interface DataBeanListener
        Overrides:
        structureChangedEvent in class DataBean
      • processLocationChange

        public void processLocationChange()
      • getMboSetRemote

        protected MboSetRemote getMboSetRemote()
                                        throws MXException,
                                               java.rmi.RemoteException
        Description copied from class: DataBean
        Obtains and returns a MboSetRemote using the mboname of parent/relationship setup for the bean. Override this method if the DataBean needs to get a MboSetRemote in a non-standard way. (Not via a the MXSession, or a relationship from another DataBean).
        Overrides:
        getMboSetRemote in class DataBean
        Throws:
        MXException
        java.rmi.RemoteException