|
|
@ -15,7 +15,6 @@ import com.fr.report.cell.cellattr.highlight.HighlightAction; |
|
|
|
import com.fr.report.cell.cellattr.highlight.HyperlinkHighlightAction; |
|
|
|
import com.fr.report.cell.cellattr.highlight.HyperlinkHighlightAction; |
|
|
|
|
|
|
|
|
|
|
|
import javax.swing.*; |
|
|
|
import javax.swing.*; |
|
|
|
import java.awt.Dimension; |
|
|
|
|
|
|
|
import java.awt.event.ActionEvent; |
|
|
|
import java.awt.event.ActionEvent; |
|
|
|
import java.awt.event.ActionListener; |
|
|
|
import java.awt.event.ActionListener; |
|
|
|
|
|
|
|
|
|
|
@ -31,7 +30,6 @@ public class HyperlinkPane extends ConditionAttrSingleConditionPane<HighlightAct |
|
|
|
protected UIButton hyperlinkButton; |
|
|
|
protected UIButton hyperlinkButton; |
|
|
|
protected HyperlinkGroupPane pane; |
|
|
|
protected HyperlinkGroupPane pane; |
|
|
|
protected BasicDialog dialog; |
|
|
|
protected BasicDialog dialog; |
|
|
|
private static final Dimension WINDOW_CUSTOM_SIZE = new Dimension(730, 600); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public HyperlinkPane(final ConditionAttributesPane conditionAttributesPane) { |
|
|
|
public HyperlinkPane(final ConditionAttributesPane conditionAttributesPane) { |
|
|
|
super(conditionAttributesPane); |
|
|
|
super(conditionAttributesPane); |
|
|
@ -41,7 +39,7 @@ public class HyperlinkPane extends ConditionAttrSingleConditionPane<HighlightAct |
|
|
|
NameJavaScriptGroup nameHyperlinks = jsGroup; |
|
|
|
NameJavaScriptGroup nameHyperlinks = jsGroup; |
|
|
|
pane = DesignerContext.getDesignerFrame().getSelectedJTemplate().getHyperLinkPaneNoPop(HyperlinkGroupPaneActionImpl.getInstance()); |
|
|
|
pane = DesignerContext.getDesignerFrame().getSelectedJTemplate().getHyperLinkPaneNoPop(HyperlinkGroupPaneActionImpl.getInstance()); |
|
|
|
pane.populate(nameHyperlinks); |
|
|
|
pane.populate(nameHyperlinks); |
|
|
|
dialog = pane.showWindowWithCustomSize(SwingUtilities.getWindowAncestor(conditionAttributesPane), null, WINDOW_CUSTOM_SIZE); |
|
|
|
dialog = pane.showWindow(SwingUtilities.getWindowAncestor(conditionAttributesPane)); |
|
|
|
dialog.addDialogActionListener(new DialogActionAdapter() { |
|
|
|
dialog.addDialogActionListener(new DialogActionAdapter() { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void doOk() { |
|
|
|
public void doOk() { |
|
|
|