TopComponent not running
"ruperty" <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <[email protected]> |
geertjan wrote:
> On 9-3-2017 21:19, ruperty wrote:
>
> >
> > Not sure where I'd start on that without rebuilding the entire project, as I don't know what the issue might be.
> >
> > The installer worked about 8 months ago, on Linux, but doesn't now. Something I've done recently is delete some of the menus, through XML Layer. Might that be an issue?
> >
>
> If you think that's the issue, why not show the code from the layer.xml
> file, instead of the TopComponent code?
>
I've no idea if that's the issue, that's why I am asking. It's just a suggestion, but it seems unlikely as all I did was make some menus hidden.
>
> Best of all would be if you'd put your application on GitHub or
> somewhere where someone can take a look at it, right now, pretty much
> impossible to help you, the code below isn't applicable at all since you
> point out that the application worked until your tweaked the layer.xml file.
>
That's not what I said. Lots of things have changed in 8 months. The layers thing is just one thing I have done recently.
By the application do you mean the installation package, i.e. the zip file. It's about 170Mb, for some reason even my code is only a few Mb.
I'm afraid I don't know a great deal about the Netbeans Platform. It seems total overkill for what I need but I was forced to use it when Netbeans ceased to support for my swing application a few years ago.
Here's layers.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.2//EN" "http://www.netbeans.org/dtds/filesystem-1_2.dtd">
<filesystem>
<folder name="Menu">
<file name="BuildProject_hidden"/>
<file name="Edit_hidden"/>
<file name="GoTo_hidden"/>
<file name="Refactoring_hidden"/>
<file name="RunProject_hidden"/>
<file name="Source_hidden"/>
<file name="Tools_hidden"/>
<file name="Versioning_hidden"/>
<folder name="View">
<file name="Separator3.instance_hidden"/>
<file name="ShowEditorOnlyAction.shadow_hidden"/>
<file name="org-netbeans-core-multiview-EditorsAction.instance_hidden"/>
<file name="org-netbeans-core-multiview-SplitAction.instance_hidden"/>
<file name="org-netbeans-core-windows-actions-ToolbarsListAction.shadow_hidden"/>
<file name="org-netbeans-modules-editor-NbCodeFoldingAction.instance_hidden"/>
<file name="org-netbeans-modules-project-ui-SyncEditorWithViewsAction.shadow_hidden"/>
<file name="org-netbeans-modules-versioning-core-ShowTextAnnotationsAction.shadow_hidden"/>
<file name="org-netbeans-modules-versioning-ui-diff-ShowDiffSidebarAction.shadow_hidden"/>
<file name="toggle-breadcrumbs-view.shadow_hidden"/>
<file name="toggle-line-numbers.shadow_hidden"/>
<file name="toggle-lines-view.shadow_hidden"/>
<file name="toggle-non-printable-characters.shadow_hidden"/>
<file name="toggle-toolbar.shadow_hidden"/>
</folder>
</folder>
<folder name="Windows2">
<folder name="Modes">
<file name="bottomSlidingSide.wsmode" url="bottomSlidingSideWsmode.xml"/>
<file name="editor.wsmode" url="editorWsmode.xml"/>
<file name="explorer.wsmode" url="explorerWsmode.xml"/>
<file name="leftSlidingSide.wsmode" url="leftSlidingSideWsmode.xml"/>
<file name="output.wsmode" url="outputWsmode.xml"/>
<file name="properties.wsmode" url="propertiesWsmode.xml"/>
<file name="rightSlidingSide.wsmode" url="rightSlidingSideWsmode.xml"/>
<file name="topSlidingSide.wsmode" url="topSlidingSideWsmode.xml"/>
</folder>
</folder>
</filesystem>