FileDocCategorySizeDatePackage
AbstractGraphicalLayoutEditor.javaAPI DocAndroid 1.5 API3435Wed May 06 22:41:10 BST 2009com.android.ide.eclipse.editors.layout

AbstractGraphicalLayoutEditor

public abstract class AbstractGraphicalLayoutEditor extends org.eclipse.gef.ui.parts.GraphicalEditorWithPalette implements org.eclipse.ui.IWorkbenchPart, com.android.ide.eclipse.editors.layout.LayoutReloadMonitor.ILayoutReloadListener
Abstract GraphicalLayoutEditor.

Fields Summary
Constructors Summary
Methods Summary
abstract voidactivated()
Responds to a page change that made the Graphical editor page the activated page.

abstract voiddeactivated()
Responds to a page change that made the Graphical editor page the deactivated page

abstract voideditNewFile(com.android.ide.eclipse.editors.resources.configurations.FolderConfiguration configuration)
Sets the UI for the edition of a new file.

param
configuration the configuration of the new file.

abstract org.eclipse.swt.dnd.ClipboardgetClipboard()

public org.eclipse.gef.DefaultEditDomaingetEditDomain()
Returns the edit domain.

This is changed from protected to public so that the outline can use it.

return
the edit domain

        return super.getEditDomain();
    
abstract LayoutEditorgetLayoutEditor()

abstract com.android.ide.eclipse.editors.uimodel.UiDocumentNodegetModel()

public org.eclipse.gef.ui.parts.SelectionSynchronizergetSelectionSynchronizer()
Returns the selection synchronizer object. The synchronizer can be used to sync the selection of 2 or more EditPartViewers.

This is changed from protected to public so that the outline can use it.

return
the synchronizer

        return super.getSelectionSynchronizer();
    
abstract voidonXmlModelChanged()
Callback for XML model changed. Only update/recompute the layout if the editor is visible

abstract voidrecomputeLayout()

abstract voidreloadEditor()
Reloads this editor, by getting the new model from the {@link LayoutEditor}.

abstract voidreloadPalette()

abstract voidselectModel(com.android.ide.eclipse.editors.uimodel.UiElementNode uiNodeModel)
Used by LayoutEditor.UiEditorActions.selectUiNode to select a new UI Node created by {@link ElementCreateCommand#execute()}.

param
uiNodeModel The {@link UiElementNode} to select.