|
|
@ -37,7 +37,7 @@ public class ITTableButton extends AbstractCellEditor implements TableCellEditor |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void actionPerformed(ActionEvent e) { |
|
|
|
public void actionPerformed(ActionEvent e) { |
|
|
|
ITContent content = (ITContent) getEditTable().getValueAt(getEditTable().getEditingRow(), 7); |
|
|
|
ITContent content = (ITContent) getEditTable().getValueAt(getEditTable().getEditingRow(), 7); |
|
|
|
if (!StringUtils.isEmpty(GeneralUtils.objectToString(content.getTrlString()))) { |
|
|
|
if (StringUtils.isNotEmpty(GeneralUtils.objectToString(content.getTrlString()))) { |
|
|
|
ITReplaceMainDialog.setITReplaceFlag(true); |
|
|
|
ITReplaceMainDialog.setITReplaceFlag(true); |
|
|
|
HistoryTemplateListCache.getInstance().getCurrentEditingTemplate().navigate(new TRL(GeneralUtils.objectToString(content.getTrlString()))); |
|
|
|
HistoryTemplateListCache.getInstance().getCurrentEditingTemplate().navigate(new TRL(GeneralUtils.objectToString(content.getTrlString()))); |
|
|
|
} |
|
|
|
} |
|
|
|