|
|
@ -10,7 +10,6 @@ import com.fr.design.DesignModelAdapter; |
|
|
|
import com.fr.design.DesignerEnvManager; |
|
|
|
import com.fr.design.DesignerEnvManager; |
|
|
|
import com.fr.design.ExtraDesignClassManager; |
|
|
|
import com.fr.design.ExtraDesignClassManager; |
|
|
|
import com.fr.design.actions.UpdateAction; |
|
|
|
import com.fr.design.actions.UpdateAction; |
|
|
|
import com.fr.design.constants.UIConstants; |
|
|
|
|
|
|
|
import com.fr.design.data.BasicTableDataTreePane; |
|
|
|
import com.fr.design.data.BasicTableDataTreePane; |
|
|
|
import com.fr.design.data.BasicTableDataUtils; |
|
|
|
import com.fr.design.data.BasicTableDataUtils; |
|
|
|
import com.fr.design.data.DesignTableDataManager; |
|
|
|
import com.fr.design.data.DesignTableDataManager; |
|
|
@ -70,7 +69,6 @@ import com.fr.stable.core.PropertyChangeAdapter; |
|
|
|
import com.fr.workspace.WorkContext; |
|
|
|
import com.fr.workspace.WorkContext; |
|
|
|
import org.jetbrains.annotations.NotNull; |
|
|
|
import org.jetbrains.annotations.NotNull; |
|
|
|
|
|
|
|
|
|
|
|
import javax.swing.BorderFactory; |
|
|
|
|
|
|
|
import javax.swing.Icon; |
|
|
|
import javax.swing.Icon; |
|
|
|
import javax.swing.JLabel; |
|
|
|
import javax.swing.JLabel; |
|
|
|
import javax.swing.JPanel; |
|
|
|
import javax.swing.JPanel; |
|
|
@ -81,7 +79,6 @@ import javax.swing.border.EmptyBorder; |
|
|
|
import javax.swing.tree.TreePath; |
|
|
|
import javax.swing.tree.TreePath; |
|
|
|
import java.awt.BorderLayout; |
|
|
|
import java.awt.BorderLayout; |
|
|
|
import java.awt.Color; |
|
|
|
import java.awt.Color; |
|
|
|
import java.awt.Dimension; |
|
|
|
|
|
|
|
import java.awt.GridLayout; |
|
|
|
import java.awt.GridLayout; |
|
|
|
import java.awt.dnd.DnDConstants; |
|
|
|
import java.awt.dnd.DnDConstants; |
|
|
|
import java.awt.event.ActionEvent; |
|
|
|
import java.awt.event.ActionEvent; |
|
|
@ -252,10 +249,7 @@ public class TableDataTreePane extends BasicTableDataTreePane { |
|
|
|
toolBar.setBorderPainted(true); |
|
|
|
toolBar.setBorderPainted(true); |
|
|
|
toolbarDef.updateToolBar(toolBar); |
|
|
|
toolbarDef.updateToolBar(toolBar); |
|
|
|
|
|
|
|
|
|
|
|
TreeSearchToolbarPane searchLayerdPane = new TreeSearchToolbarPane(toolBar); |
|
|
|
return new TreeSearchToolbarPane(toolBar); |
|
|
|
searchLayerdPane.setPreferredSize(new Dimension(this.getWidth(), 23)); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return searchLayerdPane; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
@ -276,7 +270,7 @@ public class TableDataTreePane extends BasicTableDataTreePane { |
|
|
|
|
|
|
|
|
|
|
|
treePane.add(northPane, BorderLayout.NORTH); |
|
|
|
treePane.add(northPane, BorderLayout.NORTH); |
|
|
|
treePane.add(remindPane, BorderLayout.CENTER); |
|
|
|
treePane.add(remindPane, BorderLayout.CENTER); |
|
|
|
treePane.setBorder(new EmptyBorder(10, 10,10,10)); |
|
|
|
treePane.setBorder(new EmptyBorder(10, 10, 10, 10)); |
|
|
|
return treePane; |
|
|
|
return treePane; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|