Skip navigation links
com.essbase.eas.essbase.ui.scripting.autocomplete
Class ScriptingCommands
java.lang.Object
com.essbase.eas.ui.editor.misc.StatementCommands
com.essbase.eas.essbase.ui.scripting.autocomplete.ScriptingCommands
- All Implemented Interfaces:
- StatementParser, java.io.Serializable
- Direct Known Subclasses:
- MaxlCommands, MDXCommands
-
public class ScriptingCommands
- extends StatementCommands
- implements java.io.Serializable
Title: Description: Copyright: Copyright (c) 2001 Company: Hyperion Solutions Corporation
- Version:
- 1.0
- Author:
- Sree Menon
- See Also:
- Serialized Form
| Methods inherited from class com.essbase.eas.ui.editor.misc.StatementCommands |
addCommand, clearRegisteredCommands, exportXml, exportXml, getCommands, getCommandTable, getEndOfLineChar, getTokenList, getTokenList, insertCommand, newEditToken, removeCommand, resetParent, setEndOfLineChar, setLastStatementToken, setOptions, showOptions, writeKeywordsToFile |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScriptingCommands
public ScriptingCommands()
removeText
protected boolean removeText(java.lang.String text)
setTokenList
public void setTokenList(StatementContext context)
- Description copied from interface:
StatementParser
- breaks up the statement into a list of tokens
-
- Specified by:
setTokenList in interface StatementParser
- Overrides:
setTokenList in class StatementCommands
checkTripChar
protected boolean checkTripChar(char ch)
setCurrentStatement
public java.lang.String setCurrentStatement(StatementContext context)
- Description copied from interface:
StatementParser
- Returns the current statement based on the cursor
-
- Specified by:
setCurrentStatement in interface StatementParser
- Overrides:
setCurrentStatement in class StatementCommands
notifyObjects
public void notifyObjects(java.lang.String cmd,
Server server)
getNotifyObjects
public java.util.List getNotifyObjects(java.lang.String cmd,
Server server)
getNotifyObjects
public java.util.List getNotifyObjects(java.lang.String cmd,
Server server,
java.util.List v)
notifyObjects
public void notifyObjects(java.util.List v)
createCommand
public StatementToken createCommand(java.lang.String name)
- Description copied from class:
StatementCommands
- creates the default command object
-
- Specified by:
createCommand in interface StatementParser
- Overrides:
createCommand in class StatementCommands
-
- Parameters:
name - the name of the command
- Returns:
- the created command
generateXML
public void generateXML(java.lang.String file)
throws java.io.IOException
-
- Throws:
java.io.IOException
generateXML
public void generateXML(java.io.File file)
throws java.io.IOException
-
- Throws:
java.io.IOException
getScriptingParserFromXmlURL
public static ScriptingCommands getScriptingParserFromXmlURL()
serializeToFile
public void serializeToFile(java.lang.String file)
throws java.io.FileNotFoundException,
java.io.IOException
-
- Throws:
java.io.FileNotFoundException
java.io.IOException
serializeToFile
public void serializeToFile(java.io.File file)
throws java.io.FileNotFoundException,
java.io.IOException
-
- Throws:
java.io.FileNotFoundException
java.io.IOException
readSerializedObject
public ScriptingCommands readSerializedObject()
throws java.io.FileNotFoundException,
java.io.IOException,
java.lang.ClassNotFoundException
-
- Throws:
java.io.FileNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
readSerializedObject
public ScriptingCommands readSerializedObject(java.net.URL url)
throws java.io.FileNotFoundException,
java.io.IOException,
java.lang.ClassNotFoundException
-
- Throws:
java.io.FileNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
readSerializedObject
public ScriptingCommands readSerializedObject(java.io.File file)
throws java.io.FileNotFoundException,
java.io.IOException,
java.lang.ClassNotFoundException
-
- Throws:
java.io.FileNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
readSerializedObject
public ScriptingCommands readSerializedObject(java.io.InputStream stream)
throws java.io.FileNotFoundException,
java.io.IOException,
java.lang.ClassNotFoundException
-
- Throws:
java.io.FileNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
setShowUI
public void setShowUI(boolean show)
canShowUI
public boolean canShowUI()
setClosePairs
public void setClosePairs(boolean bClose)
getClosePairs
public boolean getClosePairs()
Skip navigation links
Copyright © 2001, 2012, Oracle. All rights reserved.