super.removedFromContext(ctx);
}
+ protected Class<? extends NavigationNode> getNavigationNodeClass() {
+ return NavigationNode.class;
+ }
+
@SGInit
public void initSG(G2DParentNode parent) {
// Replace old NAVIGATION_NODE with a new one
INode oldnav = NodeUtil.getRootNode(parent).getNode(SceneGraphConstants.NAVIGATION_NODE_NAME);
if(oldnav != null) {
- node = oldnav.appendParent(SceneGraphConstants.NAVIGATION_NODE_NAME, NavigationNode.class);
+ node = oldnav.appendParent(SceneGraphConstants.NAVIGATION_NODE_NAME, getNavigationNodeClass());
// FIXME : oldnav seems to be the same node as parent (most of the cases).
// Deleting it will cause plenty of code to fail, since they refer to the node directly.
// The bug was not shown, since deleting() a Node did not actually wipe its structures (until now).
// oldnav.delete();
} else {
- node = parent.addNode(SceneGraphConstants.NAVIGATION_NODE_NAME, NavigationNode.class);
+ node = parent.addNode(SceneGraphConstants.NAVIGATION_NODE_NAME, getNavigationNodeClass());
}
node.setLookupId(SceneGraphConstants.NAVIGATION_NODE_NAME);
node.setZIndex(0);
@L0.loadBytes "images/text_inverse.png"
Silk."text_italic" : IMAGE.PngImage
@L0.loadBytes "images/text_italic.png"
+Silk."text_italic_f" : IMAGE.PngImage
+ @L0.loadBytes "images/text_italic_f.png"
Silk."text_kerning" : IMAGE.PngImage
@L0.loadBytes "images/text_kerning.png"
Silk."text_left_to_right" : IMAGE.PngImage
@L0.loadBytes "images/time_go.png"
Silk."time_green" : IMAGE.PngImage
@L0.loadBytes "images/time_green.png"
+Silk."time_rainbow" : IMAGE.PngImage
+ @L0.loadBytes "images/time_rainbow.png"
Silk."time_red" : IMAGE.PngImage
@L0.loadBytes "images/time_red.png"
Silk."transmit" : IMAGE.PngImage
VP.ImportActionCategory : VP.ActionCategory
L0.HasLabel "Import"
VP.ActionCategory.IsSubmenu L0.True
+VP.ExportActionCategory : VP.ActionCategory
+ L0.HasLabel "Export"
+ VP.ActionCategory.IsSubmenu L0.True
VP.EditActionCategory : VP.ActionCategory
L0.HasLabel "Edit"
VP.ActionCategory.IsSubmenu L0.False