org.apache.cayenne.modeler.action.DisableValidationInspectionAction.class Maven / Gradle / Ivy
???? 7 v Corg/apache/cayenne/modeler/action/DisableValidationInspectionAction Disable inspection
>org/apache/cayenne/modeler/action/UpdateValidationConfigAction =(Ljava/lang/String;Lorg/apache/cayenne/modeler/Application;)V 0org/apache/cayenne/modeler/action/ValidateAction
+(Lorg/apache/cayenne/modeler/Application;)V validationAction 2Lorg/apache/cayenne/modeler/action/ValidateAction;
setUndoable C(Z)Lorg/apache/cayenne/modeler/action/UpdateValidationConfigAction;
inspection
getValue &(Ljava/lang/String;)Ljava/lang/Object; 0org/apache/cayenne/project/validation/Inspection ! " # application (Lorg/apache/cayenne/modeler/Application;
% & ' ( ) &org/apache/cayenne/modeler/Application
getProject &()Lorg/apache/cayenne/project/Project;
+ , - . / "org/apache/cayenne/project/Project getRootNode 6()Lorg/apache/cayenne/configuration/ConfigurationNode; 1 6org/apache/cayenne/configuration/DataChannelDescriptor
% 3 4 5 getMetaData <()Lorg/apache/cayenne/configuration/xml/DataChannelMetaData;
7 8 9 : ; 6org/apache/cayenne/project/validation/ValidationConfig fromMetadata ?(Lorg/apache/cayenne/configuration/xml/DataChannelMetaData;Lorg/apache/cayenne/configuration/DataChannelDescriptor;)Lorg/apache/cayenne/project/validation/ValidationConfig;
7 = > ? getEnabledInspections ()Ljava/util/Set;
A B C D E java/util/EnumSet copyOf +(Ljava/util/Collection;)Ljava/util/EnumSet;
A G H I remove (Ljava/lang/Object;)Z
7 K L (Ljava/util/Set;)V
N O P putConfig z(Lorg/apache/cayenne/project/validation/ValidationConfig;)Lorg/apache/cayenne/modeler/action/UpdateValidationConfigAction;
R S T
performAction (Ljava/awt/event/ActionEvent;)V
R
W X Y putValue '(Ljava/lang/String;Ljava/lang/Object;)V [ icon-disable.png ACTION_NAME Ljava/lang/String;
ConstantValue INSPECTION_PARAM Code LineNumberTable LocalVariableTable this ELorg/apache/cayenne/modeler/action/DisableValidationInspectionAction; e Ljava/awt/event/ActionEvent; 2Lorg/apache/cayenne/project/validation/Inspection; dataChannel 8Lorg/apache/cayenne/configuration/DataChannelDescriptor; config 8Lorg/apache/cayenne/project/validation/ValidationConfig; enabledInspections Ljava/util/EnumSet; LocalVariableTypeTable GLjava/util/EnumSet;
putInspection y(Lorg/apache/cayenne/project/validation/Inspection;)Lorg/apache/cayenne/modeler/action/DisableValidationInspectionAction; getIconName ()Ljava/lang/String;
SourceFile &DisableValidationInspectionAction.java