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

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.ui.forms
Interface IMessage

All Superinterfaces:
IMessageProvider

public interface IMessage
extends IMessageProvider

This interface encapsulates a single message that can be shown in a form. Messages can be associated with controls, or be of a general nature.

Since:
3.3
See Also:
IMessageManager

Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs. IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Method Summary
  Control getControl ()
          Returns the control this message is associated with.
  Object getData ()
          Returns data for application use
  Object getKey ()
          Returns the unique message key
  String getPrefix ()
          Messages that are associated with controls can be shown with a prefix that indicates the origin of the message (e.g. the label preceeding the control).
 
Methods inherited from interface org.eclipse.jface.dialogs. IMessageProvider
getMessage, getMessageType
 

Method Detail

getKey

Object getKey()
Returns the unique message key

Returns:
the unique message key

getData

Object getData()
Returns data for application use

Returns:
data object

getControl

Control getControl()
Returns the control this message is associated with.

Returns:
the control or null if this is a general message.

getPrefix

String getPrefix()
Messages that are associated with controls can be shown with a prefix that indicates the origin of the message (e.g. the label preceeding the control).

Returns:
the message prefix or null if this is a general message

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