org.apache.cayenne.modeler.ProjectWatchdog.class Maven / Gradle / Ivy
???? 1 ?
3 \ ]
2 ^ 2 _
2 `
2 a
2 b
c d
e f g
\ h i
j k
l m
n
2 o
e p q
r s t u v u w x
y
2 z {
2 | }
~
?
? ? ? ?
! ?
c ? ?
?
% ?
% ?
% ? ?
* ?
% ?
?
? ? ? ?
/ ? ? ? mediator .Lorg/apache/cayenne/modeler/ProjectController; 1(Lorg/apache/cayenne/modeler/ProjectController;)V Code LineNumberTable LocalVariableTable this ,Lorg/apache/cayenne/modeler/ProjectWatchdog; reconfigure ()V dm Lorg/apache/cayenne/map/DataMap; projectPath Ljava/lang/String; it Ljava/util/Iterator; project $Lorg/apache/cayenne/project/Project; LocalVariableTypeTable 6Ljava/util/Iterator;
doOnChange ? FileInfo InnerClasses :(Lorg/apache/cayenne/modeler/util/FileWatchdog$FileInfo;)V
fileDirectory Ljava/io/File; fileInfo 7Lorg/apache/cayenne/modeler/util/FileWatchdog$FileInfo;
doOnRemove
controller 5Lorg/apache/cayenne/modeler/CayenneModelerController; dialog 5Lorg/apache/cayenne/modeler/dialog/FileDeletedDialog; showConfirmation (Ljava/lang/String;)Z message
SourceFile ProjectWatchdog.java 6 > cayenne-project-watchdog ? ? 4 5 ? ? ? > ? > ? ? ? ? ? ? java/lang/StringBuilder ? ? ? ? ? ? ? ? ? B ? ? ? ? ? ? 6org/apache/cayenne/configuration/DataChannelDescriptor ? ? ? ? ? ? ? ? ? ? org/apache/cayenne/map/DataMap ? ? ? > \One or more project files were changed by external program. Do you want to load the changes? W X java/io/File 6 ? ? ? ? ? ? 3org/apache/cayenne/modeler/action/OpenProjectAction ? ? ? ? ? ? ? 3org/apache/cayenne/modeler/dialog/FileDeletedDialog ? ? 6 ? ? > ? ? ,org/apache/cayenne/modeler/action/SaveAction ? ? ? ? ? ? ? ? > javax/swing/JOptionPane File changed ? ? *org/apache/cayenne/modeler/ProjectWatchdog ,org/apache/cayenne/modeler/util/FileWatchdog 5org/apache/cayenne/modeler/util/FileWatchdog$FileInfo setName (Ljava/lang/String;)V setSingleNotification (Z)V
pauseWatching removeAllFiles ,org/apache/cayenne/modeler/ProjectController
getProject &()Lorg/apache/cayenne/project/Project; "org/apache/cayenne/project/Project getConfigurationResource (()Lorg/apache/cayenne/resource/Resource; $org/apache/cayenne/resource/Resource getURL ()Ljava/net/URL; java/net/URL getPath ()Ljava/lang/String; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; separator toString addFile getRootNode 6()Lorg/apache/cayenne/configuration/ConfigurationNode; getDataMaps ()Ljava/util/Collection; java/util/Collection iterator ()Ljava/util/Iterator; java/util/Iterator hasNext ()Z next ()Ljava/lang/Object; getConfigurationSource resumeWatching &org/apache/cayenne/modeler/Application getInstance *()Lorg/apache/cayenne/modeler/Application; getActionManager 3()Lorg/apache/cayenne/modeler/action/ActionManager; /org/apache/cayenne/modeler/action/ActionManager getAction '(Ljava/lang/Class;)Ljavax/swing/Action; openProject (Ljava/io/File;)V setDirty getFrame 2()Lorg/apache/cayenne/modeler/CayenneModelerFrame; (Ljava/awt/Component;)V show
shouldSave
performAction (Ljava/awt/event/ActionEvent;)V shouldClose getFrameController 7()Lorg/apache/cayenne/modeler/CayenneModelerController; 3org/apache/cayenne/modeler/CayenneModelerController projectClosedAction showConfirmDialog =(Ljava/awt/Component;Ljava/lang/Object;Ljava/lang/String;II)I ! 2 3 4 5 6 7 8 Y *? *? *+? *? ? 9 1 2
3 4 5 : ; <