Skip to content
Snippets Groups Projects
Commit 545781da authored by Matej Kovár's avatar Matej Kovár
Browse files

changed openAtStart to false

parent 6b12ce29
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,7 @@ import org.openide.util.NbBundle.Messages; ...@@ -26,7 +26,7 @@ import org.openide.util.NbBundle.Messages;
//iconBase="SET/PATH/TO/ICON/HERE", //iconBase="SET/PATH/TO/ICON/HERE",
persistenceType = TopComponent.PERSISTENCE_ALWAYS persistenceType = TopComponent.PERSISTENCE_ALWAYS
) )
@TopComponent.Registration(mode = "editor", openAtStartup = true) @TopComponent.Registration(mode = "editor", openAtStartup = false)
@ActionID(category = "Window", id = "cz.fidentis.analyst.gui.CanvasTopComponent") @ActionID(category = "Window", id = "cz.fidentis.analyst.gui.CanvasTopComponent")
@ActionReference(path = "Menu/Window" /*, position = 333 */) @ActionReference(path = "Menu/Window" /*, position = 333 */)
@TopComponent.OpenActionRegistration( @TopComponent.OpenActionRegistration(
...@@ -44,10 +44,9 @@ public final class CanvasTopComponent extends TopComponent { ...@@ -44,10 +44,9 @@ public final class CanvasTopComponent extends TopComponent {
initComponents(); initComponents();
setName(Bundle.CTL_CanvasTopComponent()); setName(Bundle.CTL_CanvasTopComponent());
setToolTipText(Bundle.HINT_CanvasTopComponent()); setToolTipText(Bundle.HINT_CanvasTopComponent());
putClientProperty(TopComponent.PROP_CLOSING_DISABLED, Boolean.TRUE); //putClientProperty(TopComponent.PROP_CLOSING_DISABLED, Boolean.TRUE);
putClientProperty(TopComponent.PROP_DRAGGING_DISABLED, Boolean.TRUE); //putClientProperty(TopComponent.PROP_DRAGGING_DISABLED, Boolean.TRUE);
putClientProperty(TopComponent.PROP_UNDOCKING_DISABLED, Boolean.TRUE); //putClientProperty(TopComponent.PROP_UNDOCKING_DISABLED, Boolean.TRUE);
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment