Skip to content
Open
Show file tree
Hide file tree
Changes from 92 commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
f4bec3d
Add options to dock/float views in preferences
sol695510 Apr 30, 2025
205236d
Requested changes
sol695510 Jun 27, 2025
5696ca1
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Jun 27, 2025
72df323
Update genfiles.properties
sol695510 Jun 30, 2025
1cca81f
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Jul 7, 2025
5092446
Update AbstractTopComponent.java
sol695510 Jul 16, 2025
b9498d4
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Jul 25, 2025
866c1d7
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Aug 6, 2025
2236ed2
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Aug 11, 2025
91a1850
Update Bundle.properties
sol695510 Aug 11, 2025
966d9a3
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Aug 13, 2025
9263a03
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Aug 28, 2025
cf9e9ac
Fix SonarQube issues
sol695510 Sep 2, 2025
335f939
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Sep 10, 2025
2cce67e
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Sep 15, 2025
0f54f60
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Sep 17, 2025
528a47f
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Sep 22, 2025
64a52ab
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Oct 9, 2025
ad89b75
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Oct 13, 2025
03bcfc8
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Oct 20, 2025
a02fbe7
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Oct 27, 2025
b12c4f4
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Nov 11, 2025
7d39045
Rename classes
sol695510 Nov 12, 2025
cfa8e47
Create ViewOptionsPanelControllerNGTest.java
sol695510 Nov 12, 2025
0d641df
Update ViewOptionsPanelControllerNGTest.java
sol695510 Nov 12, 2025
b103d05
Update ViewOptionsPanelControllerNGTest.java
sol695510 Nov 12, 2025
e634c8a
Update ViewOptionsPanelControllerNGTest.java
sol695510 Nov 13, 2025
1b1cacb
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Nov 13, 2025
0bda403
Update ViewOptionsPanelControllerNGTest.java
sol695510 Nov 14, 2025
df177fc
Add Help page
sol695510 Nov 20, 2025
a09bd7a
Revert Help booleans
sol695510 Nov 20, 2025
868dc4d
Add requested changes
sol695510 Nov 20, 2025
ce898ff
Update whatsnew.txt
sol695510 Nov 20, 2025
7e7960a
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Nov 24, 2025
c0dee01
Move view floating preferences to View Framework and add lookup on Ab…
sol695510 Nov 24, 2025
1baecd4
Add setFloating to topcomponents missing it
sol695510 Nov 25, 2025
1a0500a
Move getDefaultFloatingPreferences() to controller
sol695510 Nov 25, 2025
68d6f4e
Update ViewFloatingOptionsPanelControllerNGTest.java
sol695510 Nov 25, 2025
0d50e92
Rename classes
sol695510 Nov 25, 2025
725646d
Rename classes
sol695510 Nov 25, 2025
175bd54
Remove position from ServiceProvider
sol695510 Nov 25, 2025
8b8fee7
Update ViewOptionsPanelControllerNGTest.java
sol695510 Nov 25, 2025
bc49706
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Nov 26, 2025
e536dba
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Nov 26, 2025
2eb5307
Update HistogramTopComponent2.java
sol695510 Dec 1, 2025
2d0897c
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Dec 5, 2025
c48026c
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Dec 12, 2025
e99e1d5
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Dec 18, 2025
4b1c6e8
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Jan 18, 2026
3a0a0be
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Jan 20, 2026
ce2316f
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Jan 22, 2026
e22db54
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Feb 10, 2026
bbffa3b
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Feb 16, 2026
718cad4
Remove Welcome Page and What's New from the floating view preferences
sol695510 Feb 18, 2026
5a281f5
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Feb 18, 2026
46728b0
Update ViewOptionsPanelController.java
sol695510 Feb 18, 2026
73ac0d2
Add listener to check when views are floated or docked
sol695510 Feb 18, 2026
c4a8f0b
Update HistogramTopComponent2.java
sol695510 Feb 19, 2026
2ddac1c
Update AbstractTopComponent.java
sol695510 Feb 19, 2026
a602b4d
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Feb 23, 2026
a54d1e2
Move logic for floating top components
sol695510 Mar 10, 2026
f3c4f66
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Mar 10, 2026
35683c0
Update SimpleGraphTopComponent.java
sol695510 Mar 10, 2026
57c0d8b
Update AbstractTopComponent.java
sol695510 Mar 10, 2026
1467c19
Add functionality to save floating preferences to a file
sol695510 Mar 19, 2026
eea533e
Update DataAccessViewTopComponent.java
sol695510 Mar 19, 2026
1855de0
Update whatsnew.txt
sol695510 Mar 19, 2026
3c1ba26
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Mar 26, 2026
163ea10
Update ErrorReportTopComponent.java
sol695510 Mar 26, 2026
7ae2d57
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Apr 8, 2026
8c8e375
Update ViewOptionsPanelControllerNGTest.java
sol695510 Apr 22, 2026
43fd72e
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Apr 27, 2026
693bf79
Add file to save default floating preferences
sol695510 May 4, 2026
a08e045
Update help page
sol695510 May 7, 2026
f048553
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 May 7, 2026
9ed057c
Update view-preferences.md
sol695510 May 7, 2026
6fb09d1
Update PreferencesHelpProviderNGTest.java
sol695510 May 8, 2026
7e79db2
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 May 21, 2026
2d46ffd
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 May 26, 2026
0cce240
Update file location to save default floating preferences
sol695510 May 26, 2026
c1116b0
Fix code smells
sol695510 May 26, 2026
ffaf46c
Update ViewOptionsUtility.java
sol695510 May 28, 2026
6beab74
Fix tests for class ViewOptionsPanelController
sol695510 May 28, 2026
881af68
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 May 28, 2026
dbb4fb0
Create ViewOptionsPanelNGTest.java
sol695510 May 28, 2026
3305755
Fix resizing issue
sol695510 Jun 2, 2026
cd2ebbf
Restore FindView's original floating dimensions
sol695510 Jun 2, 2026
cfa2aad
Restore FindView's original floating location
sol695510 Jun 2, 2026
c887a4b
Fix FindView opening on correct window when using multiple displays
sol695510 Jun 2, 2026
9742dd3
Adjust sizing of side opening floating views
sol695510 Jun 2, 2026
4358390
Update AbstractTopComponent.java
sol695510 Jun 3, 2026
84d6851
Update whatsnew.txt
sol695510 Jun 3, 2026
c6751dc
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Jun 10, 2026
030fb8b
Add requested changes
sol695510 Jun 11, 2026
805a754
Merge branch 'master' into enhancement/docked-or-floated-pref
sol695510 Jun 11, 2026
b5f78b7
Add requested changes
sol695510 Jun 12, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CoreAlgorithmPlugins/nbproject/project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,14 @@
<specification-version>1.0</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>au.gov.asd.tac.constellation.views</code-name-base>
<build-prerequisite/>
<compile-dependency/>
<run-dependency>
<specification-version>1.0</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.netbeans.modules.settings</code-name-base>
<build-prerequisite/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,15 @@
import au.gov.asd.tac.constellation.plugins.templates.PluginTags;
import au.gov.asd.tac.constellation.plugins.templates.SimpleEditPlugin;
import au.gov.asd.tac.constellation.utilities.color.ConstellationColor;
import au.gov.asd.tac.constellation.views.AbstractTopComponent;
import java.awt.Component;
import java.awt.Container;
import java.awt.event.ComponentEvent;
import java.awt.event.ComponentListener;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.Future;
import javax.swing.ScrollPaneConstants;
Expand All @@ -57,6 +58,7 @@
import org.openide.util.LookupListener;
import org.openide.util.NbBundle.Messages;
import org.openide.util.Utilities;
import org.openide.util.lookup.ServiceProvider;
import org.openide.windows.TopComponent;

/**
Expand Down Expand Up @@ -91,7 +93,8 @@
"CTL_HierarchicalControllerTopComponent=Hierarchical",
"HINT_HierarchicalControllerTopComponent=Use this window to view communities of interest in the graph"
})
public final class HierarchicalControllerTopComponent extends TopComponent implements LookupListener, GraphChangeListener {
@ServiceProvider(service = AbstractTopComponent.class)
public final class HierarchicalControllerTopComponent extends AbstractTopComponent implements LookupListener, GraphChangeListener {

private static final String INFO_STRING = "%s clusters";
private static final String TOGGLE_DISABLED = "Toggle Interactive: Disabled";
Expand Down Expand Up @@ -704,6 +707,26 @@ private void setNode(final GraphNode node) {
setGroups(false);
}

@Override
protected void initContent() {
// Required for AbstractTopComponent, intentionally left blank.
}

@Override
protected Object createContent() {
return nestedDiagramScrollPane;
}

@Override
public Map<String, Boolean> getDefaultFloatingPreference() {
return Map.of(Bundle.CTL_HierarchicalControllerTopComponent(), Boolean.FALSE);
}

@Override
protected String getModeName() {
return "output";
}

@PluginInfo(pluginType = PluginType.UPDATE, tags = {PluginTags.MODIFY})
public static final class ColorClusters extends SimpleEditPlugin {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
import au.gov.asd.tac.constellation.plugins.templates.PluginTags;
import au.gov.asd.tac.constellation.plugins.templates.SimpleEditPlugin;
import au.gov.asd.tac.constellation.utilities.color.ConstellationColor;
import au.gov.asd.tac.constellation.views.AbstractTopComponent;
import java.awt.Component;
import java.awt.Container;
import java.awt.Dimension;
Expand All @@ -39,6 +40,7 @@
import java.awt.event.ComponentListener;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.Map;
import javax.swing.JComponent;
import javax.swing.JLabel;
import org.netbeans.api.settings.ConvertAsProperties;
Expand All @@ -52,11 +54,11 @@
import org.openide.util.LookupListener;
import org.openide.util.NbBundle.Messages;
import org.openide.util.Utilities;
import org.openide.util.lookup.ServiceProvider;
import org.openide.windows.TopComponent;

/**
* Top component which controls the display of k-trusses after running the
* k-truss plugin.
* Top component which controls the display of k-trusses after running the k-truss plugin.
*/
@ConvertAsProperties(
dtd = "-//au.gov.asd.tac.constellation.plugins.algorithms.clustering//KTruss//EN",
Expand Down Expand Up @@ -87,7 +89,8 @@
"CTL_KTrussControllerTopComponent=K-Truss",
"HINT_KTrussControllerTopComponent=K-Truss"
})
public final class KTrussControllerTopComponent extends TopComponent implements LookupListener, GraphChangeListener, ComponentListener {
@ServiceProvider(service = AbstractTopComponent.class)
public final class KTrussControllerTopComponent extends AbstractTopComponent implements LookupListener, GraphChangeListener, ComponentListener {

private static final String TOGGLE_DISABLED = "Toggle Interactive: Disabled";
private static final String TOGGLE_ENABLED = "Toggle Interactive: Enabled";
Expand Down Expand Up @@ -118,10 +121,10 @@ public KTrussControllerTopComponent() {
nestedPanelIsVisible = false;
updateInteractiveButton(interactiveButton.getText().equals(TOGGLE_DISABLED));
}

/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor.
* This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The
* content of this method is always regenerated by the Form Editor.
*/
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
Expand Down Expand Up @@ -600,8 +603,7 @@ private void setNode(final GraphNode node) {
}

/**
* We need to listen to the graph to know when a new KTrussState has been
* set.
* We need to listen to the graph to know when a new KTrussState has been set.
*
* @param evt The change event.
*/
Expand Down Expand Up @@ -792,6 +794,16 @@ private void selectOnGraph() {
PluginExecution.withPlugin(select).interactively(true).executeLater(graph);
}

@Override
protected void initContent() {
// Required for AbstractTopComponent, intentionally left blank.
}

@Override
protected Object createContent() {
return dp;
}

@PluginInfo(pluginType = PluginType.UPDATE, tags = {PluginTags.MODIFY})
public static final class RemoveOverlayColors extends SimpleEditPlugin {

Expand Down Expand Up @@ -1029,6 +1041,16 @@ void readProperties(final java.util.Properties p) {
// Required for @ConvertAsProperties, intentionally left blank
}

@Override
public Map<String, Boolean> getDefaultFloatingPreference() {
return Map.of(Bundle.CTL_KTrussControllerTopComponent(), Boolean.FALSE);
}

@Override
protected String getModeName() {
return "output";
}

@PluginInfo(pluginType = PluginType.UPDATE, tags = {PluginTags.MODIFY})
public static class KTrussCalculatePlugin extends SimpleEditPlugin {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import au.gov.asd.tac.constellation.graph.schema.visual.concept.VisualConcept;
import au.gov.asd.tac.constellation.plugins.parameters.PluginParameters;
import au.gov.asd.tac.constellation.utilities.javafx.JavafxStyleManager;
import au.gov.asd.tac.constellation.views.AbstractTopComponent;
import au.gov.asd.tac.constellation.views.JavaFxTopComponent;
import au.gov.asd.tac.constellation.views.analyticview.analytics.AnalyticPlugin;
import java.util.ArrayList;
Expand All @@ -35,6 +36,7 @@
import org.openide.awt.ActionReference;
import org.openide.awt.ActionReferences;
import org.openide.util.NbBundle.Messages;
import org.openide.util.lookup.ServiceProvider;
import org.openide.windows.TopComponent;

/**
Expand Down Expand Up @@ -66,8 +68,9 @@
"CTL_AnalyticViewTopComponent=Analytic View",
"HINT_AnalyticViewTopComponent=Analytic View"
})
@ServiceProvider(service = AbstractTopComponent.class)
public final class AnalyticViewTopComponent extends JavaFxTopComponent<AnalyticViewPane> {

private static final String ANALYTIC_VIEW_GRAPH_CHANGED_THREAD_NAME = "Analytic View Graph Changed Updater";
private final AnalyticViewPane analyticViewPane;
private final AnalyticViewController analyticController;
Expand Down Expand Up @@ -127,7 +130,7 @@ public AnalyticViewTopComponent() {
analyticViewPane.getConfigurationPane().updateSelectablePluginsParameters();
}
}));

refreshRunnable = () -> {
final List<Object> devNull = new ArrayList<>();
while (!queue.isEmpty()) {
Expand All @@ -140,7 +143,8 @@ public AnalyticViewTopComponent() {
}

/**
* This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
* This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The
* content of this method is always regenerated by the Form Editor.
*/
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
Expand Down Expand Up @@ -227,7 +231,7 @@ protected void componentShowing() {
analyticController.readState();
handleNewGraph(activeGraph);
}

@Override
protected void handleGraphChange(final GraphChangeEvent event) {
if (event == null) { // can be null at this point in time
Expand Down Expand Up @@ -257,4 +261,14 @@ protected void handleComponentClosed() {
super.handleComponentClosed();
analyticViewPane.reset();
}

@Override
public Map<String, Boolean> getDefaultFloatingPreference() {
return Map.of(Bundle.CTL_AnalyticViewTopComponent(), Boolean.FALSE);
}

@Override
protected String getModeName() {
return "explorer";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@
import au.gov.asd.tac.constellation.graph.node.GraphNode;
import au.gov.asd.tac.constellation.preferences.utilities.PreferenceUtilities;
import au.gov.asd.tac.constellation.utilities.javafx.JavafxStyleManager;
import au.gov.asd.tac.constellation.views.AbstractTopComponent;
import au.gov.asd.tac.constellation.views.JavaFxTopComponent;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.prefs.PreferenceChangeEvent;
import java.util.prefs.PreferenceChangeListener;
Expand All @@ -37,41 +39,32 @@
import org.openide.awt.UndoRedo;
import org.openide.util.NbBundle.Messages;
import org.openide.util.NbPreferences;
import org.openide.util.lookup.ServiceProvider;
import org.openide.windows.TopComponent;

/**
* This is the top component for Constellation's 'attribute editor' view. The
* attribute editor is a simple user interface which allows users to view and
* edit the values for any of the graph's attributes. Like many other
* Constellation views, its display corresponds to the current selection on the
* active graph. The attribute editor also facilitates the adding/removing and
* editing of attributes (as opposed to their values).
* This is the top component for Constellation's 'attribute editor' view. The attribute editor is a simple user
* interface which allows users to view and edit the values for any of the graph's attributes. Like many other
* Constellation views, its display corresponds to the current selection on the active graph. The attribute editor also
* facilitates the adding/removing and editing of attributes (as opposed to their values).
* <br>
* There are four main components to the editor:
* <ul>
* <li> The user interface, contained here, in {@link AttributeEditorPanel}, and
* {@link AttributeTitledPane}.
* </li><li> The data model, described in {@link AttributeState} and
* {@link AttributeData}, which is populated from the graph using
* {@link AttributeReader}.
* </li><li>
* {@link au.gov.asd.tac.constellation.views.attributeeditor.editors.AbstractEditorFactory.AbstractEditor}
* classes that describe how each type of attribute should be displayed and
* edited.
* </li><li>
* {@link au.gov.asd.tac.constellation.views.attributeeditor.editors.operations.EditOperation}
* classes that make changes to attributes and their values on the graph,
* usually through plugins.
* <li> The user interface, contained here, in {@link AttributeEditorPanel}, and {@link AttributeTitledPane}.
* </li><li> The data model, described in {@link AttributeState} and {@link AttributeData}, which is populated from the
* graph using {@link AttributeReader}.
* </li><li> {@link au.gov.asd.tac.constellation.views.attributeeditor.editors.AbstractEditorFactory.AbstractEditor}
* classes that describe how each type of attribute should be displayed and edited.
* </li><li> {@link au.gov.asd.tac.constellation.views.attributeeditor.editors.operations.EditOperation} classes that
* make changes to attributes and their values on the graph, usually through plugins.
* </li>
* </ul>
* Note that whilst the structure is to remain as above, the details of the last
* two components are to be significantly changed in the future. This will
* entail disentanglement of the GUI, the graph editing, and the representation
* of attributes.
* Note that whilst the structure is to remain as above, the details of the last two components are to be significantly
* changed in the future. This will entail disentanglement of the GUI, the graph editing, and the representation of
* attributes.
*
* @see AttributeEditorPanel
* @see
* au.gov.asd.tac.constellation.views.attributeeditor.editors.AbstractEditorFactory.AbstractEditor
* @see au.gov.asd.tac.constellation.views.attributeeditor.editors.AbstractEditorFactory.AbstractEditor
*/
@ConvertAsProperties(
dtd = "-//au.gov.asd.tac.constellation.views.attributeeditor//AttributeEditor//EN",
Expand Down Expand Up @@ -103,6 +96,7 @@
"CTL_AttributeEditorTopComponent=Attribute Editor",
"HINT_AttributeEditorTopComponent=Attribute Editor"
})
@ServiceProvider(service = AbstractTopComponent.class)
public final class AttributeEditorTopComponent extends JavaFxTopComponent<AttributeEditorPanel> implements GraphManagerListener, GraphChangeListener, UndoRedo.Provider, PreferenceChangeListener {

private static final String ATTRIBUTE_EDITOR_GRAPH_CHANGED_THREAD_NAME = "Attribute Editor Graph Changed Updater";
Expand Down Expand Up @@ -134,7 +128,6 @@ public AttributeEditorTopComponent() {
}
};


GraphManager.getDefault().addGraphManagerListener(AttributeEditorTopComponent.this);
newActiveGraph(GraphManager.getDefault().getActiveGraph());
initContent();
Expand All @@ -145,9 +138,8 @@ public Object[] getMoreData(final AttributeData attribute) {
}

/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor.
* This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The
* content of this method is always regenerated by the Form Editor.
*/
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
Expand All @@ -173,7 +165,7 @@ protected void handleComponentOpened() {
newActiveGraph(GraphManager.getDefault().getActiveGraph());

PreferenceUtilities.addPreferenceChangeListener(prefs.absolutePath(), this);

// Ensure that all the 'Show Empty' buttons are toggled on when panel
// is re-displayed
if (attributePanel != null) {
Expand Down Expand Up @@ -265,11 +257,21 @@ protected String createStyle() {
protected AttributeEditorPanel createContent() {
return attributePanel;
}

@Override
protected void handlePreferenceChange(final PreferenceChangeEvent event) {
if (reader != null) {
attributePanel.updateEditorPanel(reader.refreshAttributes(true));
}
}

@Override
public Map<String, Boolean> getDefaultFloatingPreference() {
return Map.of(Bundle.CTL_AttributeEditorTopComponent(), Boolean.FALSE);
}

@Override
protected String getModeName() {
return "explorer";
}
}
Loading
Loading