Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

lThis space defines how to use the ecilpse plugin to easily develop widgets that are usable in the Infinit.e tool.

Infinit.e Eclipse Plugin

1. Download the infinit.e plugin shown in the link above.
2. Install the plugin by dropping the file infinit.e.adobe.eclipse.infiniteModule.plugin_x.x.x.x.jar into your eclipse plugin folder e.g. for windows users: C:\eclipse\plugins
3. Restart or open eclipse, to test plugin is working right click on a project > click New > Other  and then under the wizard list there should be Infinite Module under the Flash Builder folder (also Infinite Module has its own folder, both do the same action)

Infinit.e Widget Library

1. Download the infinit.e widget library shown in the link above. (Already complete if you did the step for the eclipse plugin)
2. Create a Flex project in your eclipse workspace (or you can use an existing flex project) Go to File > New > Project... Select Flex Project under the Flash Builder folder, hit next, give the project a name and select Finish

3. Drag the infinit.e.widget.library.swc file from the InfinitePluginAndLibrary.zip file and drop it onto the libs folder in your new project

4. Eclipse should have automatically added the swc library to the build path as you can see in the Referenced Libraries

Creating a Widget

1. Right click on the src folder of your Flex Project and select New > Other choose Infinite Module from the Flash Builder folder
2. Give your widget a name and select finish. (If the wizard does not pick up the src folder automatically, select Browse and navigate to your projects src folder e.g. /projectname/src)

3. The wizard should automatically add 2 files to your project a sandbox to run your new widget in named InfiniteTestApplication.mxml and your widget which you named in the previous step (e.g. sampleWidget.mxml)
4. At this point you can run the example by right right clicking the InfiniteTestApplication.mxml selecting Run As > Web Application

5. Add your widgets logic into the sampleWidget.mxml file (or whatever you named your widget) and run sample queries by logging in and then searching on a term.

  • No labels