|
CAF Noodle JavaScript | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--Noodle.Page
Noodle.Page Noodle page functions.
Defined in page.js
Nested Class Summary | |
<static class> |
Noodle.Page.Model |
Field Summary | |
<static> Object |
ALIGN_PROJECT
Align project workspace. |
<static> Object |
ALL
ALL All workspaces (only valid for searching). |
<static> Object |
ANALYSIS
"Analyze This" workspace. |
<static> Object |
GENERIC
Generic workspace. |
Constructor Summary | |
Noodle.Page
()
|
Method Summary | |
<static> void
|
_createWorkspace(options)
Creates a new workspace without a prompt for its name. |
<static> void
|
create(metadata)
Creates a new page and redirects to it. |
<static> void
|
createWorkspace(options)
Creates a new workspace, prompting for the name if not specified. |
<static> void
|
hidePortletFinderMenus()
Handles global onclick events, hiding all portlet-finder menus for all pages. |
<static> Object
|
modelAnnotator(<Noodle.Model> m)
Standard page model annotator. |
<static> void
|
onExpertMode(<string> n, <event> o)
Handles expertMode changes for the current page. |
<static> void
|
onWorkspaceRename(<string> n, <event> o)
Handles workspace rename events. |
<static> void
|
saveBeforeUnload(<event> event)
Onbeforeunload handler which prompts user to save page. |
<static> void
|
skipUnloadForScriptUrls(<event> event)
Click handler to detect phatom beforeunload events in ie. |
Field Detail |
<static> Object ALIGN_PROJECT
<static> Object ALL
<static> Object ANALYSIS
<static> Object GENERIC
Constructor Detail |
Noodle.Page()
Method Detail |
<static> void _createWorkspace(options)
options
- Map of options.
name
- New name for workspace.
type
- Workspace type.
contextURI
- URI of thing being analyzed (may be null or undefined).
templateURI
- URI of template workspace to copy (may be null or undefined).
createView
- True to add the workspace to the leftnav.
createTab
- True to create a new tab for the workspace.
isTemp
- True to create dirty workspace.
redirect
- True to display workspace after creating.
<static> void create(metadata)
metadata
- Map of metadata with which to create the page.
<static> void createWorkspace(options)
options
- Map of options.
name
- New name for workspace.
type
- Workspace type.
contextURI
- URI of thing being analyzed (may be null or undefined).
templateURI
- URI of template workspace to copy (may be null or undefined).
createView
- True to add the workspace to the leftnav.
createTab
- True to create a new tab for the workspace.
isTemp
- True to create dirty workspace.
redirect
- True to display workspace after creating.
<static> void hidePortletFinderMenus()
<static> Object modelAnnotator(<Noodle.Model> m)
m
- Model.
<static> void onExpertMode(<string> n, <event> o)
n
- Event name.
o
- Event object.
<static> void onWorkspaceRename(<string> n, <event> o)
n
- Event name.
o
- Event object.
<static> void saveBeforeUnload(<event> event)
event
- Event.
<static> void skipUnloadForScriptUrls(<event> event)
event
- Event.
|
CAF Noodle JavaScript | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |