// Path: src/org/sleeksnap/uploaders/settings/types/AutoDetectSettingType.java
// public class AutoDetectSettingType implements UploaderSettingType {
// 
// 	@Override
// 	public JComponent constructComponent(String[] defaults) {
// 		return null;
// 	}
// 
// 	@Override
// 	public void setValue(JComponent component, Object value) {
// 	}
// 
// 	@Override
// 	public Object getValue(JComponent component) {
// 		return null;
// 	}
// 
// }


import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.sleeksnap.uploaders.settings.types.AutoDetectSettingType;
package org.sleeksnap.uploaders.settings;



/**
 * Defines a Setting, this is only used in the {@link ParametersDialog}
 * 
 * @author Nikki
 *
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface Setting {
	public String name();
	
	public String description() default "";
	
	public boolean optional() default false;
	
// Path: src/org/sleeksnap/uploaders/settings/types/AutoDetectSettingType.java
// public class AutoDetectSettingType implements UploaderSettingType {
// 
// 	@Override
// 	public JComponent constructComponent(String[] defaults) {
// 		return null;
// 	}
// 
// 	@Override
// 	public void setValue(JComponent component, Object value) {
// 	}
// 
// 	@Override
// 	public Object getValue(JComponent component) {
// 		return null;
// 	}
// 
// }


// Path: src/org/sleeksnap/uploaders/settings/Setting.java
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.sleeksnap.uploaders.settings.types.AutoDetectSettingType;

package org.sleeksnap.uploaders.settings;



/**
 * Defines a Setting, this is only used in the {@link ParametersDialog}
 * 
 * @author Nikki
 *
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface Setting {
	public String name();
	
	public String description() default "";
	
	public boolean optional() default false;
	
	public Class<? extends UploaderSettingType> type() default AutoDetectSettingType.class;