Skip to content

Commit

Permalink
added opencl-util module.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbien committed Sep 3, 2011
1 parent 32bbad7 commit a1b325f
Show file tree
Hide file tree
Showing 12 changed files with 432 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ auxiliary.org-netbeans-modules-apisupport-installer.pack200-enabled=false
modules=\
${project.com.jogamp.opencl}:\
${project.com.mbien.opencl.editor}:\
${project.com.mbien.opencl.project}
${project.com.mbien.opencl.project}:\
${project.com.mbien.opencl.util}
project.com.jogamp.opencl=jocl-runtime
project.com.mbien.opencl.editor=opencl-editor
project.com.mbien.opencl.project=jocl-project
project.com.mbien.opencl.util=opencl-util
8 changes: 8 additions & 0 deletions opencl-util/build.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- You may freely edit this file. See harness/README in the NetBeans platform -->
<!-- for some information on what you could do (e.g. targets to override). -->
<!-- If you delete this file and reopen the project it will be recreated. -->
<project name="com.mbien.opencl.util" default="netbeans" basedir=".">
<description>Builds, tests, and runs the project com.mbien.opencl.util.</description>
<import file="nbproject/build-impl.xml"/>
</project>
6 changes: 6 additions & 0 deletions opencl-util/manifest.mf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Manifest-Version: 1.0
OpenIDE-Module: com.mbien.opencl.util
OpenIDE-Module-Localizing-Bundle: com/mbien/opencl/util/Bundle.properties
OpenIDE-Module-Requires: org.openide.windows.WindowManager
OpenIDE-Module-Specification-Version: 1.0

45 changes: 45 additions & 0 deletions opencl-util/nbproject/build-impl.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
*** GENERATED FROM project.xml - DO NOT EDIT ***
*** EDIT ../build.xml INSTEAD ***
-->
<project name="com.mbien.opencl.util-impl" basedir="..">
<fail message="Please build using Ant 1.7.1 or higher.">
<condition>
<not>
<antversion atleast="1.7.1"/>
</not>
</condition>
</fail>
<property file="nbproject/private/suite-private.properties"/>
<property file="nbproject/suite.properties"/>
<fail unless="suite.dir">You must set 'suite.dir' to point to your containing module suite</fail>
<property file="${suite.dir}/nbproject/private/platform-private.properties"/>
<property file="${suite.dir}/nbproject/platform.properties"/>
<macrodef name="property" uri="http://www.netbeans.org/ns/nb-module-project/2">
<attribute name="name"/>
<attribute name="value"/>
<sequential>
<property name="@{name}" value="${@{value}}"/>
</sequential>
</macrodef>
<macrodef name="evalprops" uri="http://www.netbeans.org/ns/nb-module-project/2">
<attribute name="property"/>
<attribute name="value"/>
<sequential>
<property name="@{property}" value="@{value}"/>
</sequential>
</macrodef>
<property file="${user.properties.file}"/>
<nbmproject2:property name="harness.dir" value="nbplatform.${nbplatform.active}.harness.dir" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
<nbmproject2:property name="nbplatform.active.dir" value="nbplatform.${nbplatform.active}.netbeans.dest.dir" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
<nbmproject2:evalprops property="cluster.path.evaluated" value="${cluster.path}" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
<fail message="Path to 'platform' cluster missing in $${cluster.path} property or using corrupt Netbeans Platform (missing harness).">
<condition>
<not>
<contains string="${cluster.path.evaluated}" substring="platform"/>
</not>
</condition>
</fail>
<import file="${harness.dir}/build.xml"/>
</project>
8 changes: 8 additions & 0 deletions opencl-util/nbproject/genfiles.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
build.xml.data.CRC32=75373232
build.xml.script.CRC32=02c81ba1
build.xml.stylesheet.CRC32=a56c6a5b@1.46.1
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
nbproject/build-impl.xml.data.CRC32=75373232
nbproject/build-impl.xml.script.CRC32=c1a8ee67
nbproject/build-impl.xml.stylesheet.CRC32=238281d1@1.46.1
4 changes: 4 additions & 0 deletions opencl-util/nbproject/project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
javac.source=1.7
javac.compilerargs=-Xlint -Xlint:-serial
license.file=../GPL-2.0+ClasspathException.txt
nbm.module.author=Michael Bien
62 changes: 62 additions & 0 deletions opencl-util/nbproject/project.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.apisupport.project</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/nb-module-project/3">
<code-name-base>com.mbien.opencl.util</code-name-base>
<suite-component/>
<module-dependencies>
<dependency>
<code-name-base>com.jogamp.opencl</code-name-base>
<build-prerequisite/>
<compile-dependency/>
<run-dependency>
<specification-version>0.9.1.1</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.netbeans.modules.settings</code-name-base>
<build-prerequisite/>
<compile-dependency/>
<run-dependency>
<release-version>1</release-version>
<specification-version>1.31.1</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.openide.awt</code-name-base>
<build-prerequisite/>
<compile-dependency/>
<run-dependency>
<specification-version>7.31.1</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.openide.util</code-name-base>
<build-prerequisite/>
<compile-dependency/>
<run-dependency>
<specification-version>8.15.1</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.openide.util.lookup</code-name-base>
<build-prerequisite/>
<compile-dependency/>
<run-dependency>
<specification-version>8.8.1</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.openide.windows</code-name-base>
<build-prerequisite/>
<compile-dependency/>
<run-dependency>
<specification-version>6.40.1</specification-version>
</run-dependency>
</dependency>
</module-dependencies>
<public-packages/>
</data>
</configuration>
</project>
1 change: 1 addition & 0 deletions opencl-util/nbproject/suite.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
suite.dir=${basedir}/..
11 changes: 11 additions & 0 deletions opencl-util/src/com/mbien/opencl/util/Bundle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
OpenIDE-Module-Display-Category=OpenCL
OpenIDE-Module-Long-Description=\
Provides tools to retrieve OpenCL information.
OpenIDE-Module-Name=opencl-util
OpenIDE-Module-Short-Description=OpenCL utilities

CTL_CLAction=OpenCL Properties
CLUtilTopComponent.filterLabel.text=search:
CLUtilTopComponent.filterField.text=
CTL_CLUtilTopComponent=OpenCL Properties Window
HINT_CLUtilTopComponent=This is a OpenCL Properties window (believe it or not)
70 changes: 70 additions & 0 deletions opencl-util/src/com/mbien/opencl/util/CLUtilTopComponent.form
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<?xml version="1.1" encoding="UTF-8" ?>

<Form version="1.5" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
<AuxValues>
<AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="1"/>
<AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
<AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="false"/>
<AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
<AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="true"/>
<AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
<AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
<AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
<AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
</AuxValues>

<Layout>
<DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="0" attributes="0">
<EmptySpace max="-2" attributes="0"/>
<Component id="filterLabel" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="filterField" min="-2" pref="138" max="-2" attributes="0"/>
<EmptySpace pref="243" max="32767" attributes="0"/>
</Group>
<Component id="pane" alignment="0" pref="456" max="32767" attributes="0"/>
</Group>
</DimensionLayout>
<DimensionLayout dim="1">
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="0" attributes="0">
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="3" attributes="0">
<Component id="filterLabel" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="filterField" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Component id="pane" pref="255" max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
</Layout>
<SubComponents>
<Component class="javax.swing.JLabel" name="filterLabel">
<Properties>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="com/mbien/opencl/util/Bundle.properties" key="CLUtilTopComponent.filterLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
</Property>
</Properties>
<AuxValues>
<AuxValue name="JavaCodeGenerator_VariableLocal" type="java.lang.Boolean" value="true"/>
<AuxValue name="JavaCodeGenerator_VariableModifier" type="java.lang.Integer" value="0"/>
</AuxValues>
</Component>
<Component class="javax.swing.JTextField" name="filterField">
<Properties>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="com/mbien/opencl/util/Bundle.properties" key="CLUtilTopComponent.filterField.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
</Property>
</Properties>
</Component>
<Container class="javax.swing.JScrollPane" name="pane">
<AuxValues>
<AuxValue name="JavaCodeGenerator_CreateCodeCustom" type="java.lang.String" value="createPane()"/>
</AuxValues>

<Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
</Container>
</SubComponents>
</Form>
Loading

0 comments on commit a1b325f

Please sign in to comment.