forked from fanruan/design
hades
3 years ago
4 changed files with 41 additions and 6 deletions
@ -0,0 +1,18 @@
|
||||
package com.fr.design.lock; |
||||
|
||||
import com.fr.report.lock.DefaultLockInfoOperator; |
||||
import com.fr.report.lock.LockInfoOperator; |
||||
import com.fr.workspace.WorkContext; |
||||
|
||||
/** |
||||
* @author hades |
||||
* @version 11.0 |
||||
* Created by hades on 2021/12/8 |
||||
*/ |
||||
public class LockInfoUtils { |
||||
|
||||
public static boolean isCompatibleOperator() { |
||||
LockInfoOperator lockInfoOperator = WorkContext.getCurrent().get(LockInfoOperator.class); |
||||
return lockInfoOperator instanceof DefaultLockInfoOperator; |
||||
} |
||||
} |
Loading…
Reference in new issue