update copyright
[fedora-idea.git] / xml / impl / src / com / intellij / javaee / ExternalResourceManagerEx.java
bloba9ecd067119c311291cd48759c5cba0a3d7b3cf8
1 /*
2 * Copyright 2000-2009 JetBrains s.r.o.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 package com.intellij.javaee;
18 import com.intellij.openapi.project.Project;
19 import org.jetbrains.annotations.NonNls;
20 import org.jetbrains.annotations.NotNull;
22 /**
23 * author: lesya
25 public abstract class ExternalResourceManagerEx extends ExternalResourceManager {
26 public static ExternalResourceManagerEx getInstanceEx(){
27 return (ExternalResourceManagerEx)getInstance();
30 public abstract void removeResource(String url, @NotNull Project project);
32 public abstract void addResource(@NonNls String url, @NonNls String location, @NotNull Project project);
34 public abstract String[] getAvailableUrls();
35 public abstract String[] getAvailableUrls(Project project);
37 public abstract void clearAllResources();
38 public abstract void clearAllResources(Project project);
40 public abstract void addIgnoredResource(String url);
41 public abstract void removeIgnoredResource(String url);
43 public abstract boolean isIgnoredResource(String url);
45 public abstract String[] getIgnoredResources();
47 public abstract void addExternalResourceListener(ExternalResourceListener listener);
49 public abstract void removeExternalResourceListener(ExternalResourceListener listener);