Was trying to change the length on String from the VarChar(255). In Hibernate this can be done by specifying @Length(max=350) (for example.
However, there is no "constraint Length --onProperty xxx --max 350" available in Forge.
Using "constraint Max" causes forge to have a conversion error when attempting to insert string data.
Middleware Business Unit
JBoss, a Division of Red Hat
Hi Max and forge-dev subscribers,
I was discussing with Lincoln and we reached an agreement that the
current popup list that shows in the center of the IDE is not visually
that nice ( http://imgur.com/JvE8a9j).
It would be nice if we have something like
http://i.imgur.com/LyibyTP.png, however I recall that Max explicitly
mentioned that the Quick Access feature should not be used in any way,
but that we might have something like that available. I've been digging
into the Eclipse API and also found no way to reuse that, unless we
(somehow) register the wizards dinamically using the
"org.eclipse.ui.newWizards" extension point, but since I am not an
Eclipse expert, I may be missing something here.
My question is: Does it looks like a reasonable option to develop an UI
in the Forge 2 Eclipse plugin like Quick Access ?
Do you guys see any other much attractive UI option in Eclipse to
display these Wizards ?
Just reminding that these wizards are dynamic (they are built based on
the Addons installed in Forge 2), therefore they don't exist as an
Wizard class (hence not allowing adding them directly into the plugin.xml).
The latest code can be found in
Looking forward to your suggestions,
*George Gastaldi* | /Senior Software Engineer/
JBoss Forge Team
The approach we took in the quickstarts was to add @SuppressWarnings("serial") in this case, as it adds a visual warning to the class that you haven't taken this step, without the annoying warning in the IDE. We also try to add a comment to the effect you need to do this before you go into production.
On 23 May 2013, at 23:44, Max Andersen <manderse(a)redhat.com> wrote:
> On Thu, May 23, 2013 at 03:40:42PM -0400, Burr Sutter wrote:
>> Lots of warnings when Forge generates a JPA entity
>> "The serializable class Actor does not declare a static final serialVersionUID field of type long"
> we can disable the warninng in JBDS I believe.
> It is eclipse being anal - they are correct in that you should add such field, but if you do then
> you are declaring you are guaranteeing serializability between versions of your class which generated code
> cannot guarantee nor does any user need this.
> I've written about it in blogs and wikis - I can digg them out if you want the glory details :)
Due to a major Maven GroupId refactor, it may be beneficial to re-import
Forge 2 into your workspace. Subsequent work to refactor classes and
packages will be performed over the next few days once we have discussed
Lincoln Baxter, III
"Simpler is better."
I had to do a talk/demo last Friday @ the Eclipse Day in Florence and I included a small Forge2 'Hello world' in my demo. I was not particularly happy with the status bar notifications that now are used in Forge2 for several reasons but mainly because of the fact that they write to the status bar that belongs to the Project Explorer view which is not necessarily visible but also because the status bar is fairly limited. So I decided to experiment a bit with popup notifications that fade in and fade out in the corner of the window. I got this to work just in time for my demo and everybody seemed quite impressed...
I have uploaded a short video to Vimeo showing what I did: https://vimeo.com/66054038. Mind that this is just a basic implementation that needs a lot of polishing. It also seems to address https://issues.jboss.org/browse/FORGE-771. Let me know what you think about it and if I should continue in that direction.