|
|
@ -371,7 +371,12 @@ public class DesignerFrame extends JFrame implements JTemplateActionListener, Ta |
|
|
|
public void fireDesignerOpened() { |
|
|
|
public void fireDesignerOpened() { |
|
|
|
|
|
|
|
|
|
|
|
for (DesignerOpenedListener listener : designerOpenedListenerList) { |
|
|
|
for (DesignerOpenedListener listener : designerOpenedListenerList) { |
|
|
|
listener.designerOpened(); |
|
|
|
// 捕获下异常 避免造成启动过程监听触发异常导致设计器闪退
|
|
|
|
|
|
|
|
try { |
|
|
|
|
|
|
|
listener.designerOpened(); |
|
|
|
|
|
|
|
} catch (Throwable e) { |
|
|
|
|
|
|
|
FineLoggerFactory.getLogger().error(e.getMessage(), e); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
designerOpened = true; |
|
|
|
designerOpened = true; |
|
|
|