Class orion.util
This class contains static utility methods.
Defined in: </shared/eclipse/e4/orion/I201311271322/plugins/org.eclipse.orion.client.git/web/orion/git/util.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
This class contains static utility methods.
|
Method Attributes | Method Name and Description |
---|---|
followLink(href)
Opens a link in response to some event.
|
|
isAtRoot()
Determines if the path represents the workspace root
|
|
openInNewWindow(event)
Returns whether the given event should cause a reference
to open in a new window or not.
|
Class Detail
orion.util()
This class contains static utility methods. It is not intended to be instantiated.
Method Detail
followLink(href)
Opens a link in response to some event. Whether the link
is opened in the same window or a new window depends on the event
Defined in: </shared/eclipse/e4/orion/I201311271322/plugins/org.eclipse.orion.client.ui/web/orion/uiUtils.js>.
Defined in: </shared/eclipse/e4/orion/I201311271322/plugins/org.eclipse.orion.client.ui/web/orion/uiUtils.js>.
- Parameters:
- {String} href
- The link location
isAtRoot()
Determines if the path represents the workspace root
Defined in: </shared/eclipse/e4/orion/I201311271322/plugins/org.eclipse.orion.client.core/web/orion/fileUtils.js>.
Defined in: </shared/eclipse/e4/orion/I201311271322/plugins/org.eclipse.orion.client.core/web/orion/fileUtils.js>.
openInNewWindow(event)
Returns whether the given event should cause a reference
to open in a new window or not.
Defined in: </shared/eclipse/e4/orion/I201311271322/plugins/org.eclipse.orion.client.ui/web/orion/uiUtils.js>.
Defined in: </shared/eclipse/e4/orion/I201311271322/plugins/org.eclipse.orion.client.ui/web/orion/uiUtils.js>.
- Parameters:
- {Object} event
- The key event