|
|
|
@ -93,6 +93,7 @@ public class TemplateTreeSearchToolbarPane extends JPanel implements TreeSearchS
|
|
|
|
|
add(contentPane, BorderLayout.CENTER); |
|
|
|
|
setPreferredSize(new Dimension(240, 30)); |
|
|
|
|
TemplateTreeSearchManager.getInstance().registerTreeSearchStatusChangeListener(this); |
|
|
|
|
BidiUtils.applyOrientationByLocale(this); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void initContentPane() { |
|
|
|
@ -133,7 +134,6 @@ public class TemplateTreeSearchToolbarPane extends JPanel implements TreeSearchS
|
|
|
|
|
searchPane.add(searchLabel, BorderLayout.WEST); |
|
|
|
|
searchPane.add(searchTextField, BorderLayout.CENTER); |
|
|
|
|
searchPane.add(returnLabel, BorderLayout.EAST); |
|
|
|
|
searchPane.applyComponentOrientation(BidiUtils.getOrientationByLocale()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void initSearchTextField() { |
|
|
|
@ -173,7 +173,6 @@ public class TemplateTreeSearchToolbarPane extends JPanel implements TreeSearchS
|
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
this.searchTextField.addKeyListener(enterPressed); |
|
|
|
|
searchTextField.applyComponentOrientation(BidiUtils.getOrientationByLocale()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void dealWithTextChange() { |
|
|
|
@ -188,7 +187,6 @@ public class TemplateTreeSearchToolbarPane extends JPanel implements TreeSearchS
|
|
|
|
|
toolbarPane = new JPanel(); |
|
|
|
|
toolbarPane.setLayout(FRGUIPaneFactory.createBorderLayout()); |
|
|
|
|
toolbarPane.add(toolbar, BorderLayout.CENTER); |
|
|
|
|
toolbarPane.applyComponentOrientation(BidiUtils.getOrientationByLocale()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|