|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.wst.server.ui.editor.ServerEditorSection
An abstract server editor section.
Constructor Summary | |
---|---|
ServerEditorSection()
|
Method Summary | |
---|---|
void |
createSection(Composite parent)
Create the section. |
void |
dispose()
Disposes of the section. |
void |
execute(IUndoableOperation operation)
Executes the given operation and adds it to the operation history with the correct context. |
java.lang.String |
getErrorMessage()
Return the error message for this page. |
IStatus[] |
getSaveStatus()
Returns error or status messages that will be displayed when the server resource is saved. |
Shell |
getShell()
Return the shell of the section. |
void |
init(IEditorSite site,
IEditorInput input)
Initialize the section. |
void |
setErrorMessage(java.lang.String error)
Set an error message for this page. |
void |
setServerEditorPart(ServerEditorPart editor)
Set the editor part that this section belongs to. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ServerEditorSection()
Method Detail |
public void init(IEditorSite site, IEditorInput input)
site
- the editor siteinput
- the editor inputpublic void execute(IUndoableOperation operation)
operation
- an operation ready to be executedpublic void createSection(Composite parent)
parent
- the parent compositepublic Shell getShell()
public java.lang.String getErrorMessage()
public IStatus[] getSaveStatus()
IStatus.OK
if this
server can be saved, otherwise a status object indicating why
it can't bepublic void setServerEditorPart(ServerEditorPart editor)
editor
- the editorpublic void setErrorMessage(java.lang.String error)
error
- java.lang.Stringpublic void dispose()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |