diff options
Diffstat (limited to 'bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/wsi/preferences/PersistentWSIAPContext.java')
-rw-r--r-- | bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/wsi/preferences/PersistentWSIAPContext.java | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/wsi/preferences/PersistentWSIAPContext.java b/bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/wsi/preferences/PersistentWSIAPContext.java deleted file mode 100644 index 2bf04d987..000000000 --- a/bundles/org.eclipse.wst.ws.ui/src/org/eclipse/wst/ws/internal/ui/wsi/preferences/PersistentWSIAPContext.java +++ /dev/null @@ -1,43 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2000, 2005 IBM Corporation 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: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -package org.eclipse.wst.ws.internal.ui.wsi.preferences; - -import org.eclipse.core.runtime.QualifiedName; -import org.eclipse.wst.ws.internal.ui.plugin.WSUIPlugin; - - - -public class PersistentWSIAPContext extends PersistentWSIContext -{ - private static final String NON_WSI_AP_COMPLIANCE = "nonWSIAPCompliance"; - -public PersistentWSIAPContext () -{ - super(); - non_wsi_compliance = NON_WSI_AP_COMPLIANCE; - name = new QualifiedName(WSUIPlugin.ID , non_wsi_compliance); - wsiWarning_ = "WSI_AP_WARNING"; - wsiError_ = "WSI_AP_ERROR"; -} - -public String getPersistentWSICompliance () -{ - String property = getValueAsString(non_wsi_compliance); - // default to Ignore if no init has been done from ini file - if (property == null || property.equals("")) { - setValue( non_wsi_compliance, IGNORE_NON_WSI); - return IGNORE_NON_WSI; - } - else - return property; -} -} |