# Using eclipse to create components

**URL:** <https://forum.inductiveautomation.com/t/using-eclipse-to-create-components/5110>\
**Category:** Ignition\
**Created:** [September 6, 2012, 2:55pm UTC](https://forum.inductiveautomation.com/t/using-eclipse-to-create-components/5110 "2012-09-06T14:55:08Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![AJBerera](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@AJBerera](https://forum.inductiveautomation.com/u/AJBerera)\
**Post date:** [September 6, 2012, 2:55pm UTC](https://forum.inductiveautomation.com/t/using-eclipse-to-create-components/5110/1 "2012-09-06T14:55:08Z")

</div>

Does anyone do this?  
I was hoping that I could create a customized component using WindowsBuilder inside of Eclipse to create an object that could be exported to my Ignition project since its Java…

![](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/f/2f0984456f8dd47c5beb0a68b72c3d6cf62ef2aa.jpeg)

---

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [September 6, 2012, 3:51pm UTC](https://forum.inductiveautomation.com/t/using-eclipse-to-create-components/5110/2 "2012-09-06T15:51:12Z")

</div>

Sure this is possible, what you’d fundamentally be doing is using the Module SDK to create a component.

Go to: [https://www.inductiveautomation.com/developers](https://www.inductiveautomation.com/developers) to sign up/download the module sdk. The programmer’s guide talks about building modules (and components), and there’s a few examples that add components (the “component example” and the “weather example”)

It’s not as simply as dropping a class in, but it’s not all that hard, either. Beyond bundling it up as a module, you need to do a little bit of work to expose the properties you want, make the icon for the palette, etc.

Regards,

---

<div class="post-metadata">

**Author:** ![tailfire](https://avatars.discourse-cdn.com/v4/letter/t/b5a626/32.png) [@tailfire](https://forum.inductiveautomation.com/u/tailfire)\
**Post date:** [September 6, 2012, 4:02pm UTC](https://forum.inductiveautomation.com/t/using-eclipse-to-create-components/5110/3 "2012-09-06T16:02:47Z")

</div>

I think Kyle Chase does but most of them cost $$.  
I would like to learn how. I was looking at the ‘jfreecharts’ I would like to implement a couple of SPC type charts. [jfree.org/jfreechart/samples.html](http://www.jfree.org/jfreechart/samples.html)  
Some of them look very ‘familiar’…  
I have also went through this: [code.google.com/p/jbrowser/wiki/ … ed\_Eclipse](http://code.google.com/p/jbrowser/wiki/Getting_Started_Eclipse)

I built it in eclipse and had it functioning but there where “dependencies” that, the way I understood it would make ignition break or would at least cause me to have a ‘custom’ non upgradeable package.  
I also did not know how to get what I made in Eclipse–Into Ignition…  
In regards to that it does appear that some of Kyles modules have dependencies that require that same measure of maintenance, whether related to dependencies I do not know.

Guess the first step would be signing up for that sdk. I am certain there would be some form of testing platform.

---

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [September 6, 2012, 6:03pm UTC](https://forum.inductiveautomation.com/t/using-eclipse-to-create-components/5110/4 "2012-09-06T18:03:38Z")

</div>

You can download the sdk directly from the downloads page. Read through the first part of the developer’s guide, and see if it makes sense. The “sign up” part is just to get a developer key that lets you run “unsigned” (dev) modules. It also enables a servlet in the gateway that lets the build file automatically push updated modules to the gateway.

Regards,

---

<div class="post-metadata">

**Author:** ![AJBerera](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@AJBerera](https://forum.inductiveautomation.com/u/AJBerera)\
**Post date:** [September 6, 2012, 6:30pm UTC](https://forum.inductiveautomation.com/t/using-eclipse-to-create-components/5110/5 "2012-09-06T18:30:17Z")

</div>

I got the cd-key for dev mode in my email… although when I installed it, I am now in trial mode again…  
I think my integrator key needs to be upgraded to support dev mode.

---

<div class="post-metadata">

**Author:** ![greg.simpson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.simpson/32/3135_2.png) [@greg.simpson](https://forum.inductiveautomation.com/u/greg.simpson)\
**Post date:** [September 6, 2012, 9:06pm UTC](https://forum.inductiveautomation.com/t/using-eclipse-to-create-components/5110/6 "2012-09-06T21:06:39Z")

</div>

Try to update your license now.

---

<div class="post-metadata">

**Author:** ![AJBerera](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@AJBerera](https://forum.inductiveautomation.com/u/AJBerera)\
**Post date:** [September 7, 2012, 11:37am UTC](https://forum.inductiveautomation.com/t/using-eclipse-to-create-components/5110/7 "2012-09-07T11:37:50Z")

</div>

thanks

---

<div class="post-metadata">

**Author:** ![greg.simpson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.simpson/32/3135_2.png) [@greg.simpson](https://forum.inductiveautomation.com/u/greg.simpson)\
**Post date:** [September 7, 2012, 3:28pm UTC](https://forum.inductiveautomation.com/t/using-eclipse-to-create-components/5110/8 "2012-09-07T15:28:05Z")

</div>

![:thumb_left:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/e26afb081ddde6df016df6ee49159cf56aaca688.gif ":thumb\_left:")

---

<div class="post-metadata">

**Author:** ![Kyle\_Chase](https://avatars.discourse-cdn.com/v4/letter/k/9de0a6/32.png) [@Kyle\_Chase](https://forum.inductiveautomation.com/u/Kyle_Chase)\
**Post date:** [September 7, 2012, 10:15pm UTC](https://forum.inductiveautomation.com/t/using-eclipse-to-create-components/5110/9 "2012-09-07T22:15:22Z")

</div>

If you need a hand, I can help tonight. Im in getting shit done mode (rPI write up will hopefully be started tonight)

---

<div class="post-metadata">

**Author:** ![tailfire](https://avatars.discourse-cdn.com/v4/letter/t/b5a626/32.png) [@tailfire](https://forum.inductiveautomation.com/u/tailfire)\
**Post date:** [September 8, 2012, 1:52am UTC](https://forum.inductiveautomation.com/t/using-eclipse-to-create-components/5110/10 "2012-09-08T01:52:18Z")

</div>

![:thumb_right:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/2026e28c0c425034352c1b75807edf956adc75f4.gif ":thumb\_right:")

I like that mode! I would like to learn how to build some of the spc charts but I cannot afford the  
spc module. I have looked at jfree charts and I also already have eclipse. I have used it in the  
past for android app development. if you have an android its in the play store. its called plc cable ref.  
I havent updated it in a long time… I also realize I dont have any specific questions to ask for help about.  
I dont have the sdk or a dev key. I would still like to get better at the scripting within ignition before I move on  
to any development of components. I still have not used all of them in the pallet in a project yet.  
Im shifting into weekend mode lol… I still have an addiction to this forum even on the weekends. so much  
collective knowledge and skill I just cant soak it in fast enough…

---

<div class="post-metadata">

**Author:** ![AJBerera](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@AJBerera](https://forum.inductiveautomation.com/u/AJBerera)\
**Post date:** [September 10, 2012, 2:24pm UTC](https://forum.inductiveautomation.com/t/using-eclipse-to-create-components/5110/11 "2012-09-10T14:24:54Z")

</div>

> [@Kyle Chase](#):
>
> If you need a hand, I can help tonight. Im in getting shit done mode (rPI write up will hopefully be started tonight)

I would love some help!  
I have been been playing with JSpinners all morning, trying to figure out how to do this.  
best idea I have found is upButtonClickHandler and downButtonClickHandler..  
I suppose somehow I'm supposed to change the stepsize according to how long these ActionEvents are incorporated.. Although conceptually, it doesn't make sense because I don't see how I can KNOW if i am holding the button down or simply clicking very fast.. I need a button held or maybe mouse pressed && value changed SETUP..  
Perhaps I need to start with something much more basic..

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [September 10, 2012, 4:01pm UTC](https://forum.inductiveautomation.com/t/using-eclipse-to-create-components/5110/12 "2012-09-10T16:01:43Z")

</div>

> [@BigSchottkyD](#):
>
> ... trying to figure out how to do this.

What is "this" referring to? Am I missing some context?

---

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [September 10, 2012, 4:11pm UTC](https://forum.inductiveautomation.com/t/using-eclipse-to-create-components/5110/13 "2012-09-10T16:11:41Z")

</div>

Yes Carl, you’re missing [this](http://inductiveautomation.com/forum/viewtopic.php?f=74&t=8810) (\<-Note: the link points to a forum only visible to people who have registered for the dev program).
