|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.wst.server.ui.editor.ServerEditorSection
public abstract class ServerEditorSection
An abstract server editor section.
Constructor Summary | |
---|---|
ServerEditorSection()
|
Method Summary | |
---|---|
void |
createSection(org.eclipse.swt.widgets.Composite parent)
Create the section. |
void |
dispose()
Disposes of the section. |
void |
execute(org.eclipse.core.commands.operations.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. |
org.eclipse.core.runtime.IStatus[] |
getSaveStatus()
Returns error or status messages that will be displayed when the server resource is saved. |
org.eclipse.swt.widgets.Shell |
getShell()
Return the shell of the section. |
void |
init(org.eclipse.ui.IEditorSite site,
org.eclipse.ui.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(org.eclipse.ui.IEditorSite site, org.eclipse.ui.IEditorInput input)
site
- the editor siteinput
- the editor inputpublic void execute(org.eclipse.core.commands.operations.IUndoableOperation operation)
operation
- an operation ready to be executedpublic void createSection(org.eclipse.swt.widgets.Composite parent)
parent
- the parent compositepublic org.eclipse.swt.widgets.Shell getShell()
public java.lang.String getErrorMessage()
public org.eclipse.core.runtime.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
- an error messagepublic void dispose()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |