@ -205,14 +205,14 @@ public class EventPropertyPane extends UIControlPane implements ListControlPaneP
nameEdList . setName ( text ) ;
nameEdList . setName ( text ) ;
nameEdList . setSelectionBackground ( UIConstants . ATTRIBUTE_PRESS ) ;
nameEdList . setSelectionBackground ( UIConstants . ATTRIBUTE_PRESS ) ;
nameEdList . setSelectionMode ( ListSelectionModel . MULTIPLE_INTERVAL_SELECTION ) ;
nameEdList . setSelectionMode ( ListSelectionModel . MULTIPLE_INTERVAL_SELECTION ) ;
nameEdList . addMouseListener ( getHelper ( ) . getListMouseListener ( nameEdList , this ) ) ;
nameEdList . addMouseListener ( new MouseAdapter ( ) {
nameEdList . addMouseListener ( new MouseAdapter ( ) {
@Override
@Override
public void mouseClick ed ( MouseEvent e ) {
public void mouseReleas ed ( MouseEvent e ) {
selectNameEdList = nameEdList ;
selectNameEdList = nameEdList ;
updateUINameListSelect ( ) ;
updateUINameListSelect ( ) ;
}
}
} ) ;
} ) ;
nameEdList . addMouseListener ( getHelper ( ) . getListMouseListener ( nameEdList , this ) ) ;
nameEdList . addModNameActionListener ( new ModNameActionListener ( ) {
nameEdList . addModNameActionListener ( new ModNameActionListener ( ) {
@Override
@Override
public void nameModed ( int index , String oldName , String newName ) {
public void nameModed ( int index , String oldName , String newName ) {
@ -222,7 +222,7 @@ public class EventPropertyPane extends UIControlPane implements ListControlPaneP
nameEdList . addListSelectionListener ( new ListSelectionListener ( ) {
nameEdList . addListSelectionListener ( new ListSelectionListener ( ) {
public void valueChanged ( ListSelectionEvent evt ) {
public void valueChanged ( ListSelectionEvent evt ) {
// richie:避免多次update和populate大大降低效率
// richie:避免多次update和populate大大降低效率
if ( ! evt . getValueIsAdjusting ( ) & & ! isPopulating ) {
if ( ! evt . getValueIsAdjusting ( ) ) {
// shoc 切换的时候加检验
// shoc 切换的时候加检验
if ( hasInvalid ( false ) ) {
if ( hasInvalid ( false ) ) {
return ;
return ;