@ -7,6 +7,7 @@ import com.fr.design.DesignModelAdapter;
import com.fr.design.DesignerEnvManager ;
import com.fr.design.DesignerEnvManager ;
import com.fr.design.ExtraDesignClassManager ;
import com.fr.design.ExtraDesignClassManager ;
import com.fr.design.actions.UpdateAction ;
import com.fr.design.actions.UpdateAction ;
import com.fr.design.base.mode.DesignModeContext ;
import com.fr.design.constants.UIConstants ;
import com.fr.design.constants.UIConstants ;
import com.fr.design.data.DesignTableDataManager ;
import com.fr.design.data.DesignTableDataManager ;
import com.fr.design.data.datapane.TableDataTreePane ;
import com.fr.design.data.datapane.TableDataTreePane ;
@ -352,6 +353,11 @@ public class DesignerFrameFileDealerPane extends JPanel implements FileToolbarSt
@Override
@Override
public void actionPerformed ( ActionEvent e ) {
public void actionPerformed ( ActionEvent e ) {
if ( DesignModeContext . isAuthorityEditing ( ) ) {
FineJOptionPane . showMessageDialog ( DesignerContext . getDesignerFrame ( ) , Toolkit . i18nText ( "Fine-Design_Quit_Authority_Edit_Tip" ) ,
Toolkit . i18nText ( "Fine-Design_Basic_Alert" ) , JOptionPane . WARNING_MESSAGE ) ;
return ;
}
String path = DesignerFrameFileDealerPane . getInstance ( ) . getSelectedOperation ( ) . getFilePath ( ) ;
String path = DesignerFrameFileDealerPane . getInstance ( ) . getSelectedOperation ( ) . getFilePath ( ) ;
path = StableUtils . pathJoin ( ProjectConstants . REPORTLETS_NAME , path ) ;
path = StableUtils . pathJoin ( ProjectConstants . REPORTLETS_NAME , path ) ;