|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectMultiPageEditorPart
com.triadsoft.properties.editors.PropertiesEditor
public class PropertiesEditor
Editor que muestra la grilla de datos de las propiedades, viendo en la primera columna las claves y en las demás los distintos idiomas
Field Summary | |
---|---|
protected static java.lang.String |
KEY_COLUMN_ID
|
Constructor Summary | |
---|---|
PropertiesEditor()
Creates a multi-page editor example. |
Method Summary | |
---|---|
protected void |
createPages()
Creates the pages of the multi-page editor. |
void |
dispose()
The MultiPageEditorPart implementation of this
IWorkbenchPart method disposes all nested editors. |
void |
doSave(IProgressMonitor monitor)
Saves the multi-page editor's document. |
void |
doSaveAs()
Saves the multi-page editor's document as another file. |
ResourceList |
getResource()
|
void |
gotoMarker(IMarker marker)
|
protected void |
handlePropertyChange(int propertyId)
|
void |
init(IEditorSite site,
IEditorInput editorInput)
The MultiPageEditorExample implementation of this method
checks that the input is an instance of IFileEditorInput . |
boolean |
isDirty()
|
boolean |
isSaveAsAllowed()
|
void |
keyAdded(java.lang.String key,
java.util.Locale locale)
|
protected void |
pageChange(int newPageIndex)
Calculates the contents of page 2 when the it is activated. |
void |
resourceChanged(IResourceChangeEvent event)
Eschucha los cambios de los recursos en el workspace, por el momento no aplica |
void |
setFocus()
|
protected void |
tableChanged()
|
void |
valueChanged(java.lang.String key,
java.lang.String value,
java.util.Locale locale)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String KEY_COLUMN_ID
Constructor Detail |
---|
public PropertiesEditor()
Method Detail |
---|
public ResourceList getResource()
protected void createPages()
protected void tableChanged()
protected void handlePropertyChange(int propertyId)
public boolean isDirty()
public void dispose()
MultiPageEditorPart
implementation of this
IWorkbenchPart
method disposes all nested editors.
Subclasses may extend.
public void doSave(IProgressMonitor monitor)
public void doSaveAs()
public void gotoMarker(IMarker marker)
public void setFocus()
public void init(IEditorSite site, IEditorInput editorInput) throws PartInitException
MultiPageEditorExample
implementation of this method
checks that the input is an instance of IFileEditorInput
.
PartInitException
public boolean isSaveAsAllowed()
protected void pageChange(int newPageIndex)
public void resourceChanged(IResourceChangeEvent event)
public void valueChanged(java.lang.String key, java.lang.String value, java.util.Locale locale)
valueChanged
in interface ILocalizedPropertyFileListener
public void keyAdded(java.lang.String key, java.util.Locale locale)
keyAdded
in interface ILocalizedPropertyFileListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |