mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
vcs: Removed unused classes/interfaces
Removed "VcsDataConstants", "Details", "LineProcessEventListenerAdapter", "BlockReloadingUtil"
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
/*
|
||||
* Copyright 2000-2011 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.intellij.openapi.vcs;
|
||||
|
||||
/**
|
||||
* @author irengrig
|
||||
* Date: 7/5/11
|
||||
* Time: 7:32 PM
|
||||
*/
|
||||
public interface Details<Id, Data> {
|
||||
void take(Id id, Data data) throws AlreadyDisposedException;
|
||||
Id getCurrentlySelected();
|
||||
|
||||
class AlreadyDisposedException extends Exception {}
|
||||
}
|
||||
@@ -1,38 +0,0 @@
|
||||
/*
|
||||
* Copyright 2000-2013 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.intellij.openapi.vcs;
|
||||
|
||||
import com.intellij.openapi.util.Key;
|
||||
|
||||
/**
|
||||
* Created with IntelliJ IDEA.
|
||||
* User: Irina.Chernushina
|
||||
* Date: 2/25/13
|
||||
* Time: 5:47 PM
|
||||
*/
|
||||
public class LineProcessEventListenerAdapter implements LineProcessEventListener {
|
||||
@Override
|
||||
public void onLineAvailable(String line, Key outputType) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processTerminated(int exitCode) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void startFailed(Throwable exception) {
|
||||
}
|
||||
}
|
||||
@@ -1,31 +0,0 @@
|
||||
/*
|
||||
* Copyright 2000-2009 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.intellij.openapi.vcs;
|
||||
|
||||
/**
|
||||
* @deprecated use {@link com.intellij.openapi.vcs.VcsDataKeys} instead
|
||||
*/
|
||||
@SuppressWarnings({"UnusedDeclaration"})
|
||||
public interface VcsDataConstants {
|
||||
String IO_FILE_ARRAY = VcsDataKeys.IO_FILE_ARRAY.getName();
|
||||
String IO_FILE = VcsDataKeys.IO_FILE.getName();
|
||||
String VCS_FILE_REVISION = VcsDataKeys.VCS_FILE_REVISION.getName();
|
||||
String VCS_FILE_REVISIONS = VcsDataKeys.VCS_FILE_REVISIONS.getName();
|
||||
String VCS_VIRTUAL_FILE = VcsDataKeys.VCS_VIRTUAL_FILE.getName();
|
||||
String FILE_PATH = VcsDataKeys.FILE_PATH.getName();
|
||||
String FILE_PATH_ARRAY = VcsDataKeys.FILE_PATH_ARRAY.getName();
|
||||
String FILE_HISTORY_PANEL = VcsDataKeys.FILE_HISTORY_PANEL.getName();
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
/*
|
||||
* Copyright 2000-2009 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.intellij.openapi.vcs.update;
|
||||
|
||||
import com.intellij.openapi.project.ex.ProjectManagerEx;
|
||||
|
||||
@Deprecated
|
||||
public class BlockReloadingUtil {
|
||||
private BlockReloadingUtil() {
|
||||
}
|
||||
|
||||
public static void block() {
|
||||
ProjectManagerEx.getInstanceEx().blockReloadingProjectOnExternalChanges();
|
||||
}
|
||||
|
||||
public static void unblock() {
|
||||
ProjectManagerEx.getInstanceEx().unblockReloadingProjectOnExternalChanges();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user