Skip to content

Commit

Permalink
Merge branch 'release/v1.0.2-223' into zowe-release/v1.0.2-223
Browse files Browse the repository at this point in the history
Signed-off-by: Uladzislau <[email protected]>
  • Loading branch information
KUGDev committed May 18, 2023
2 parents b08887e + 7b08251 commit 78ba7aa
Show file tree
Hide file tree
Showing 12 changed files with 9 additions and 37 deletions.
16 changes: 8 additions & 8 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ apply(plugin = "org.jetbrains.intellij")
apply(from = "gradle/sonar.gradle")

group = "org.zowe"
version = "1.0.2-221"
version = "1.0.2-223"
val remoteRobotVersion = "0.11.18"

repositories {
Expand All @@ -53,8 +53,8 @@ repositories {
}

java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

dependencies {
Expand All @@ -80,23 +80,23 @@ dependencies {
}

intellij {
version.set("2022.1")
version.set("2022.3")
}

tasks {
withType<KotlinCompile> {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_11.toString()
jvmTarget = JavaVersion.VERSION_17.toString()
languageVersion = org.jetbrains.kotlin.config.LanguageVersion.LATEST_STABLE.versionString
}
}

patchPluginXml {
sinceBuild.set("221.5080")
untilBuild.set("222.*")
sinceBuild.set("223.7571")
untilBuild.set("223.*")
changeNotes.set(
"""
<b>WARNING: </b> version 1.0 introduces breaking change. You won't be able to use the plugin with IntelliJ version less than 2022.1
<b>WARNING: </b> version 1.0 introduces breaking change. You won't be able to use the plugin with IntelliJ version less than 2022.3
<br>
<br>
<b>New features:</b>
Expand Down
18 changes: 0 additions & 18 deletions src/main/kotlin/org/zowe/explorer/editor/MFPastePreprocessor.kt
Original file line number Diff line number Diff line change
Expand Up @@ -43,24 +43,6 @@ class MFPastePreprocessor : CopyPastePostProcessor<TextBlockTransferableData>()
return DATA_FLAVOR
}

// This function is not needed to be overridden since v1.0.2-223
@ApiStatus.ScheduledForRemoval(inVersion = "2.0.0")
override fun getOffsetCount(): Int {
return 0
}

// This function is not needed to be overridden since v1.0.2-223
@ApiStatus.ScheduledForRemoval(inVersion = "2.0.0")
override fun getOffsets(offsets: IntArray?, index: Int): Int {
return index
}

// This function is not needed to be overridden since v1.0.2-223
@ApiStatus.ScheduledForRemoval(inVersion = "2.0.0")
override fun setOffsets(offsets: IntArray?, index: Int): Int {
return index
}

companion object {
private val DATA_FLAVOR = DataFlavor(MFPastePreprocessor::class.java, "class: ChangeContentByPasteAction")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import org.zowe.explorer.dataops.getAttributesService
import org.zowe.explorer.dataops.operations.*
import org.zowe.explorer.explorer.FilesWorkingSet
import org.zowe.explorer.explorer.ui.*
import org.zowe.explorer.utils.service // TODO: remove in 1.0.2-223 and greater
import org.zowe.explorer.vfs.MFVirtualFile

/** Class that represents "Add member" action */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ import org.zowe.explorer.explorer.ui.*
import org.zowe.explorer.utils.castOrNull
import org.zowe.explorer.utils.clone
import org.zowe.explorer.utils.crudable.getByUniqueKey
import org.zowe.explorer.utils.service // TODO: remove in 1.0.2-223 and greater
import org.zowe.kotlinsdk.*

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import org.zowe.explorer.dataops.attributes.*
import org.zowe.explorer.explorer.ui.FILE_EXPLORER_VIEW
import org.zowe.explorer.explorer.ui.FileExplorerView
import org.zowe.explorer.utils.sendTopic
import org.zowe.explorer.utils.service // TODO: remove in 1.0.2-223 and greater
import org.zowe.explorer.vfs.MFVirtualFile
import org.zowe.kotlinsdk.XIBMDataType

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import org.zowe.explorer.dataops.operations.UssChangeModeOperation
import org.zowe.explorer.dataops.operations.UssChangeModeParams
import org.zowe.explorer.explorer.ui.*
import org.zowe.explorer.utils.castOrNull
import org.zowe.explorer.utils.service // TODO: remove in 1.0.2-223 and greater
import org.zowe.explorer.vfs.MFVirtualFile
import org.zowe.kotlinsdk.ChangeMode
import org.zowe.kotlinsdk.FileType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import org.zowe.explorer.dataops.operations.jobs.PurgeJobOperation
import org.zowe.explorer.explorer.ui.*
import org.zowe.explorer.ui.build.jobs.JOBS_LOG_VIEW
import org.zowe.explorer.ui.build.jobs.JobBuildTreeView
import org.zowe.explorer.utils.service // TODO: remove in 1.0.2-223 and greater
import org.zowe.kotlinsdk.ExecData
import org.zowe.kotlinsdk.JESApi
import org.zowe.kotlinsdk.Job
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import org.zowe.explorer.explorer.FilesWorkingSet
import org.zowe.explorer.explorer.ui.*
import org.zowe.explorer.utils.clone
import org.zowe.explorer.utils.crudable.getByUniqueKey
import org.zowe.explorer.utils.service // TODO: remove in 1.0.2-223 and greater

/**
* Class which represents a rename action
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import org.zowe.explorer.explorer.Explorer
import org.zowe.explorer.explorer.UIComponentManager
import org.zowe.explorer.utils.isBeingEditingNow
import org.zowe.explorer.utils.runWriteActionInEdtAndWait
import org.zowe.explorer.utils.service // TODO: remove in 1.0.2-223 and greater
import org.zowe.explorer.vfs.MFVirtualFile
import javax.swing.tree.TreePath

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ class ExplorerWindowFactory : ToolWindowFactory, DumbAware {
}

override fun createToolWindowContent(project: Project, toolWindow: ToolWindow) {
// TODO: ContentFactory.SERVICE.getInstance() -> ContentFactory.getInstance() in new versions of the plugin
val contentFactory = ContentFactory.SERVICE.getInstance()
val contentFactory = ContentFactory.getInstance()
UIComponentManager.INSTANCE.getExplorerContentProviders<Explorer<*>>().forEach {
val content = contentFactory
.createContent(it.buildExplorerContent(toolWindow.disposable, project), it.displayName, it.isLockable)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ import org.zowe.explorer.explorer.Explorer
import org.zowe.explorer.explorer.FilesWorkingSet
import org.zowe.explorer.utils.getMinimalCommonParents
import org.zowe.explorer.utils.getParentsChain
import org.zowe.explorer.utils.service // TODO: remove in 1.0.2-223 and greater
import org.zowe.explorer.vfs.MFVirtualFile
import java.awt.Toolkit
import java.awt.datatransfer.DataFlavor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import org.zowe.explorer.dataops.attributes.RemoteDatasetAttributes
import org.zowe.explorer.dataops.attributes.RemoteMemberAttributes
import org.zowe.explorer.dataops.getAttributesService
import org.zowe.explorer.explorer.ExplorerUnit
import org.zowe.explorer.utils.service // TODO: remove in 1.0.2-223 and greater
import org.zowe.explorer.vfs.MFVirtualFile
import icons.ForMainframeIcons

Expand Down

0 comments on commit 78ba7aa

Please sign in to comment.