diff options
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.ui.swt/src/org/eclipse/tcf/te/ui/jface/interfaces/IValidatable.java')
-rw-r--r-- | target_explorer/plugins/org.eclipse.tcf.te.ui.swt/src/org/eclipse/tcf/te/ui/jface/interfaces/IValidatable.java | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.ui.swt/src/org/eclipse/tcf/te/ui/jface/interfaces/IValidatable.java b/target_explorer/plugins/org.eclipse.tcf.te.ui.swt/src/org/eclipse/tcf/te/ui/jface/interfaces/IValidatable.java index 5f408e70a..47d7c5641 100644 --- a/target_explorer/plugins/org.eclipse.tcf.te.ui.swt/src/org/eclipse/tcf/te/ui/jface/interfaces/IValidatable.java +++ b/target_explorer/plugins/org.eclipse.tcf.te.ui.swt/src/org/eclipse/tcf/te/ui/jface/interfaces/IValidatable.java @@ -1,31 +1,31 @@ -/*******************************************************************************
- * Copyright (c) 2011, 2012 Wind River Systems, Inc. and others. All rights reserved.
- * This program and the accompanying materials are made available under the terms
- * of the Eclipse Public License v1.0 which accompanies this distribution, and is
- * available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Wind River Systems - initial API and implementation
- *******************************************************************************/
-package org.eclipse.tcf.te.ui.jface.interfaces;
-
-import org.eclipse.jface.dialogs.IMessageProvider;
-
-/**
- * Interface to be implemented by validatable UI elements like
- * widgets, controls, sections or any other UI element with a
- * validatable state.
- */
-public interface IValidatable extends IMessageProvider {
-
- /**
- * Validates the state of the implementor.
- * <p>
- * On invocation, the method is expected to set the validatable
- * elements message and message type ready to be queried immediately
- * after the method returned.
- *
- * @return <code>True</code> if the validatable is valid, <code>false</code> otherwise.
- */
- public boolean isValid();
-}
+/******************************************************************************* + * Copyright (c) 2014 Wind River Systems, Inc. and others. All rights reserved. + * This program and the accompanying materials are made available under the terms + * of the Eclipse Public License v1.0 which accompanies this distribution, and is + * available at http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Wind River Systems - initial API and implementation + *******************************************************************************/ +package org.eclipse.tcf.te.ui.jface.interfaces; + +import org.eclipse.jface.dialogs.IMessageProvider; + +/** + * Interface to be implemented by validatable UI elements like + * widgets, controls, sections or any other UI element with a + * validatable state. + */ +public interface IValidatable extends IMessageProvider { + + /** + * Validates the state of the implementor. + * <p> + * On invocation, the method is expected to set the validatable + * elements message and message type ready to be queried immediately + * after the method returned. + * + * @return <code>True</code> if the validatable is valid, <code>false</code> otherwise. + */ + public boolean isValid(); +} |