|
|||||||||||
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(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 section. |
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 section. |
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()
Use forms UI based for errors via {@link org.eclipse.ui.forms.IMessageManager}
on the message form instead of this method
public IStatus[] getSaveStatus()
IStatus.OK
if this
server can be saved, otherwise a status object indicating why
it can't beUse forms UI based for errors via {@link org.eclipse.ui.forms.IMessageManager}
on the message form instead of this method
public void setServerEditorPart(ServerEditorPart editor)
editor
- the editorpublic void setErrorMessage(java.lang.String error)
error
- an error messageUse forms UI based for errors via {@link org.eclipse.ui.forms.IMessageManager}
on the message form instead of this method
public void dispose()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |