Package org.apache.hop.ui.core.metadata
Interface IMetadataEditor<T extends IHopMetadata>
-
- All Known Implementing Classes:
DatabaseMetaEditor,ExecutionDataProfileEditor,ExecutionInfoLocationEditor,HopServerEditor,MetadataEditor,PartitionSchemaEditor,PipelineRunConfigurationEditor,WebServiceEditor,WorkflowRunConfigurationEditor
public interface IMetadataEditor<T extends IHopMetadata>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcreateControl(org.eclipse.swt.widgets.Composite _parent)voiddispose()TgetMetadata()StringgetTitle()Return the title of the editororg.eclipse.swt.graphics.ImagegetTitleImage()Returns the title image of this editorStringgetTitleToolTip()Returns the title tool tip text of this editorbooleanhasChanged()Returns whether the contents of this editor have changed since the last save operation.voidresetChanged()Clear the changed flagvoidsave()Save the editor inputvoidsaveAs(String filename)Save the editor input to file after asking for a filenamevoidsetChanged()Flag the editor as changedbooleansetFocus()voidsetMetadata(T metadata)
-
-
-
Method Detail
-
getMetadata
T getMetadata()
-
setMetadata
void setMetadata(T metadata)
-
getTitle
String getTitle()
Return the title of the editor- Returns:
- The title of this editor
-
getTitleImage
org.eclipse.swt.graphics.Image getTitleImage()
Returns the title image of this editor- Returns:
-
getTitleToolTip
String getTitleToolTip()
Returns the title tool tip text of this editor- Returns:
-
createControl
void createControl(org.eclipse.swt.widgets.Composite _parent)
-
hasChanged
boolean hasChanged()
Returns whether the contents of this editor have changed since the last save operation.- Returns:
-
setChanged
void setChanged()
Flag the editor as changed
-
resetChanged
void resetChanged()
Clear the changed flag
-
save
void save() throws HopException
Save the editor input- Throws:
HopException
-
saveAs
void saveAs(String filename) throws HopException
Save the editor input to file after asking for a filename- Throws:
HopException
-
setFocus
boolean setFocus()
-
dispose
void dispose()
-
-