Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.jface.text.source
Interface IAnnotationAccess

All Known Implementing Classes:
DefaultMarkerAnnotationAccess

public interface IAnnotationAccess

An annotation access provides access to information that is not available via the API of Annotation. With version 3.0 all this information is now available from the annotation itself.

In order to provide backward compatibility for clients of IAnnotationAccess, extension interfaces are used as a means of evolution. The following extension interfaces exist:

Clients usually implement this interface and its extension interfaces.

Since:
2.1
See Also:
IAnnotationAccessExtension, Annotation

Method Summary
  Object getType ( Annotation annotation)
          Deprecated. use Annotation.getType()
 boolean isMultiLine ( Annotation annotation)
          Deprecated. assumed to always return true
 boolean isTemporary ( Annotation annotation)
          Deprecated. use Annotation.isPersistent()
 

Method Detail

getType


Object getType(
Annotation annotation)
Deprecated. use Annotation.getType()

Returns the type of the given annotation.

Parameters:
annotation - the annotation
Returns:
the type of the given annotation or null if it has none.

isMultiLine

boolean isMultiLine(
Annotation annotation)
Deprecated. assumed to always return true

Returns whether the given annotation spans multiple lines.

Parameters:
annotation - the annotation
Returns:
true if the annotation spans multiple lines, false otherwise

isTemporary

boolean isTemporary(
Annotation annotation)
Deprecated. use Annotation.isPersistent()

Returns whether the given annotation is temporary rather than persistent.

Parameters:
annotation - the annotation
Returns:
true if the annotation is temporary, false otherwise

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire