[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmt] Re: [Epsilon] - Eugenia - Generate GMF tool, graph and map model

Hi Dimitrios,
My .emf file is the same as your example. I am trying to make your example. (filesystem)


@namespace(uri="filesystem", prefix="filesystem")
@gmf
package filesystem;

@gmf.diagram
class Filesystem {
    val Drive[*] drives;
    val Sync[*] syncs;
}

class Drive extends Folder {

}

class Folder extends File {
    @gmf.compartment
    val File[*] contents;
}

class Shortcut extends File {
    @gmf.link(target.decoration="arrow", style="dash")
    ref File target;
}

@gmf.link(label="lastSync", source="source",
                 target="target", style="dot", width="2")
class Sync {
    ref File source;
    ref File target;
    attr String lastSync;
}

@gmf.node(label = "name")
class File {
    attr String name;
}


Thanks for your reply.

Dimitrios Kolovos yazmış:
Hi Sami,

Could you please send me your Emfatic file (.emf) to see what is wrong?

Cheers,
Dimitrios

Sami wrote:
An error occures, If i wanted to generet "gmf tool, graph and map model"
Screencast is here : http://screencast.com/t/onUmz74z

Thanks.