Example usage for com.intellij.openapi.actionSystem ActionPlaces J2EE_ATTRIBUTES_VIEW_POPUP

List of usage examples for com.intellij.openapi.actionSystem ActionPlaces J2EE_ATTRIBUTES_VIEW_POPUP

Introduction

In this page you can find the example usage for com.intellij.openapi.actionSystem ActionPlaces J2EE_ATTRIBUTES_VIEW_POPUP.

Prototype

String J2EE_ATTRIBUTES_VIEW_POPUP

To view the source code for com.intellij.openapi.actionSystem ActionPlaces J2EE_ATTRIBUTES_VIEW_POPUP.

Click Source Link

Usage

From source file:com.intellij.util.xml.ui.DomCollectionControl.java

License:Apache License

protected void initialize(final DomTableView boundComponent) {
    if (boundComponent == null) {
        myCollectionPanel = new DomTableView(getProject(), getEmptyPaneText(), getHelpId());
    } else {//from   www. java  2s  . c  o m
        myCollectionPanel = boundComponent;
    }
    myCollectionPanel.setToolbarActions(new AddAction(), new EditAction(), new RemoveAction());
    myCollectionPanel.installPopup(ActionPlaces.J2EE_ATTRIBUTES_VIEW_POPUP, createPopupActionGroup());
    myCollectionPanel.initializeTable();
    myCollectionPanel.addCustomDataProvider(this);
    myCollectionPanel.addChangeListener(new DomTableView.ChangeListener() {
        public void changed() {
            reset();
        }
    });
    reset();
}

From source file:com.intellij.util.xml.ui.DomTableView.java

License:Apache License

@Deprecated
protected final void installPopup(final DefaultActionGroup group) {
    installPopup(ActionPlaces.J2EE_ATTRIBUTES_VIEW_POPUP, group);
}