Skip to main content
summaryrefslogtreecommitdiffstats
blob: 1a905d61306b7d57277afdde50bdb2913ea9543f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*******************************************************************************
 * Copyright (c) 2001, 2007 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License 2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/

package org.eclipse.wst.ws.internal.explorer.platform.perspective;

import java.util.Hashtable;

public abstract interface FormToolPropertiesInterface
{
  // Getter and Setter for a property.
  public abstract Object getProperty(Object key);
  public abstract void setProperty(Object key,Object value);
  public abstract void removeProperty(Object key);

  // Property table operators.
  public abstract void clearPropertyTable();
  public abstract void updatePropertyTable(Hashtable propertyTable);
  public abstract void setPropertyTable(Hashtable propertyTable);

  // Error handling.
  public abstract void flagError(Object inputKey);
  public abstract void flagRowError(Object inputKey,int rowNumber);
  public abstract void flagRowError(Object inputKey,Object rowId);
  public abstract void clearErrors();
  public abstract boolean isInputValid(Object inputKey);
  public abstract boolean isRowInputValid(Object inputKey,int rowNumber);
  public abstract boolean isRowInputValid(Object inputKey,Object rowId);
}

Back to the top