Modelers

org.topcased.modeler.editor.outline
Interface ICreateChildMenu

All Superinterfaces:
org.eclipse.jface.action.IContributionItem, org.eclipse.jface.action.IContributionManager, org.eclipse.jface.action.IMenuManager
All Known Implementing Classes:
DefaultCreateChildMenu

public interface ICreateChildMenu
extends org.eclipse.jface.action.IMenuManager

This interface is used to defined a contributor for the outline context menu.
See the org.topcased.modeler.outline extension point.

Creation : 24 nov. 2005


Method Summary
 void createMenuContents()
          Creates the actions and puts it in the context menu
 void setMixedEditDomain(MixedEditDomain domain)
          Set the EditDomain to use in the actions
 void setSelectedEObject(EObject object)
          Set the current selected objects
 
Methods inherited from interface org.eclipse.jface.action.IMenuManager
addMenuListener, findMenuUsingPath, findUsingPath, getRemoveAllWhenShown, isEnabled, removeMenuListener, setRemoveAllWhenShown, updateAll
 
Methods inherited from interface org.eclipse.jface.action.IContributionManager
add, add, appendToGroup, appendToGroup, find, getItems, getOverrides, insertAfter, insertAfter, insertBefore, insertBefore, isDirty, isEmpty, markDirty, prependToGroup, prependToGroup, remove, remove, removeAll, update
 
Methods inherited from interface org.eclipse.jface.action.IContributionItem
dispose, fill, fill, fill, fill, getId, isDirty, isDynamic, isGroupMarker, isSeparator, isVisible, saveWidgetState, setParent, setVisible, update, update
 

Method Detail

setMixedEditDomain

void setMixedEditDomain(MixedEditDomain domain)
Set the EditDomain to use in the actions

Parameters:
domain - the edit domain

setSelectedEObject

void setSelectedEObject(EObject object)
Set the current selected objects

Parameters:
object - the current EObject

createMenuContents

void createMenuContents()
Creates the actions and puts it in the context menu


Modelers

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.