[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:
Shivam Dave 2015-06-22 13:12:13 -07:00
parent 6a35476872
commit 2fbfcc1333

View File

@ -43,6 +43,17 @@ define(
*/
perform: function () {
$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;
}
};
}