Skip to content

Commit 697a5f2

Browse files
authored
Assetbrowser (#506)
* initial commit * drag and drop working * drag and drop works for spatials and materials (somewhat) assetbrowser resizes correctly. * resizing previews actually use generated preview * resizing previews actually use generated preview * fixing material vs spatial drop clean up * fixing material vs spatial drop fix proper drop location in SceneViewer clean up * delete obsolete files * reverting changes to SceneComposer * hooking up delete * fixing a lot of the outstanding issues with AssetBrowser * a bit of formatting and fixing * tweaks * special handling of project path for gradle projects
1 parent a5616aa commit 697a5f2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+3199
-77
lines changed

jme3-assetbrowser/build.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- You may freely edit this file. See harness/README in the NetBeans platform -->
3+
<!-- for some information on what you could do (e.g. targets to override). -->
4+
<!-- If you delete this file and reopen the project it will be recreated. -->
5+
<project name="com.jme3.assetbrowser" default="netbeans" basedir=".">
6+
<description>Builds, tests, and runs the project com.jme3.assetbrowser.</description>
7+
<import file="nbproject/build-impl.xml"/>
8+
</project>

jme3-assetbrowser/manifest.mf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Manifest-Version: 1.0
2+
AutoUpdate-Show-In-Client: true
3+
OpenIDE-Module: com.jme3.gde.assetbrowser
4+
OpenIDE-Module-Localizing-Bundle: com/jme3/gde/assetbrowser/Bundle.properties
5+
OpenIDE-Module-Requires: org.openide.windows.WindowManager
6+
OpenIDE-Module-Specification-Version: 1.0
7+
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
*** GENERATED FROM project.xml - DO NOT EDIT ***
4+
*** EDIT ../build.xml INSTEAD ***
5+
-->
6+
<project name="com.jme3.gde.assetbrowser-impl" basedir="..">
7+
<fail message="Please build using Ant 1.7.1 or higher.">
8+
<condition>
9+
<not>
10+
<antversion atleast="1.7.1"/>
11+
</not>
12+
</condition>
13+
</fail>
14+
<property file="nbproject/private/suite-private.properties"/>
15+
<property file="nbproject/suite.properties"/>
16+
<fail unless="suite.dir">You must set 'suite.dir' to point to your containing module suite</fail>
17+
<property file="${suite.dir}/nbproject/private/platform-private.properties"/>
18+
<property file="${suite.dir}/nbproject/platform.properties"/>
19+
<macrodef name="property" uri="http://www.netbeans.org/ns/nb-module-project/2">
20+
<attribute name="name"/>
21+
<attribute name="value"/>
22+
<sequential>
23+
<property name="@{name}" value="${@{value}}"/>
24+
</sequential>
25+
</macrodef>
26+
<macrodef name="evalprops" uri="http://www.netbeans.org/ns/nb-module-project/2">
27+
<attribute name="property"/>
28+
<attribute name="value"/>
29+
<sequential>
30+
<property name="@{property}" value="@{value}"/>
31+
</sequential>
32+
</macrodef>
33+
<property file="${user.properties.file}"/>
34+
<nbmproject2:property name="harness.dir" value="nbplatform.${nbplatform.active}.harness.dir" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
35+
<nbmproject2:property name="nbplatform.active.dir" value="nbplatform.${nbplatform.active}.netbeans.dest.dir" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
36+
<nbmproject2:evalprops property="cluster.path.evaluated" value="${cluster.path}" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
37+
<fail message="Path to 'platform' cluster missing in $${cluster.path} property or using corrupt Netbeans Platform (missing harness).">
38+
<condition>
39+
<not>
40+
<contains string="${cluster.path.evaluated}" substring="platform"/>
41+
</not>
42+
</condition>
43+
</fail>
44+
<import file="${harness.dir}/build.xml"/>
45+
</project>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
build.xml.data.CRC32=9efa5489
2+
build.xml.script.CRC32=f284e28d
3+
build.xml.stylesheet.CRC32=15ca8a54@2.91
4+
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
5+
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
6+
nbproject/build-impl.xml.data.CRC32=37385f23
7+
nbproject/build-impl.xml.script.CRC32=a691b4aa
8+
nbproject/build-impl.xml.stylesheet.CRC32=49aa68b0@2.91
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#Thu, 25 Aug 2011 20:26:49 +0200
2+
javac.source=17
3+
javac.compilerargs=-Xlint -Xlint:-serial
4+
license.file=../license-jme.txt
5+
nbm.homepage=https://www.jmonkeyengine.org
6+
nbm.module.author=Normen Hansen
7+
nbm.needs.restart=true
Lines changed: 260 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,260 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://www.netbeans.org/ns/project/1">
3+
<type>org.netbeans.modules.apisupport.project</type>
4+
<configuration>
5+
<data xmlns="http://www.netbeans.org/ns/nb-module-project/3">
6+
<code-name-base>com.jme3.gde.assetbrowser</code-name-base>
7+
<suite-component/>
8+
<module-dependencies>
9+
<dependency>
10+
<code-name-base>com.jme3.gde.core</code-name-base>
11+
<build-prerequisite/>
12+
<compile-dependency/>
13+
<run-dependency>
14+
<release-version>1</release-version>
15+
<specification-version>3.6.0</specification-version>
16+
</run-dependency>
17+
</dependency>
18+
<dependency>
19+
<code-name-base>com.jme3.gde.materials</code-name-base>
20+
<build-prerequisite/>
21+
<compile-dependency/>
22+
<run-dependency>
23+
<release-version>1</release-version>
24+
<specification-version>3.6.0</specification-version>
25+
</run-dependency>
26+
</dependency>
27+
<dependency>
28+
<code-name-base>com.jme3.gde.scenecomposer</code-name-base>
29+
<build-prerequisite/>
30+
<compile-dependency/>
31+
<run-dependency>
32+
<release-version>1</release-version>
33+
<specification-version>3.6.0</specification-version>
34+
</run-dependency>
35+
</dependency>
36+
<dependency>
37+
<code-name-base>com.jme3.gde.textureeditor</code-name-base>
38+
<build-prerequisite/>
39+
<compile-dependency/>
40+
<run-dependency>
41+
<release-version>1</release-version>
42+
<specification-version>3.6.0</specification-version>
43+
</run-dependency>
44+
</dependency>
45+
<dependency>
46+
<code-name-base>com.jme3.gde.core.baselibs</code-name-base>
47+
<build-prerequisite/>
48+
<compile-dependency/>
49+
<run-dependency>
50+
<release-version>1</release-version>
51+
<specification-version>3.6.0</specification-version>
52+
</run-dependency>
53+
</dependency>
54+
<dependency>
55+
<code-name-base>com.jme3.gde.core.libraries</code-name-base>
56+
<build-prerequisite/>
57+
<compile-dependency/>
58+
<run-dependency>
59+
<release-version>1</release-version>
60+
<specification-version>3.6.0</specification-version>
61+
</run-dependency>
62+
</dependency>
63+
<dependency>
64+
<code-name-base>org.netbeans.api.templates</code-name-base>
65+
<build-prerequisite/>
66+
<compile-dependency/>
67+
<run-dependency>
68+
<specification-version>1.6.1</specification-version>
69+
</run-dependency>
70+
</dependency>
71+
<dependency>
72+
<code-name-base>org.netbeans.api.visual</code-name-base>
73+
<build-prerequisite/>
74+
<compile-dependency/>
75+
<run-dependency>
76+
<specification-version>2.43.1</specification-version>
77+
</run-dependency>
78+
</dependency>
79+
<dependency>
80+
<code-name-base>org.netbeans.core.multiview</code-name-base>
81+
<build-prerequisite/>
82+
<compile-dependency/>
83+
<run-dependency>
84+
<release-version>1</release-version>
85+
<specification-version>1.40.1</specification-version>
86+
</run-dependency>
87+
</dependency>
88+
<dependency>
89+
<code-name-base>org.netbeans.modules.editor.document</code-name-base>
90+
<build-prerequisite/>
91+
<compile-dependency/>
92+
<run-dependency>
93+
<specification-version>1.5.1.1</specification-version>
94+
</run-dependency>
95+
</dependency>
96+
<dependency>
97+
<code-name-base>org.netbeans.modules.editor.lib</code-name-base>
98+
<build-prerequisite/>
99+
<compile-dependency/>
100+
<run-dependency>
101+
<release-version>3</release-version>
102+
<specification-version>3.49.2.22.43</specification-version>
103+
</run-dependency>
104+
</dependency>
105+
<dependency>
106+
<code-name-base>org.netbeans.modules.projectapi</code-name-base>
107+
<build-prerequisite/>
108+
<compile-dependency/>
109+
<run-dependency>
110+
<release-version>1</release-version>
111+
<specification-version>1.60.2</specification-version>
112+
</run-dependency>
113+
</dependency>
114+
<dependency>
115+
<code-name-base>org.netbeans.modules.projectuiapi</code-name-base>
116+
<build-prerequisite/>
117+
<compile-dependency/>
118+
<run-dependency>
119+
<release-version>1</release-version>
120+
<specification-version>1.78.1.8</specification-version>
121+
</run-dependency>
122+
</dependency>
123+
<dependency>
124+
<code-name-base>org.netbeans.modules.settings</code-name-base>
125+
<build-prerequisite/>
126+
<compile-dependency/>
127+
<run-dependency>
128+
<release-version>1</release-version>
129+
<specification-version>1.45.1</specification-version>
130+
</run-dependency>
131+
</dependency>
132+
<dependency>
133+
<code-name-base>org.netbeans.modules.websvc.jaxws21api</code-name-base>
134+
<build-prerequisite/>
135+
<compile-dependency/>
136+
<run-dependency>
137+
<release-version>1</release-version>
138+
<specification-version>1.34.1</specification-version>
139+
</run-dependency>
140+
</dependency>
141+
<dependency>
142+
<code-name-base>org.netbeans.spi.navigator</code-name-base>
143+
<build-prerequisite/>
144+
<compile-dependency/>
145+
<run-dependency>
146+
<release-version>1</release-version>
147+
<specification-version>1.33.1</specification-version>
148+
</run-dependency>
149+
</dependency>
150+
<dependency>
151+
<code-name-base>org.openide.actions</code-name-base>
152+
<build-prerequisite/>
153+
<compile-dependency/>
154+
<run-dependency>
155+
<specification-version>6.38.1</specification-version>
156+
</run-dependency>
157+
</dependency>
158+
<dependency>
159+
<code-name-base>org.openide.awt</code-name-base>
160+
<build-prerequisite/>
161+
<compile-dependency/>
162+
<run-dependency>
163+
<specification-version>7.62.1</specification-version>
164+
</run-dependency>
165+
</dependency>
166+
<dependency>
167+
<code-name-base>org.openide.dialogs</code-name-base>
168+
<build-prerequisite/>
169+
<compile-dependency/>
170+
<run-dependency>
171+
<specification-version>7.38.1</specification-version>
172+
</run-dependency>
173+
</dependency>
174+
<dependency>
175+
<code-name-base>org.openide.explorer</code-name-base>
176+
<build-prerequisite/>
177+
<compile-dependency/>
178+
<run-dependency>
179+
<specification-version>6.57.1</specification-version>
180+
</run-dependency>
181+
</dependency>
182+
<dependency>
183+
<code-name-base>org.openide.filesystems</code-name-base>
184+
<build-prerequisite/>
185+
<compile-dependency/>
186+
<run-dependency>
187+
<specification-version>9.7.1</specification-version>
188+
</run-dependency>
189+
</dependency>
190+
<dependency>
191+
<code-name-base>org.openide.filesystems.nb</code-name-base>
192+
<build-prerequisite/>
193+
<compile-dependency/>
194+
<run-dependency>
195+
<specification-version>9.7.1</specification-version>
196+
</run-dependency>
197+
</dependency>
198+
<dependency>
199+
<code-name-base>org.openide.loaders</code-name-base>
200+
<build-prerequisite/>
201+
<compile-dependency/>
202+
<run-dependency>
203+
<specification-version>7.57.2</specification-version>
204+
</run-dependency>
205+
</dependency>
206+
<dependency>
207+
<code-name-base>org.openide.nodes</code-name-base>
208+
<build-prerequisite/>
209+
<compile-dependency/>
210+
<run-dependency>
211+
<specification-version>7.39.1</specification-version>
212+
</run-dependency>
213+
</dependency>
214+
<dependency>
215+
<code-name-base>org.openide.text</code-name-base>
216+
<build-prerequisite/>
217+
<compile-dependency/>
218+
<run-dependency>
219+
<specification-version>6.62.2</specification-version>
220+
</run-dependency>
221+
</dependency>
222+
<dependency>
223+
<code-name-base>org.openide.util</code-name-base>
224+
<build-prerequisite/>
225+
<compile-dependency/>
226+
<run-dependency>
227+
<specification-version>8.39.1</specification-version>
228+
</run-dependency>
229+
</dependency>
230+
<dependency>
231+
<code-name-base>org.openide.util.lookup</code-name-base>
232+
<build-prerequisite/>
233+
<compile-dependency/>
234+
<run-dependency>
235+
<specification-version>8.25.1</specification-version>
236+
</run-dependency>
237+
</dependency>
238+
<dependency>
239+
<code-name-base>org.openide.util.ui</code-name-base>
240+
<build-prerequisite/>
241+
<compile-dependency/>
242+
<run-dependency>
243+
<specification-version>9.4.1</specification-version>
244+
</run-dependency>
245+
</dependency>
246+
<dependency>
247+
<code-name-base>org.openide.windows</code-name-base>
248+
<build-prerequisite/>
249+
<compile-dependency/>
250+
<run-dependency>
251+
<specification-version>6.71.1</specification-version>
252+
</run-dependency>
253+
</dependency>
254+
</module-dependencies>
255+
<public-packages>
256+
<package>com.jme3.gde.assetBrowser</package>
257+
</public-packages>
258+
</data>
259+
</configuration>
260+
</project>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
suite.dir=${basedir}/..

0 commit comments

Comments
 (0)