<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Don, I see. That makes sense, although it is not what I want right now. I also think a lot of tutorials are not explaining this correctly. The textbook (Dann, Slater, Paoletti, Culyba) seems to be OK, though, because it talks about exporting the procedure code,
not about exporting a class.
<div class=""><br class="">
</div>
<div class="">What’s weird about this feature to me, is that when you are working in Java and you use a library, you use the library’s hierarchy, and you can’t inject code into arbitrary points in the library. You can only extend their classes to do what you
want. This is opposite what Alice 3 allows you to do: you do inject code into the hierarchy, and you can’t create your own classes. I was thinking of the Alice 3 gallery hierarchy like a Java class library, and it really isn’t.</div>
<div class=""><br class="">
</div>
<div class="">James<br class="">
<div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
—<br class="">
James Vanderhyde<br class="">
Associate Professor and Department Chair</div>
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
Computer Science<br class="">
Saint Xavier University<br class="">
3700 W. 103rd St.<br class="">
Chicago, IL 60655<br class="">
773-298-3454</div>
</div>
</div>
</div>
</div>
<div><br class="">
<div class="">On Jan 14, 2020, at 6:18 AM, Donald Slater <<a href="mailto:don@alice.org" class="">don@alice.org</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
James,
<div class="">You are correct. The Export / Import is not true sub-classing in the Alice system. It is instead more of an export and merge new features into an existing class. It was decided by the team that this concept was better handled in the Alice - NetBeans
curriculum - students import their projects into NetBeans where the Project is now a true Java project, with access to the entire Java Class Library and a inheritance would be better implemented.</div>
<div class=""><br class="">
</div>
<div class="">All the best,</div>
<div class="">Don Slater</div>
<div class=""><br class="">
</div>
<div class="">Alice Project<br class="">
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On Jan 13, 2020, at 3:39 PM, Vanderhyde, James <<a href="mailto:vanderhyde@sxu.edu" class="">vanderhyde@sxu.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Don, thanks. One more question. It looks to me like you can’t export classes in Alice 3 at all. All you can do is customize existing classes, and export the customizations. You can’t create your own classes. For example, you can’t create one subclass of Fox
called FancyFox and another subclass called FancierFox, two classes that do different things, so that some of your objects are FancyFoxes and some are FancierFoxes. Because when you import a class, or even instantiate a class from “My Classes” in the gallery,
it does not create a new class; it just adds the custom methods, etc., to the built-in Fox class.
<div class=""><br class="">
</div>
<div class="">Or am I misunderstanding this?</div>
<div class=""><br class="">
</div>
<div class="">James<br class="">
<div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
—<br class="">
James Vanderhyde<br class="">
Associate Professor and Department Chair</div>
<div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
Computer Science<br class="">
Saint Xavier University<br class="">
3700 W. 103rd St.<br class="">
Chicago, IL 60655<br class="">
773-298-3454</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
<br class="">
</div>
</body>
</html>