package com.lonepulse.icklebot.annotation;

/*
 * #%L
 * IckleBot
 * %%
 * Copyright (C) 2013 Lonepulse
 * %%
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * #L%
 */

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import android.app.ActionBar;
import android.view.Window;

/**
 * <p>Spedifies the <b>title</b> to be used on the {@link ActionBar} 
 * or <b>Title Bar</b> (pre-ICS).</p> 
 * 
 * @version 1.0.0
 * <br><br>
 * @author <a href="mailto:lahiru@lonepulse.com">Lahiru Sahan Jayasinghe</a>
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface Title {

	/**
	 * <p>The {@code integer} which identifies the <b>resource id</b> 
	 * of the title to be used.</p>
	 * 
	 * <p><b>NOTE</b>: the resource id is given precedence over the 
	 * {@link #text()}</p>.
	 * 
	 * @return the string resource id
	 * <br><br>
	 * @since 1.0.0
	 */
	int id() default 0;
	
	/**
	 * <p>The <i>text</i> which is to be used for the title.</p> 
	 * 
	 * @return the title text 
	 * <br><br>
	 * @since 1.0.0
	 */
	String text() default "";
	
	/**
	 * <p>The array of {@code int}s containing the IDs of the 
	 * <i>window features</i> to be applied. These constants 
	 * can be found in {@link Window}.</p>
	 * 
	 * <p>Empty by default.</p>
	 * 
	 * @return the constant {@code int} IDs representing the  
	 * 		   {@link Window} features to be used.
	 * <br><br>
	 * @since 1.0.0
	 */
	int[] windowFeatures() default {};
}

@@ -868,36 +868,8 @@
 Bar;
-%0Aimport android.view.Window;
 %0A%0A/*
@@ -879,17 +879,17 @@
 * %3Cp%3ESpe
-d
+c
 ifies th
@@ -1650,387 +1650,6 @@
 %22%22;%0A
-%09%0A%09/**%0A%09 * %3Cp%3EThe array of %7B@code int%7Ds containing the IDs of the %0A%09 * %3Ci%3Ewindow features%3C/i%3E to be applied. These constants %0A%09 * can be found in %7B@link Window%7D.%3C/p%3E%0A%09 * %0A%09 * %3Cp%3EEmpty by default.%3C/p%3E%0A%09 * %0A%09 * @return the constant %7B@code int%7D IDs representing the  %0A%09 * %09%09   %7B@link Window%7D features to be used.%0A%09 * %3Cbr%3E%3Cbr%3E%0A%09 * @since 1.0.0%0A%09 */%0A%09int%5B%5D windowFeatures() default %7B%7D;%0A
 %7D%0A

Remove obsolete field