Examples of removeMessage()


Examples of org.eclipse.ui.forms.IMessageManager.removeMessage()

            }
        }
        if (noStarWarning != null) {
            msgs.addMessage("_warning_no_star", noStarWarning, new FixMissingStarsAction(actionMessage), IMessageProvider.WARNING);
        } else {
            msgs.removeMessage("_warning_no_star");
        }
    }

    @Override
    protected ImportPattern newHeaderClause(String text) {
View Full Code Here

Examples of org.eclipse.ui.forms.IMessageManager.removeMessage()

                }

                if (activatorError != null) {
                    msgs.addMessage(UNKNOWN_ACTIVATOR_ERROR_KEY, activatorError, null, activatorErrorLevel, txtActivator);
                } else {
                    msgs.removeMessage(UNKNOWN_ACTIVATOR_ERROR_KEY, txtActivator);
                }

                checkActivatorIncluded();
            }
        });
View Full Code Here

Examples of org.eclipse.ui.forms.IMessageManager.removeMessage()

        IMessageManager msgs = getManagedForm().getMessageManager();
        if (warningMessage != null)
            msgs.addMessage(UNINCLUDED_ACTIVATOR_WARNING_KEY, warningMessage, fixes, IMessageProvider.WARNING, txtActivator);
        else
            msgs.removeMessage(UNINCLUDED_ACTIVATOR_WARNING_KEY, txtActivator);
    }

    protected void addDirtyProperty(final String property) {
        lock.ifNotModifying(new Runnable() {
            public void run() {
View Full Code Here

Examples of org.eclipse.ui.forms.IMessageManager.removeMessage()

    @Override
    protected void refreshFromModel() {
        lock.modifyOperation(new Runnable() {
            public void run() {
                IMessageManager messages = getManagedForm().getMessageManager();
                messages.removeMessage(MESSAGE_KEY, cmbFramework);
                try {
                    frameworkViewer.setInput(Central.getWorkspace());
                } catch (Exception e) {
                    messages.addMessage(MESSAGE_KEY, "Unable to load OSGi Framework list. " + e.getMessage(), null, IMessageProvider.ERROR, cmbFramework);
                }
View Full Code Here

Examples of org.eclipse.ui.forms.IMessageManager.removeMessage()

            }
        }
        if (noStarWarning != null) {
            msgs.addMessage("_warning_no_star", noStarWarning, new FixMissingStarsAction(actionMessage), IMessageProvider.WARNING);
        } else {
            msgs.removeMessage("_warning_no_star");
        }
    }

    @Override
    protected ImportPattern newHeaderClause(String text) {
View Full Code Here

Examples of org.eclipse.ui.forms.IMessageManager.removeMessage()

                    control = getSection().getClient();

                if (subBundleList == null || subBundleList.isEmpty()) {
                    button.setGrayed(false);
                    button.setSelection(false);
                    msgs.removeMessage(WARNING_EDITED_MANUALLY, control);
                } else if (subBundleList.size() == 1 && subBundleList.iterator().next().equalsIgnoreCase(ALL_BND)) {
                    button.setGrayed(false);
                    button.setSelection(true);
                    msgs.removeMessage(WARNING_EDITED_MANUALLY, control);
                } else {
View Full Code Here

Examples of org.eclipse.ui.forms.IMessageManager.removeMessage()

                    button.setSelection(false);
                    msgs.removeMessage(WARNING_EDITED_MANUALLY, control);
                } else if (subBundleList.size() == 1 && subBundleList.iterator().next().equalsIgnoreCase(ALL_BND)) {
                    button.setGrayed(false);
                    button.setSelection(true);
                    msgs.removeMessage(WARNING_EDITED_MANUALLY, control);
                } else {
                    button.setGrayed(true);
                    button.setSelection(true);
                    msgs.addMessage(WARNING_EDITED_MANUALLY, "The '-sub' setting has been edited manually in the bnd.bnd file. Changing here will override the manually provided setting.", null, IMessageProvider.WARNING, control);
                }
View Full Code Here

Examples of org.eclipse.ui.forms.IMessageManager.removeMessage()

        }
    }

    private void reloadRepos() {
        final IMessageManager messages = getManagedForm().getMessageManager();
        messages.removeMessage(MESSAGE_KEY, viewer.getControl());
        allRepos.clear();

        try {
            allRepos.addAll(Central.getWorkspace().getPlugins(Repository.class));
        } catch (Exception e) {
View Full Code Here

Examples of org.eclipse.ui.forms.IMessageManager.removeMessage()

                    SWTConcurrencyUtil.execForControl(viewer.getControl(), true, new Runnable() {
                        @Override
                        public void run() {
                            allRepos.clear();
                            allRepos.addAll(ws.getPlugins(Repository.class));
                            messages.removeMessage(MESSAGE_KEY, viewer.getControl());
                        }
                    });
                    return null;
                }
            });
View Full Code Here

Examples of org.exolab.jms.persistence.PersistenceAdapter.removeMessage()

            if (reference.isPersistent()) {
                try {
                    DatabaseService service = DatabaseService.getInstance();
                    Connection connection = service.getConnection();
                    PersistenceAdapter adapter = service.getAdapter();
                    adapter.removeMessage(connection, messageId);
                } catch (Exception exception) {
                    _log.error("Failed to remove message", exception);
                    throw new JMSException("Failed to remove message: "
                            + exception.getMessage());
                }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.