Java Code Examples for org.eclipse.ui.part.MessagePage#setMessage()

The following examples show how to use org.eclipse.ui.part.MessagePage#setMessage() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SpringConfigurationView.java    From tesb-studio-se with Apache License 2.0 5 votes vote down vote up
@Override
protected IPage createDefaultPage(PageBook book) {
    MessagePage page = new MessagePage();
    initPage(page);
    page.createControl(book);
    page.setMessage(CamelDesignerMessages.getString("SpringConfigurationView_defaultMessage")); //$NON-NLS-1$
    return page;
}
 
Example 2
Source File: LibraryExplorerView.java    From birt with Eclipse Public License 1.0 5 votes vote down vote up
/**
 * Creates and returns the default page for this view.
 * 
 * @param book
 *            the pagebook control
 * @return the default page
 */
protected IPage createDefaultPage( PageBook book )
{
	MessagePage page = new MessagePage( );
	initPage( page );
	page.createControl( book );
	page.setMessage( defaultText );
	return page;
}
 
Example 3
Source File: DataView.java    From birt with Eclipse Public License 1.0 5 votes vote down vote up
/**
 * Creates and returns the default page for this view.
 * 
 * @param book
 *            the pagebook control
 * @return the default page
 */
protected IPage createDefaultPage( PageBook book )
{
	MessagePage page = new MessagePage( );
	initPage( page );
	page.createControl( book );
	page.setMessage( defaultText );
	return page;
}
 
Example 4
Source File: AttributeView.java    From birt with Eclipse Public License 1.0 5 votes vote down vote up
protected IPage createDefaultPage( PageBook book )
{
	MessagePage page = new MessagePage( );
	initPage( page );
	page.createControl( book );
	page.setMessage( defaultText );
	if ( defaultPartName == null )
	{
		defaultPartName = getPartName( );
	}
	return page;
}
 
Example 5
Source File: CasEditorView.java    From uima-uimaj with Apache License 2.0 5 votes vote down vote up
@Override
protected IPage createDefaultPage(PageBook book) {
  MessagePage page = new MessagePage();
  initPage(page);
  page.createControl(book);
  page.setMessage(editorNotAvailableMessage);
  return page;
}
 
Example 6
Source File: AnnotationEditorView.java    From uima-uimaj with Apache License 2.0 5 votes vote down vote up
@Override
protected IPage createDefaultPage(PageBook book) {
  MessagePage page = new MessagePage();
  initPage(page);
  page.createControl(book);
  page.setMessage(editorNotAvailableMessage);
  return page;
}