Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Ahuga

Pages: [1]
1
General Board / Problem: Generate Java Code from Class Diagram
« on: January 26, 2012, 09:51:12 pm »
After importing some java Classes I have the perfect java code in the UML Classdiagramm.

Using the default Code Templates to generate Code, it's not usable Code anymore because of the import statements:

original:
Code: [Select]
import org.apache.commons.lang.builder.CompareToBuilder;
import org.drools.planner.api.domain.entity.PlanningEntity;
import org.drools.planner.api.domain.variable.PlanningVariable;
import org.drools.planner.api.domain.variable.ValueRangeFromPlanningEntityProperty;
import org.joda.time.DateTime;

generated:
Code: [Select]
import model.Shift;
import model.Employee;
import model.UserFacts;
import model.ShiftType;

I just would like to have the same code - can be compiled - generated as I have imported. I guess I have to make some changes in the Code Templates.

But how does this script language works?

Thanks a lot for help.


2
General Board / Code Template - scripting language
« on: January 26, 2012, 07:42:37 pm »
I would like to make some changes in the Code Templates to generate Java Code.

For this I have to know more about the scripting language.

Are there any examples, Tutorials, Links?

Thanks for help.

3
Automation Interface, Add-Ins and Tools / Re: Eclipse integration?
« on: January 26, 2012, 07:32:05 pm »
Hi DaveToo

You wrote:
"I've installed the trial MDG Eclipse integration plugin, but .. I can't find any documentation, tuts, or other presentations to indicate what it can do, and how to do it.  The menu appears in my eclipse instance but reports "unavailable".

I've not done any real round-trip modelling, so perhaps I'm missing some contextual concepts; all I've really done is reverse-engineer Python code so far."

Is it working now? Did you find more informations about?



Pages: [1]