|
|
|
@ -22,6 +22,8 @@ import com.fr.esd.event.DsNameTarget;
|
|
|
|
|
import com.fr.esd.event.StrategyEventsNotifier; |
|
|
|
|
|
|
|
|
|
import com.fr.report.LockItem; |
|
|
|
|
import com.fr.workspace.server.entity.tabledata.TableDataBean; |
|
|
|
|
import com.fr.workspace.server.repository.tabledata.TableDataRepository; |
|
|
|
|
|
|
|
|
|
import javax.swing.KeyStroke; |
|
|
|
|
import java.awt.Dimension; |
|
|
|
@ -75,7 +77,11 @@ public class GlobalTableDataAction extends UpdateAction implements ResponseDataS
|
|
|
|
|
} |
|
|
|
|
// 锁定成功,执行后续操作
|
|
|
|
|
final DesignerFrame designerFrame = DesignerContext.getDesignerFrame(); |
|
|
|
|
final Map<String, TableData> tableDataMap = TableDataConfigProviderFactory.getInstance().getTableDatas(); |
|
|
|
|
final TableDataBean[] beans = TableDataRepository.getInstance().getAllTableData(); |
|
|
|
|
final Map<String, TableData> tableDataMap = new HashMap<>(); |
|
|
|
|
for (TableDataBean bean : beans) { |
|
|
|
|
tableDataMap.put(bean.getTableData().getName() , bean.getTableData()); |
|
|
|
|
} |
|
|
|
|
final TableDataManagerPane globalTableDataPane = new TableDataManagerPane() { |
|
|
|
|
public void complete() { |
|
|
|
|
populate(tableDataMap); |
|
|
|
|