Skip to content

Commit

Permalink
version 2024.3 added
Browse files Browse the repository at this point in the history
  • Loading branch information
smklimenko committed Sep 19, 2024
1 parent 9599018 commit 45620b3
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 17 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# KdbInsideBrains Changelog

## [5.10.0]

### Changed

- Idea 2024.3 added into the supporting list with deprecated code refactoring

## [5.9.2]

### Fixed
Expand Down Expand Up @@ -824,7 +830,8 @@
- **Measure tool** - draw measuring rectangles on the chart with values diff: left mouse click to start, move, left
mouse click to finish.
Esc to cancel current drawing.
- **Points collector** - save any chart clicked values into the points' collector table with the ability to export or
- **Points collector** - save any chart clicked values into the points' collector table with the ability to export
or
send
into another KDB instance.

Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ org.gradle.caching=true
pluginId=KdbInsideBrains
pluginGroup=dev.kdbinsidebrains
pluginSinceBuild=223
pluginUntilBuild=242.*
pluginUntilBuild=243.*
pluginJavaVersion=17
# Plugin Verifier integration -> https://github.com/JetBrains/gradle-intellij-plugin#plugin-verifier-dsl
# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html for available build versions
# or https://jb.gg/intellij-platform-builds-list
pluginVerifierVersions=2022.3, 2022.3.3, 2023.1.1, 2023.2.5, 2023.3.7, 2024.1.5, 2024.2
pluginVerifierVersions=2022.3, 2022.3.3, 2023.1.1, 2023.2.5, 2023.3.7, 2024.1.5, 2024.2, 2024.3
platformType=IC
platformVersion=2024.2
platformPlugins=java, PsiViewer:242-SNAPSHOT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import com.intellij.openapi.actionSystem.*;
import com.intellij.openapi.actionSystem.ex.CustomComponentAction;
import com.intellij.openapi.actionSystem.impl.ActionToolbarImpl;
import com.intellij.openapi.actionSystem.impl.IdeaActionButtonLook;
import com.intellij.ui.JBColor;
import com.intellij.util.ui.JBUI;
Expand Down Expand Up @@ -32,13 +31,12 @@ public void actionPerformed(@NotNull AnActionEvent e) {
toolbar.setReservePlaceAutoPopupIcon(false);
toolbar.setMinimumButtonSize(JBUI.size(36, 30));
toolbar.setLayoutPolicy(ActionToolbar.NOWRAP_LAYOUT_POLICY);
if (toolbar instanceof ActionToolbarImpl t) {
t.setOpaque(false);
t.setBorder(JBUI.Borders.empty());
t.setActionButtonBorder(JBUI.Borders.empty());
// t.setCustomButtonLook(new RunWidgetButtonLook());
}
/*

final JComponent c = toolbar.getComponent();
c.setOpaque(false);
c.setBorder(JBUI.Borders.empty());

/*
toolbar.addListener(new ActionToolbarListener() {
@Override
public void actionsUpdated() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import com.intellij.openapi.CompositeDisposable;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.actionSystem.*;
import com.intellij.openapi.actionSystem.impl.ActionToolbarImpl;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.ide.CopyPasteManager;
import com.intellij.openapi.project.Project;
Expand Down Expand Up @@ -267,12 +266,13 @@ public void update(@NotNull AnActionEvent e) {
}
};

final ActionToolbarImpl toolbar = (ActionToolbarImpl) ActionManager.getInstance()
.createActionToolbar("KdbWatchPanelComboBox", new DefaultActionGroup(addToWatchesAction), true);
toolbar.setOpaque(false);
final ActionToolbar toolbar = ActionManager.getInstance().createActionToolbar("KdbWatchPanelComboBox", new DefaultActionGroup(addToWatchesAction), true);
toolbar.setReservePlaceAutoPopupIcon(false);
toolbar.setTargetComponent(getTree());
box.setExtension(toolbar);

final JComponent component = toolbar.getComponent();
component.setOpaque(false);
box.setExtension(component);

return box;
}
Expand Down
2 changes: 1 addition & 1 deletion version.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pluginVersion=5.9.2
pluginVersion=5.10.0

0 comments on commit 45620b3

Please sign in to comment.