sdk icon indicating copy to clipboard operation
sdk copied to clipboard

Minor: position attribute for layer registration

Open Relic724 opened this issue 11 years ago • 3 comments

Hi guys,

I was gonna try to just give Normen the heads up on this on a pm over at the forums, but er... that's out, at the moment, I don't know his email, and it's not really big enough to start a topic over.

I think that by adding the good ol' <attr name="position" intvalue="9001" /> tag into the various spots in the layer.xml files should get rid of these two warnings while building modules for the netbeans/jme3 sdk. The intvalue might affect ordering.

It's just something that I noticed and now have enough knowledge to offer a fix.

screenshot

And the minor warnings are: WARNING [org.openide.filesystems.Ordering]: Not all children in Menu/Tools/ marked with the position attribute: [NiftyGUI, OgreXML, Textures], but some are: [org-openide-actions-ToolsAction.shadow, I18N, Separator1.instance, JavaPlatformsCustomizerAction.shadow, VariablesCustomizerAction.shadow, LibrariesCustomizerAction.shadow, org-netbeans-modules-favorites-templates-TemplatesAction.shadow, org-netbeans-modules-xml-catalog-CatalogAction.shadow, PaletteManager, Separator2.instance, org-netbeans-modules-autoupdate-ui-actions-PluginManagerAction.shadow, org-netbeans-modules-options-OptionsWindowAction-separatorBefore.instance, org-netbeans-modules-options-OptionsWindowAction.shadow] WARNING [org.openide.filesystems.Ordering]: Not all children in Menu/Window/ marked with the position attribute: [AssetPackBrowserAction.shadow, MaterialEditorAction.shadow, SceneExplorerAction.shadow, SceneViewerAction.shadow, com-jme3-gde-core-appstates-AppStateExplorerTopComponent.shadow, com-jme3-gde-core-filters-FilterExplorerTopComponent.shadow, com-jme3-gde-welcome-WelcomeScreenTopComponent.shadow], but some are: [org-netbeans-modules-project-ui-logical-tab-action.shadow, org-netbeans-modules-project-ui-physical-tab-action.shadow, org-netbeans-modules-favorites-View.shadow, org-netbeans-core-ide-ServicesTabAction.shadow, org-netbeans-modules-tasklist-ui-TaskListAction.shadow, ShowPaletteAction.shadow, org-netbeans-core-windows-actions-GlobalPropertiesAction.shadow, Output, Navigator, Debug, Versioning, Other, Web, SwitchToRecentDocumentAction.shadow, ProgressListAction.shadow, Separator3.instance, ConfigureWindow, org-netbeans-core-windows-actions-ResetWindowsAction.shadow, Separator4.instance, CloseWindowAction.shadow, CloseAllDocumentsAction.shadow, CloseAllButThisAction.shadow, DocumentsAction.shadow]

Relic724 avatar Dec 12 '14 23:12 Relic724

Perhaps you can make a pull request instead? I'll assign Normen to it but he's quite busy these days.

shadowislord avatar Dec 12 '14 23:12 shadowislord

pull... request..? eeek!

LOL, ok. I'll go ahead and learn how to do this strange new thing (for me). Meh, it's something new, but I'll need to learn how to do it eventually, anyways.

Relic724 avatar Dec 13 '14 00:12 Relic724

I'm not able to compile the SDK in Netbeans. I may not have it configured correctly... thus, I can't actually test it. So, at my level of knowledge, it might not be wise for me to do a pull request.

I do however have the suggested edits on a quick youtube vid showing the locations and logic. The suggested fix vid: http://youtu.be/QmsNuWu2xaA

If you can give me a heads up on how to correct my installation, i would LOVE it. Just tell me the information you need from me for troubleshooting this or handy tips that I might be doing wrong, and I'll be able to try a pull request.

Relic724 avatar Dec 13 '14 06:12 Relic724