mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
[lvcs] mark classes internal
GitOrigin-RevId: 457fc5cf6deb4e3702f5d31b1925bf088659621c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
de57572948
commit
b7e2b4b214
@@ -553,7 +553,6 @@ c:com.intellij.history.integration.ui.models.DirectoryHistoryDialogModel
|
||||
- p:createChange(com.intellij.history.core.revisions.Difference):com.intellij.history.integration.ui.views.DirectoryChange
|
||||
- createReverter():com.intellij.history.integration.revertion.Reverter
|
||||
- createRevisionReverter(java.util.List):com.intellij.history.integration.revertion.Reverter
|
||||
- getKind():com.intellij.platform.lvcs.impl.statistics.LocalHistoryCounter$Kind
|
||||
f:com.intellij.history.integration.ui.models.EntireFileDifferenceModel
|
||||
- com.intellij.history.integration.ui.models.FileDifferenceModel
|
||||
- <init>(com.intellij.openapi.project.Project,com.intellij.history.integration.IdeaGateway,com.intellij.history.core.tree.Entry,com.intellij.history.core.tree.Entry,Z):V
|
||||
@@ -584,7 +583,6 @@ a:com.intellij.history.integration.ui.models.FileHistoryDialogModel
|
||||
- createReverter():com.intellij.history.integration.revertion.Reverter
|
||||
- filterContents(java.lang.String):java.util.Set
|
||||
- a:getDifferenceModel():com.intellij.history.integration.ui.models.FileDifferenceModel
|
||||
- getKind():com.intellij.platform.lvcs.impl.statistics.LocalHistoryCounter$Kind
|
||||
a:com.intellij.history.integration.ui.models.HistoryDialogModel
|
||||
- p:myBefore:Z
|
||||
- pf:myFile:com.intellij.openapi.vfs.VirtualFile
|
||||
@@ -772,7 +770,6 @@ c:com.intellij.history.integration.ui.views.SelectionHistoryDialogModel
|
||||
- createReverter():com.intellij.history.integration.revertion.Reverter
|
||||
- filterContents(java.lang.String):java.util.Set
|
||||
- getDifferenceModel():com.intellij.history.integration.ui.models.FileDifferenceModel
|
||||
- getKind():com.intellij.platform.lvcs.impl.statistics.LocalHistoryCounter$Kind
|
||||
a:com.intellij.history.utils.RunnableAdapter
|
||||
- java.lang.Runnable
|
||||
- <init>():V
|
||||
@@ -915,55 +912,6 @@ f:com.intellij.platform.lvcs.impl.ActivityScopeKt
|
||||
- f:getSelectedItems():java.util.List
|
||||
- hashCode():I
|
||||
- toString():java.lang.String
|
||||
a:com.intellij.platform.lvcs.impl.ChangeSetActivityItem
|
||||
- com.intellij.platform.lvcs.impl.ActivityItem
|
||||
- <init>(com.intellij.history.core.changes.ChangeSet):V
|
||||
- equals(java.lang.Object):Z
|
||||
- f:getActivityId():com.intellij.history.ActivityId
|
||||
- f:getId():J
|
||||
- a:getName():java.lang.String
|
||||
- getTimestamp():J
|
||||
- hashCode():I
|
||||
f:com.intellij.platform.lvcs.impl.ChangeSetActivityItemKt
|
||||
- sf:toActivityItem(com.intellij.history.core.changes.ChangeSet,com.intellij.platform.lvcs.impl.ActivityScope):com.intellij.platform.lvcs.impl.ActivityItem
|
||||
com.intellij.platform.lvcs.impl.ChangeSetSelection
|
||||
- a:getData():com.intellij.platform.lvcs.impl.ActivityData
|
||||
- a:getLeftItem():com.intellij.platform.lvcs.impl.ChangeSetActivityItem
|
||||
- a:getRightItem():com.intellij.platform.lvcs.impl.ChangeSetActivityItem
|
||||
f:com.intellij.platform.lvcs.impl.ChangeSetSelection$Interval
|
||||
- com.intellij.platform.lvcs.impl.ChangeSetSelection
|
||||
- <init>(com.intellij.platform.lvcs.impl.ChangeSetActivityItem,com.intellij.platform.lvcs.impl.ChangeSetActivityItem,com.intellij.platform.lvcs.impl.ActivityData):V
|
||||
- f:component1():com.intellij.platform.lvcs.impl.ChangeSetActivityItem
|
||||
- f:component2():com.intellij.platform.lvcs.impl.ChangeSetActivityItem
|
||||
- f:component3():com.intellij.platform.lvcs.impl.ActivityData
|
||||
- f:copy(com.intellij.platform.lvcs.impl.ChangeSetActivityItem,com.intellij.platform.lvcs.impl.ChangeSetActivityItem,com.intellij.platform.lvcs.impl.ActivityData):com.intellij.platform.lvcs.impl.ChangeSetSelection$Interval
|
||||
- bs:copy$default(com.intellij.platform.lvcs.impl.ChangeSetSelection$Interval,com.intellij.platform.lvcs.impl.ChangeSetActivityItem,com.intellij.platform.lvcs.impl.ChangeSetActivityItem,com.intellij.platform.lvcs.impl.ActivityData,I,java.lang.Object):com.intellij.platform.lvcs.impl.ChangeSetSelection$Interval
|
||||
- equals(java.lang.Object):Z
|
||||
- getData():com.intellij.platform.lvcs.impl.ActivityData
|
||||
- f:getLeftChangeSet():com.intellij.platform.lvcs.impl.ChangeSetActivityItem
|
||||
- getLeftItem():com.intellij.platform.lvcs.impl.ChangeSetActivityItem
|
||||
- f:getRightChangeSet():com.intellij.platform.lvcs.impl.ChangeSetActivityItem
|
||||
- getRightItem():com.intellij.platform.lvcs.impl.ChangeSetActivityItem
|
||||
- hashCode():I
|
||||
- toString():java.lang.String
|
||||
f:com.intellij.platform.lvcs.impl.ChangeSetSelection$Single
|
||||
- com.intellij.platform.lvcs.impl.ChangeSetSelection
|
||||
- <init>(com.intellij.platform.lvcs.impl.ChangeSetActivityItem,com.intellij.platform.lvcs.impl.ActivityData):V
|
||||
- f:component1():com.intellij.platform.lvcs.impl.ChangeSetActivityItem
|
||||
- f:component2():com.intellij.platform.lvcs.impl.ActivityData
|
||||
- f:copy(com.intellij.platform.lvcs.impl.ChangeSetActivityItem,com.intellij.platform.lvcs.impl.ActivityData):com.intellij.platform.lvcs.impl.ChangeSetSelection$Single
|
||||
- bs:copy$default(com.intellij.platform.lvcs.impl.ChangeSetSelection$Single,com.intellij.platform.lvcs.impl.ChangeSetActivityItem,com.intellij.platform.lvcs.impl.ActivityData,I,java.lang.Object):com.intellij.platform.lvcs.impl.ChangeSetSelection$Single
|
||||
- equals(java.lang.Object):Z
|
||||
- f:getChangeSet():com.intellij.platform.lvcs.impl.ChangeSetActivityItem
|
||||
- getData():com.intellij.platform.lvcs.impl.ActivityData
|
||||
- getLeftItem():com.intellij.platform.lvcs.impl.ChangeSetActivityItem
|
||||
- getRightItem():com.intellij.platform.lvcs.impl.ChangeSetActivityItem
|
||||
- hashCode():I
|
||||
- toString():java.lang.String
|
||||
f:com.intellij.platform.lvcs.impl.ChangeSetSelectionKt
|
||||
- sf:getLeftRevision(com.intellij.platform.lvcs.impl.ChangeSetSelection):com.intellij.platform.lvcs.impl.RevisionId
|
||||
- sf:getRightRevision(com.intellij.platform.lvcs.impl.ChangeSetSelection):com.intellij.platform.lvcs.impl.RevisionId
|
||||
- sf:toChangeSetSelection(com.intellij.platform.lvcs.impl.ActivitySelection):com.intellij.platform.lvcs.impl.ChangeSetSelection
|
||||
*e:com.intellij.platform.lvcs.impl.DirectoryDiffMode
|
||||
- java.lang.Enum
|
||||
- sf:WithLocal:com.intellij.platform.lvcs.impl.DirectoryDiffMode
|
||||
@@ -997,103 +945,6 @@ f:com.intellij.platform.lvcs.impl.RevisionId$Current
|
||||
- equals(java.lang.Object):Z
|
||||
- hashCode():I
|
||||
- toString():java.lang.String
|
||||
f:com.intellij.platform.lvcs.impl.RevisionIdKt
|
||||
- sf:getRevisionId(com.intellij.platform.lvcs.impl.ChangeSetActivityItem):com.intellij.platform.lvcs.impl.RevisionId
|
||||
f:com.intellij.platform.lvcs.impl.diff.EntryDiffContentKt
|
||||
- sf:createCurrentDiffContent(com.intellij.openapi.project.Project,com.intellij.history.integration.IdeaGateway,java.lang.String):com.intellij.diff.contents.DiffContent
|
||||
- sf:createCurrentDiffContent(com.intellij.openapi.project.Project,com.intellij.history.integration.IdeaGateway,java.lang.String,I,I):com.intellij.diff.contents.DiffContent
|
||||
- sf:createDiffContent(com.intellij.history.integration.IdeaGateway,com.intellij.history.core.tree.Entry,J,com.intellij.history.integration.ui.models.SelectionCalculator,com.intellij.history.integration.ui.models.RevisionProcessingProgress):com.intellij.diff.contents.DiffContent
|
||||
- sf:createDiffContent(com.intellij.openapi.project.Project,com.intellij.history.integration.IdeaGateway,com.intellij.history.core.tree.Entry):com.intellij.diff.contents.DiffContent
|
||||
f:com.intellij.platform.lvcs.impl.settings.ActivityViewApplicationSettings
|
||||
- com.intellij.openapi.components.SimplePersistentStateComponent
|
||||
- <init>():V
|
||||
- f:addListener(com.intellij.platform.lvcs.impl.settings.ActivityViewApplicationSettings$Listener,com.intellij.openapi.Disposable):V
|
||||
- f:getDiffMode():com.intellij.platform.lvcs.impl.DirectoryDiffMode
|
||||
- f:setDiffMode(com.intellij.platform.lvcs.impl.DirectoryDiffMode):V
|
||||
com.intellij.platform.lvcs.impl.settings.ActivityViewApplicationSettings$Listener
|
||||
- java.util.EventListener
|
||||
- a:settingsChanged():V
|
||||
f:com.intellij.platform.lvcs.impl.settings.ActivityViewApplicationSettings$State
|
||||
- com.intellij.openapi.components.BaseState
|
||||
- <init>():V
|
||||
- f:getDiffMode():com.intellij.platform.lvcs.impl.DirectoryDiffMode
|
||||
- f:setDiffMode(com.intellij.platform.lvcs.impl.DirectoryDiffMode):V
|
||||
f:com.intellij.platform.lvcs.impl.statistics.LocalHistoryCounter
|
||||
- sf:INSTANCE:com.intellij.platform.lvcs.impl.statistics.LocalHistoryCounter
|
||||
- getGroup():com.intellij.internal.statistic.eventLog.EventLogGroup
|
||||
- f:logActionInvoked(com.intellij.platform.lvcs.impl.statistics.LocalHistoryCounter$ActionKind,com.intellij.platform.lvcs.impl.ActivityScope):V
|
||||
- f:logActionInvoked(com.intellij.platform.lvcs.impl.statistics.LocalHistoryCounter$ActionKind,com.intellij.platform.lvcs.impl.statistics.LocalHistoryCounter$Kind):V
|
||||
- f:logFilter(com.intellij.openapi.project.Project,com.intellij.platform.lvcs.impl.ActivityScope,kotlin.jvm.functions.Function0):java.lang.Object
|
||||
- f:logFilter(com.intellij.openapi.project.Project,com.intellij.platform.lvcs.impl.statistics.LocalHistoryCounter$Kind,kotlin.jvm.functions.Function0):java.lang.Object
|
||||
- f:logFilterUsed(com.intellij.platform.lvcs.impl.ActivityScope):V
|
||||
- f:logFilterUsed(com.intellij.platform.lvcs.impl.statistics.LocalHistoryCounter$Kind):V
|
||||
- f:logLoadDiff(com.intellij.openapi.project.Project,com.intellij.platform.lvcs.impl.ActivityScope,kotlin.jvm.functions.Function0):java.lang.Object
|
||||
- f:logLoadDiff(com.intellij.openapi.project.Project,com.intellij.platform.lvcs.impl.statistics.LocalHistoryCounter$Kind,kotlin.jvm.functions.Function0):java.lang.Object
|
||||
- f:logLoadItems(com.intellij.openapi.project.Project,com.intellij.platform.lvcs.impl.ActivityScope,kotlin.jvm.functions.Function0):java.lang.Object
|
||||
- f:logLoadItems(com.intellij.openapi.project.Project,com.intellij.platform.lvcs.impl.statistics.LocalHistoryCounter$Kind,kotlin.jvm.functions.Function0):java.lang.Object
|
||||
- f:logLocalHistoryOpened(com.intellij.platform.lvcs.impl.ActivityScope):V
|
||||
- f:logLocalHistoryOpened(com.intellij.platform.lvcs.impl.statistics.LocalHistoryCounter$Kind):V
|
||||
e:com.intellij.platform.lvcs.impl.statistics.LocalHistoryCounter$ActionKind
|
||||
- java.lang.Enum
|
||||
- sf:CreatePatch:com.intellij.platform.lvcs.impl.statistics.LocalHistoryCounter$ActionKind
|
||||
- sf:Diff:com.intellij.platform.lvcs.impl.statistics.LocalHistoryCounter$ActionKind
|
||||
- sf:RevertChanges:com.intellij.platform.lvcs.impl.statistics.LocalHistoryCounter$ActionKind
|
||||
- sf:RevertRevisions:com.intellij.platform.lvcs.impl.statistics.LocalHistoryCounter$ActionKind
|
||||
- s:getEntries():kotlin.enums.EnumEntries
|
||||
- s:valueOf(java.lang.String):com.intellij.platform.lvcs.impl.statistics.LocalHistoryCounter$ActionKind
|
||||
- s:values():com.intellij.platform.lvcs.impl.statistics.LocalHistoryCounter$ActionKind[]
|
||||
e:com.intellij.platform.lvcs.impl.statistics.LocalHistoryCounter$Kind
|
||||
- java.lang.Enum
|
||||
- sf:Directory:com.intellij.platform.lvcs.impl.statistics.LocalHistoryCounter$Kind
|
||||
- sf:File:com.intellij.platform.lvcs.impl.statistics.LocalHistoryCounter$Kind
|
||||
- sf:Files:com.intellij.platform.lvcs.impl.statistics.LocalHistoryCounter$Kind
|
||||
- sf:Recent:com.intellij.platform.lvcs.impl.statistics.LocalHistoryCounter$Kind
|
||||
- sf:Selection:com.intellij.platform.lvcs.impl.statistics.LocalHistoryCounter$Kind
|
||||
- s:getEntries():kotlin.enums.EnumEntries
|
||||
- s:valueOf(java.lang.String):com.intellij.platform.lvcs.impl.statistics.LocalHistoryCounter$Kind
|
||||
- s:values():com.intellij.platform.lvcs.impl.statistics.LocalHistoryCounter$Kind[]
|
||||
f:com.intellij.platform.lvcs.impl.ui.ActivityChangesBrowser
|
||||
- com.intellij.openapi.vcs.changes.ui.AsyncChangesBrowserBase
|
||||
- com.intellij.openapi.Disposable
|
||||
- <init>(com.intellij.openapi.project.Project,Z):V
|
||||
- dispose():V
|
||||
- getData(java.lang.String):java.lang.Object
|
||||
com.intellij.platform.lvcs.impl.ui.ActivityModelListener
|
||||
- java.util.EventListener
|
||||
- onDiffDataLoadingStarted():V
|
||||
- onDiffDataLoadingStopped(com.intellij.platform.lvcs.impl.ActivityDiffData):V
|
||||
- onFilteringStarted():V
|
||||
- onFilteringStopped(java.util.Set):V
|
||||
- onItemsLoadingStarted():V
|
||||
- onItemsLoadingStopped(com.intellij.platform.lvcs.impl.ActivityData):V
|
||||
- onSelectionChanged(com.intellij.platform.lvcs.impl.ActivitySelection):V
|
||||
f:com.intellij.platform.lvcs.impl.ui.ActivityService
|
||||
- <init>(kotlinx.coroutines.CoroutineScope):V
|
||||
- f:getCoroutineScope():kotlinx.coroutines.CoroutineScope
|
||||
f:com.intellij.platform.lvcs.impl.ui.ActivityToolWindow
|
||||
- sf:INSTANCE:com.intellij.platform.lvcs.impl.ui.ActivityToolWindow
|
||||
- sf:showTab(com.intellij.openapi.project.Project,com.intellij.ui.content.Content):V
|
||||
- f:showTab(com.intellij.openapi.project.Project,kotlin.jvm.functions.Function1):Z
|
||||
f:com.intellij.platform.lvcs.impl.ui.ActivityView
|
||||
- com.intellij.ui.components.JBPanel
|
||||
- com.intellij.openapi.Disposable
|
||||
- com.intellij.openapi.actionSystem.DataProvider
|
||||
- sf:Companion:com.intellij.platform.lvcs.impl.ui.ActivityView$Companion
|
||||
- <init>(com.intellij.openapi.project.Project,com.intellij.history.integration.IdeaGateway,com.intellij.platform.lvcs.impl.ActivityScope,Z):V
|
||||
- b:<init>(com.intellij.openapi.project.Project,com.intellij.history.integration.IdeaGateway,com.intellij.platform.lvcs.impl.ActivityScope,Z,I,kotlin.jvm.internal.DefaultConstructorMarker):V
|
||||
- dispose():V
|
||||
- f:getActivityScope():com.intellij.platform.lvcs.impl.ActivityScope
|
||||
- getData(java.lang.String):java.lang.Object
|
||||
- f:getPreferredFocusedComponent():javax.swing.JComponent
|
||||
- sf:isViewAvailable():Z
|
||||
- sf:isViewEnabled():Z
|
||||
- sf:showInDialog(com.intellij.openapi.project.Project,com.intellij.history.integration.IdeaGateway,com.intellij.platform.lvcs.impl.ActivityScope):V
|
||||
- sf:showInToolWindow(com.intellij.openapi.project.Project,com.intellij.history.integration.IdeaGateway,com.intellij.platform.lvcs.impl.ActivityScope):V
|
||||
f:com.intellij.platform.lvcs.impl.ui.ActivityView$Companion
|
||||
- f:isViewAvailable():Z
|
||||
- f:isViewEnabled():Z
|
||||
- f:showInDialog(com.intellij.openapi.project.Project,com.intellij.history.integration.IdeaGateway,com.intellij.platform.lvcs.impl.ActivityScope):V
|
||||
- f:showInToolWindow(com.intellij.openapi.project.Project,com.intellij.history.integration.IdeaGateway,com.intellij.platform.lvcs.impl.ActivityScope):V
|
||||
*f:com.intellij.platform.lvcs.impl.ui.ActivityViewDataKeys
|
||||
- sf:INSTANCE:com.intellij.platform.lvcs.impl.ui.ActivityViewDataKeys
|
||||
- f:getDIRECTORY_DIFF_MODE():com.intellij.openapi.actionSystem.DataKey
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
it/unimi/dsi/fastutil/ints/IntSet
|
||||
kotlin/jvm/internal/DefaultConstructorMarker
|
||||
|
||||
@@ -11,6 +11,7 @@ import com.intellij.history.integration.ui.views.DirectoryChange;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.vfs.VirtualFile;
|
||||
import com.intellij.platform.lvcs.impl.statistics.LocalHistoryCounter;
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.List;
|
||||
@@ -34,6 +35,7 @@ public class DirectoryHistoryDialogModel extends HistoryDialogModel {
|
||||
return new DifferenceReverter(myProject, myVcs, myGateway, diffs, getLeftRevision());
|
||||
}
|
||||
|
||||
@ApiStatus.Internal
|
||||
@Override
|
||||
public @NotNull LocalHistoryCounter.Kind getKind() {
|
||||
return LocalHistoryCounter.Kind.Directory;
|
||||
|
||||
@@ -1,18 +1,4 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
|
||||
package com.intellij.history.integration.ui.models;
|
||||
|
||||
@@ -25,6 +11,7 @@ import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.vfs.VirtualFile;
|
||||
import com.intellij.platform.lvcs.impl.statistics.LocalHistoryCounter;
|
||||
import com.intellij.util.containers.ContainerUtil;
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.Set;
|
||||
@@ -48,6 +35,7 @@ public abstract class FileHistoryDialogModel extends HistoryDialogModel {
|
||||
myBefore);
|
||||
}
|
||||
|
||||
@ApiStatus.Internal
|
||||
@Override
|
||||
public @NotNull LocalHistoryCounter.Kind getKind() {
|
||||
return LocalHistoryCounter.Kind.File;
|
||||
|
||||
@@ -1,18 +1,4 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
|
||||
package com.intellij.history.integration.ui.views;
|
||||
|
||||
@@ -24,6 +10,7 @@ import com.intellij.history.integration.ui.models.*;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.vfs.VirtualFile;
|
||||
import com.intellij.platform.lvcs.impl.statistics.LocalHistoryCounter;
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.Set;
|
||||
@@ -75,6 +62,7 @@ public class SelectionHistoryDialogModel extends FileHistoryDialogModel {
|
||||
return RevisionDataKt.filterContents(getCalculator(), filter);
|
||||
}
|
||||
|
||||
@ApiStatus.Internal
|
||||
@Override
|
||||
public @NotNull LocalHistoryCounter.Kind getKind() {
|
||||
return LocalHistoryCounter.Kind.Selection;
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
@file:ApiStatus.Internal
|
||||
|
||||
package com.intellij.platform.lvcs.impl
|
||||
|
||||
import com.intellij.history.ActivityId
|
||||
@@ -8,7 +10,9 @@ import com.intellij.history.integration.CommonActivity
|
||||
import com.intellij.history.integration.LocalHistoryBundle
|
||||
import com.intellij.openapi.util.NlsContexts
|
||||
import com.intellij.openapi.util.NlsSafe
|
||||
import org.jetbrains.annotations.ApiStatus
|
||||
|
||||
@ApiStatus.Internal
|
||||
abstract class ChangeSetActivityItem(changeSet: ChangeSet) : ActivityItem {
|
||||
override val timestamp: Long = changeSet.timestamp
|
||||
val id = changeSet.id
|
||||
@@ -24,6 +28,8 @@ abstract class ChangeSetActivityItem(changeSet: ChangeSet) : ActivityItem {
|
||||
override fun hashCode(): Int = id.hashCode()
|
||||
}
|
||||
|
||||
val ChangeSetActivityItem?.revisionId: RevisionId get() = if (this != null) RevisionId.ChangeSet(id) else RevisionId.Current
|
||||
|
||||
internal class ChangeActivityItem(changeSet: ChangeSet, scope: ActivityScope) : ChangeSetActivityItem(changeSet) {
|
||||
override val name = getName(changeSet, scope)
|
||||
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.platform.lvcs.impl
|
||||
|
||||
import com.intellij.history.core.LocalHistoryFacade
|
||||
import org.jetbrains.annotations.ApiStatus
|
||||
|
||||
@ApiStatus.Internal
|
||||
sealed interface ChangeSetSelection {
|
||||
val data: ActivityData
|
||||
|
||||
@@ -22,10 +23,10 @@ sealed interface ChangeSetSelection {
|
||||
}
|
||||
}
|
||||
|
||||
val ChangeSetSelection.leftRevision: RevisionId get() = leftItem.revisionId
|
||||
val ChangeSetSelection.rightRevision: RevisionId get() = rightItem.revisionId
|
||||
internal val ChangeSetSelection.leftRevision: RevisionId get() = leftItem.revisionId
|
||||
internal val ChangeSetSelection.rightRevision: RevisionId get() = rightItem.revisionId
|
||||
|
||||
fun ActivitySelection.toChangeSetSelection(): ChangeSetSelection? {
|
||||
internal fun ActivitySelection.toChangeSetSelection(): ChangeSetSelection? {
|
||||
if (selectedItems.isEmpty()) return null
|
||||
if (selectedItems.size == 1) {
|
||||
val selectedActivityItem = selectedItems.single()
|
||||
|
||||
@@ -4,6 +4,4 @@ package com.intellij.platform.lvcs.impl
|
||||
sealed class RevisionId {
|
||||
data object Current : RevisionId()
|
||||
data class ChangeSet(val id: Long) : RevisionId()
|
||||
}
|
||||
|
||||
val ChangeSetActivityItem?.revisionId: RevisionId get() = if (this != null) RevisionId.ChangeSet(id) else RevisionId.Current
|
||||
}
|
||||
@@ -1,4 +1,6 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
@file:ApiStatus.Internal
|
||||
|
||||
package com.intellij.platform.lvcs.impl.diff
|
||||
|
||||
import com.intellij.diff.DiffContentFactory
|
||||
@@ -13,6 +15,7 @@ import com.intellij.openapi.application.runReadAction
|
||||
import com.intellij.openapi.project.Project
|
||||
import com.intellij.openapi.util.TextRange
|
||||
import com.intellij.platform.lvcs.impl.RevisionId
|
||||
import org.jetbrains.annotations.ApiStatus
|
||||
|
||||
fun createDiffContent(project: Project?, gateway: IdeaGateway, e: Entry): DiffContent {
|
||||
val content = e.content.getBytes()
|
||||
|
||||
@@ -8,7 +8,7 @@ import com.intellij.util.EventDispatcher
|
||||
import java.util.*
|
||||
|
||||
@State(name = "Lvcs.Activity.App.Settings", storages = [Storage("lvcs.xml")], category = SettingsCategory.UI)
|
||||
class ActivityViewApplicationSettings : SimplePersistentStateComponent<ActivityViewApplicationSettings.State>(State()) {
|
||||
internal class ActivityViewApplicationSettings : SimplePersistentStateComponent<ActivityViewApplicationSettings.State>(State()) {
|
||||
private val eventDispatcher = EventDispatcher.create(Listener::class.java)
|
||||
|
||||
class State : BaseState() {
|
||||
|
||||
@@ -8,7 +8,7 @@ import com.intellij.internal.statistic.service.fus.collectors.CounterUsagesColle
|
||||
import com.intellij.openapi.project.Project
|
||||
import com.intellij.platform.lvcs.impl.ActivityScope
|
||||
|
||||
object LocalHistoryCounter : CounterUsagesCollector() {
|
||||
internal object LocalHistoryCounter : CounterUsagesCollector() {
|
||||
private val GROUP: EventLogGroup = EventLogGroup("local.history.counter", 3)
|
||||
|
||||
private val KIND_FIELD = EventFields.Enum<Kind>("kind")
|
||||
|
||||
@@ -24,7 +24,7 @@ import java.awt.event.ActionListener
|
||||
import java.util.Comparator.comparing
|
||||
import javax.swing.tree.DefaultTreeModel
|
||||
|
||||
class ActivityChangesBrowser(project: Project, private val isSwitchingDiffModeAllowed: Boolean) : AsyncChangesBrowserBase(project, false, false), Disposable {
|
||||
internal class ActivityChangesBrowser(project: Project, private val isSwitchingDiffModeAllowed: Boolean) : AsyncChangesBrowserBase(project, false, false), Disposable {
|
||||
private var diffData: ActivityDiffData? = null
|
||||
|
||||
init {
|
||||
|
||||
@@ -18,7 +18,7 @@ import com.intellij.ui.content.Content
|
||||
import com.intellij.ui.content.ContentManagerEvent
|
||||
import com.intellij.ui.content.ContentManagerListener
|
||||
|
||||
object ActivityToolWindow {
|
||||
internal object ActivityToolWindow {
|
||||
private const val TOOLWINDOW_ID: String = "Activity" // NON-NLS
|
||||
|
||||
@JvmStatic
|
||||
|
||||
@@ -42,6 +42,7 @@ import com.intellij.util.ui.table.ComponentsListFocusTraversalPolicy
|
||||
import com.intellij.vcs.ui.ProgressStripe
|
||||
import kotlinx.coroutines.CoroutineScope
|
||||
import kotlinx.coroutines.cancel
|
||||
import org.jetbrains.annotations.ApiStatus
|
||||
import java.awt.BorderLayout
|
||||
import java.awt.Component
|
||||
import java.awt.event.KeyEvent
|
||||
@@ -51,6 +52,7 @@ import javax.swing.ScrollPaneConstants
|
||||
import javax.swing.event.DocumentEvent
|
||||
import javax.swing.text.JTextComponent
|
||||
|
||||
@ApiStatus.Internal
|
||||
class ActivityView(private val project: Project, gateway: IdeaGateway, val activityScope: ActivityScope,
|
||||
private val isFrameDiffPreview: Boolean = false) :
|
||||
JBPanel<ActivityView>(BorderLayout()), DataProvider, Disposable {
|
||||
@@ -376,7 +378,7 @@ class ActivityView(private val project: Project, gateway: IdeaGateway, val activ
|
||||
}
|
||||
|
||||
@Service(Service.Level.PROJECT)
|
||||
class ActivityService(val coroutineScope: CoroutineScope)
|
||||
internal class ActivityService(val coroutineScope: CoroutineScope)
|
||||
|
||||
private fun dumbAwareAction(runnable: () -> Unit): DumbAwareAction {
|
||||
return object : DumbAwareAction() {
|
||||
|
||||
@@ -120,7 +120,7 @@ internal class ActivityViewModel(private val project: Project, gateway: IdeaGate
|
||||
}
|
||||
}
|
||||
|
||||
interface ActivityModelListener : EventListener {
|
||||
internal interface ActivityModelListener : EventListener {
|
||||
fun onItemsLoadingStarted() = Unit
|
||||
fun onItemsLoadingStopped(data: ActivityData) = Unit
|
||||
fun onSelectionChanged(selection: ActivitySelection?) = Unit
|
||||
|
||||
Reference in New Issue
Block a user