org.xpcards.views
Class AbstractEditor

java.lang.Object
  extended byorg.xpcards.views.AbstractEditor
All Implemented Interfaces:
IEditPaneViewElement
Direct Known Subclasses:
StoryEditor

public abstract class AbstractEditor
extends java.lang.Object
implements IEditPaneViewElement

Author:
Mikhail Galyutin

Constructor Summary
AbstractEditor(EditPaneView parent)
           
 
Method Summary
abstract  void createControl(org.eclipse.swt.widgets.Composite parent)
           
 void doClose()
          have to call remove(self) on corresponded EditPane instance
 org.eclipse.swt.widgets.Control getControl()
           
 org.eclipse.swt.graphics.Image getDisabledImage()
           
 java.lang.String getDisplayName()
           
 org.eclipse.swt.graphics.Image getImage()
           
abstract  ModelElement getModelElement()
           
 java.lang.String getToolTipText()
           
abstract  boolean isModified()
           
 void setControl(org.eclipse.swt.widgets.Control control)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractEditor

public AbstractEditor(EditPaneView parent)
Method Detail

createControl

public abstract void createControl(org.eclipse.swt.widgets.Composite parent)
Specified by:
createControl in interface IEditPaneViewElement
See Also:
IEditPaneViewElement.createControl(org.eclipse.swt.widgets.Composite)

getControl

public org.eclipse.swt.widgets.Control getControl()
Specified by:
getControl in interface IEditPaneViewElement
See Also:
IEditPaneViewElement.getControl()

setControl

public void setControl(org.eclipse.swt.widgets.Control control)
Parameters:
control -

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in interface IEditPaneViewElement
See Also:
IEditPaneViewElement.getDisplayName()

getImage

public org.eclipse.swt.graphics.Image getImage()
Specified by:
getImage in interface IEditPaneViewElement
See Also:
IEditPaneViewElement.getImage()

getDisabledImage

public org.eclipse.swt.graphics.Image getDisabledImage()
Specified by:
getDisabledImage in interface IEditPaneViewElement
See Also:
IEditPaneViewElement.getDisabledImage()

getToolTipText

public java.lang.String getToolTipText()
Specified by:
getToolTipText in interface IEditPaneViewElement
See Also:
IEditPaneViewElement.getToolTipText()

isModified

public abstract boolean isModified()
Specified by:
isModified in interface IEditPaneViewElement
See Also:
IEditPaneViewElement.isModified()

getModelElement

public abstract ModelElement getModelElement()
Specified by:
getModelElement in interface IEditPaneViewElement
See Also:
IEditPaneViewElement.getModelElement()

doClose

public void doClose()
Description copied from interface: IEditPaneViewElement
have to call remove(self) on corresponded EditPane instance

Specified by:
doClose in interface IEditPaneViewElement
See Also:
IEditPaneViewElement.doClose()


Copyright © 2004 Mikhail Galyutin. All Rights Reserved.