Skip to content
Browse files

Add (free, Apache) license information to source files

  • Loading branch information...
1 parent c5f2b3c commit 67674418592b1195336b42ece32c5e2922e026bd @jefftrull committed Nov 27, 2011
View
15 classes/CampaignHierarchyController.cls
@@ -1,3 +1,18 @@
+/*
+Copyright 2011 Jeff Trull <jetrull@sbcglobal.net>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
public class CampaignHierarchyController {
class CampaignHierarchyLevel {
// representing a level in the tree - an ID and a list of child nodes
View
15 classes/HierarchyController.cls
@@ -1,3 +1,18 @@
+/*
+Copyright 2011 Jeff Trull <jetrull@sbcglobal.net>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
public with sharing class HierarchyController {
// Controller for displaying and modifying record hierarchy of any object using ExtJS TreePanel view
// by Jeff Trull <jetrull@sbcglobal.net> 2010-12-03
View
15 components/Campaign_Select_Menu.component
@@ -1,3 +1,18 @@
+<!--
+Copyright 2011 Jeff Trull <jetrull@sbcglobal.net>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
<apex:component controller="CampaignHierarchyController">
<!-- a VF component for selecting a campaign from the hierarchy with an ExtJS menu tree -->
<!-- Jeff Trull 2010-09-18 -->
View
15 components/Campaign_Select_Tree.component
@@ -1,3 +1,18 @@
+<!--
+Copyright 2011 Jeff Trull <jetrull@sbcglobal.net>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
<apex:component controller="CampaignHierarchyController">
<!-- a VF component for selecting a campaign from the hierarchy with an ExtJS TreePanel -->
<!-- Jeff Trull 2010-09-19 -->
View
15 components/Hierarchy_Editor.component
@@ -1,3 +1,18 @@
+<!--
+Copyright 2011 Jeff Trull <jetrull@sbcglobal.net>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
<apex:component controller="HierarchyController" allowDML="true">
<!-- a VF component for modifying the hierarchy of an SObject (Campaign, Account, etc.) using an ExtJS TreePanel -->
<!-- Jeff Trull jetrull@sbcglobal.net 2010-12-01 -->
View
17 pages/CHMenu_Test.page
@@ -1,5 +1,20 @@
+<!--
+Copyright 2011 Jeff Trull <jetrull@sbcglobal.net>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
<apex:page standardController="Opportunity">
- <!-- A page to test using the campaign menu component -->
+ <!-- A page to test using the campaign menu and campaign tree components -->
<apex:form >
<apex:pageBlock title="Selecting Campaigns via Menu Tree" tabStyle="Campaign">
<c:Campaign_Select_Menu fn="rerender_detail"/>
View
15 pages/Campaign_Hierarchy_Editor.page
@@ -1,3 +1,18 @@
+<!--
+Copyright 2011 Jeff Trull <jetrull@sbcglobal.net>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
<apex:page standardController="Campaign">
<!-- Campaign hierarchy editor using custom VF component based on ExtJS TreePanel widget -->
<!-- by Jeff Trull <jetrull@sbcglobal.net> 2010-12-03 -->

0 comments on commit 6767441

Please sign in to comment.
Something went wrong with that request. Please try again.