This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.Observable; | |
| public class MyDataStore extends Observable{ | |
| public void updateMeSomehow(){ | |
| setChanged(); | |
| notifyObservers(); | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class RequestExectutionView extends ViewPart{ | |
| TreeViewer myTreeViewer; | |
| ... | |
| public void createPartControl(Composite parent) { | |
| Tree myTree = new Tree(parent, SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL); | |
| myTree.setHeaderVisible(true); | |
| myTreeViewer = new TreeViewer(executionTree); | |
| myTreeViewer.setLabelProvider(new MyLabelProvider()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfcomponent extends="mxunit.framework.TestCase"> | |
| <!--- this will run before every single test in this test case ---> | |
| <cffunction name="setUp" returntype="void" access="public" hint="put things here that you want to run before each test"> | |
| <cfset obj = createObject("component","ObjectUnderTest")> | |
| </cffunction> | |
| <!--- this will run after every single test in this test case ---> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <Directory "/Users/markdrew/Sites"> | |
| Options Indexes FollowSymLinks MultiViews | |
| AllowOverride All | |
| Order allow,deny | |
| Allow from all | |
| </Directory> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfquery name = "getAgain" datasource="DSN"> | |
| select * from Table2 where ID in (<cfqueryparam cfsqltype="cf_sql_varchar" value="#ValueList(get.anotherID)#" list="true">) | |
| </cfquery> |
NewerOlder