[gme-users] Create model programmatically
Lucy_efrizoni
lusi_dl at yahoo.co.id
Sun Dec 26 03:26:31 CST 2010
Dear Kevin,
I have learnedand tried on what you suggested in previous email, I have able to
modify the root folder nameusing the following codes, for the reference please
see my screenshot result attached.
public void invokeEx(JBuilder builder, JBuilderObject focus,
Collection selected, int param) {
// TODO Auto-generated method stub
builder.getProject().getRootFolder().setName("ChangeName");
Now the questionis how to create a new folder such as NewUseCasePackage.
So far I will use below codes:
builder.getProject().getRootFolder().createFolder(??..)
What am I supposed to do in the question marks above and how to create new actor
and new use case
}
Thank you and looking forward hear from you.
Lusiana Efrizoni
* Software Engineering Department
Faculty of Computer Science and Information Systems
Universiti Teknologi Malaysia
81300 UTM Skudai Johor, Malaysia (Phone: +60167825101)
* STMIK-AMIK Riau Pekanbaru
Jl. Purwodadi Indah Km. 10 Panam Pekanbaru
Riau - Indonesia (Phone: +628127516817)
________________________________
From: Kevin Smyth <ksmyth at isis.vanderbilt.edu>
To: Lucy_efrizoni <lusi_dl at yahoo.co.id>; gme-users
<gme-users at list.isis.vanderbilt.edu>
Cc: montelalu at yahoo.co.id
Sent: Fri, December 10, 2010 11:37:36 PM
Subject: RE: Create model programmatically
Hi Lusiana,
GME Java examples are included in gme.jar. Have a look at
org.isis.gme.mga.TestMgaLayer1. If it does not run, please reply with the stack
trace.
Have fun,
Kevin
P.S.
The address to post to the mailing list is gme-users at isis.vanderbilt.edu.
gme-users-request at isis.vanderbilt.edu is for list administration.
From:Lucy_efrizoni [mailto:lusi_dl at yahoo.co.id]
Sent: Friday, December 10, 2010 12:47 AM
To: Kevin Smyth
Cc: montelalu at yahoo.co.id
Subject: Create model programmatically
Dear Kevin, I have sent an email below to gme-users, but I have got no response
yet.
I read ebook pdf for MGE and found how to create model programmatically. I have
tried it but always failed. Please advise.. is there any setting that I must do
so that my java script to create model can be run well. For my quick instance
learn, I am very please if you would like to share a simple example code even
java script to create “Hello Word”.
Thank you for your help.
Lusiana Efrizoni
* Software Engineering Department
Faculty of Computer Science and Information Systems
Universiti Teknologi Malaysia
81300 UTM Skudai Johor, Malaysia (Phone: +60167825101)
* STMIK-AMIK Riau Pekanbaru
Jl. Purwodadi Indah Km. 10 Panam Pekanbaru
Riau - Indonesia (Phone: +628127516817)
----- Forwarded Message ----
From: Lucy_efrizoni <lusi_dl at yahoo.co.id>
To: gme-users-request at list.isis.vanderbilt.edu
Cc: montelalu at yahoo.co.id
Sent: Tue, December 7, 2010 4:49:37 PM
Subject: help
Dear GME Users,
please, would any one of GME user list can help me to solve my current problem.
In GME I have a class diagram in which the class diagram consist of class
name, set of properties (attribute, association etc) and operations of a class.
The problem is how to create a class diagram and how to make a relationship
between existing classes through java scrips/coding.
When GME toolkit is installed, there have been 3 PDF files including MGA
library. Yet, in MGA library I have not found sample coding using java, please
advise how to use MGA library and step by step setting properly
Thank you and looking forward to hear from you all.
Lusiana Efrizoni
* Software Engineering Department
Faculty of Computer Science and Information Systems
Universiti Teknologi Malaysia
81300 UTM Skudai Johor, Malaysia (Phone: +60167825101)
* STMIK-AMIK Riau Pekanbaru
Jl. Purwodadi Indah Km. 10 Panam Pekanbaru
Riau - Indonesia (Phone: +628127516817)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/gme-users/attachments/20101226/2c844773/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 9536 bytes
Desc: not available
Url : http://list.isis.vanderbilt.edu/pipermail/gme-users/attachments/20101226/2c844773/attachment.jpe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screenshot.jpg
Type: image/jpeg
Size: 14251 bytes
Desc: not available
Url : http://list.isis.vanderbilt.edu/pipermail/gme-users/attachments/20101226/2c844773/attachment.jpg
More information about the gme-users
mailing list