[Windowing] Added new window button
Currently overwrites metadata similar to the FullScreenAction in order to temporarily display the new window button until the css is modified to do so. WTD-16
This commit is contained in:
@@ -43,6 +43,17 @@ define(
|
|||||||
*/
|
*/
|
||||||
perform: function () {
|
perform: function () {
|
||||||
$window.alert("Not yet functional. This will open objects in a new window.");
|
$window.alert("Not yet functional. This will open objects in a new window.");
|
||||||
|
},
|
||||||
|
|
||||||
|
getMetadata: function () {
|
||||||
|
// We override getMetadata, this is temporary
|
||||||
|
// Until the css/html code views the button on
|
||||||
|
// its own
|
||||||
|
var metadata = Object.create(NewWindowAction);
|
||||||
|
metadata.glyph = "y";
|
||||||
|
metadata.description = "ENTER DESC HERE";
|
||||||
|
metadata.group = "windowing";
|
||||||
|
return metadata;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user