Package org.eclipse.ui.forms

Examples of org.eclipse.ui.forms.IMessagePrefixProvider


                    final IMessage topError = errors[0];
                    topError.getControl().setFocus();
                }
            }
        });
        form.getMessageManager().setMessagePrefixProvider(new IMessagePrefixProvider(){
            @Override
            public String getPrefix( Control control ) {
                return control.getData().toString() + " - ";
            }
        });
View Full Code Here


        form.setText( getTitle() );
        factory.decorateFormHeading( form );
       
        managedForm = new ManagedForm( factory, scrolled );
        messages = managedForm.getMessageManager();
        messages.setMessagePrefixProvider( new IMessagePrefixProvider(){           
            public String getPrefix( Control control ) {
                if( control instanceof Label){
                    return ((Label)control).getText();
                }
                return null;
View Full Code Here

                    final IMessage topError = errors[0];
                    topError.getControl().setFocus();
                }
            }
        });
        form.getMessageManager().setMessagePrefixProvider(new IMessagePrefixProvider(){
            @Override
            public String getPrefix( Control control ) {
                return control.getData().toString() + " - ";
            }
        });
View Full Code Here

TOP

Related Classes of org.eclipse.ui.forms.IMessagePrefixProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.