This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 247068 - Disabling of Mix.Editors.And.Views doesn't work
Summary: Disabling of Mix.Editors.And.Views doesn't work
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-12 12:48 UTC by arittner
Modified: 2014-09-12 12:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Shows the drag 'n drop from the editor mode to explorer mode (191.15 KB, image/png)
2014-09-12 12:48 UTC, arittner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description arittner 2014-09-12 12:48:18 UTC
Created attachment 149169 [details]
Shows the drag 'n drop from the editor mode to explorer mode

I've troubles with the option Mix.Editors.And.Views.Enabled=false

TopComponent that have been opened for the first time via "@TopComponent.OpenActionRegistration" could be moved to other "modes". If I restart the application, the component remains in the "Editor mode". But again I can create new instances and drag them to other "modes".

I use the default "New Window" template with on exception. I disable the preferredID in OpenActionRegistration to open multiple instances.

Example:

@ConvertAsProperties(
        dtd = "-//de.sepix.app.sxcustdirectory.ui//DragTest//EN",
        autostore = false
)
@TopComponent.Description(
        preferredID = "DragTestTopComponent",
        persistenceType = TopComponent.PERSISTENCE_ALWAYS
)
@TopComponent.Registration(mode = "editor", openAtStartup = false)
@ActionID(category = "Window", id = "de.sepix.app.sxcustdirectory.ui.DragTestTopComponent")
@ActionReference(path = "Menu/Window" /*, position = 333 */)
@TopComponent.OpenActionRegistration(
        displayName = "#CTL_DragTestAction"
)


Mix.Editors.And.Views.Enabled=false is set via branding in org-netbeans-core-windows.jar at \modules\org-netbeans-core-windows.jar\org\netbeans\core\windows\Bundle.properties

For my tests I've cleaned the Windows2Local folder.

The screenshot shows the situation (I hope)

br, josh.