Java Code Examples for org.openide.awt.Actions#SubMenu

The following examples show how to use org.openide.awt.Actions#SubMenu . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: PasteAction.java    From netbeans with Apache License 2.0 4 votes vote down vote up
public @Override JMenuItem getMenuPresenter() {
    return new Actions.SubMenu(this, model(), false);
}
 
Example 2
Source File: PasteAction.java    From netbeans with Apache License 2.0 4 votes vote down vote up
public @Override JMenuItem getPopupPresenter() {
    return new Actions.SubMenu(this, model(), true);
}
 
Example 3
Source File: PasteAction.java    From netbeans with Apache License 2.0 4 votes vote down vote up
public JMenuItem getMenuPresenter() {
    return new Actions.SubMenu(this, model, false);
}
 
Example 4
Source File: PasteAction.java    From netbeans with Apache License 2.0 4 votes vote down vote up
public JMenuItem getPopupPresenter() {
    return new Actions.SubMenu(this, model, true);
}
 
Example 5
Source File: NewAction.java    From netbeans with Apache License 2.0 4 votes vote down vote up
public javax.swing.JMenuItem getMenuPresenter() {
    return new Actions.SubMenu(this, model, false);
}
 
Example 6
Source File: NewAction.java    From netbeans with Apache License 2.0 4 votes vote down vote up
public javax.swing.JMenuItem getPopupPresenter() {
    return new Actions.SubMenu(this, model, true);
}
 
Example 7
Source File: NewAction.java    From netbeans with Apache License 2.0 4 votes vote down vote up
public javax.swing.JMenuItem getMenuPresenter() {
    return new Actions.SubMenu(this, model, false);
}
 
Example 8
Source File: NewAction.java    From netbeans with Apache License 2.0 4 votes vote down vote up
public javax.swing.JMenuItem getPopupPresenter() {
    return new Actions.SubMenu(this, model, true);
}