org.openide.util.actions.CookieAction Java Examples

The following examples show how to use org.openide.util.actions.CookieAction. 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: EditActionTest.java    From netbeans with Apache License 2.0 5 votes vote down vote up
/** 
 * Test mode method. 
 */ 
public void testMode() { 
    int expected = CookieAction.MODE_ALL; 
    int result   = instance.mode(); 
     
    assertEquals(expected, result); 
}
 
Example #2
Source File: OpenActionTest.java    From netbeans with Apache License 2.0 5 votes vote down vote up
/** 
 * Test mode method. 
 */ 
public void testMode() { 
    int expected = CookieAction.MODE_ANY; 
    int result   = instance.mode(); 
     
    assertEquals(expected, result); 
}
 
Example #3
Source File: PrintActionTest.java    From netbeans with Apache License 2.0 5 votes vote down vote up
/** 
 * Test mode method. 
 */ 
public void testMode() { 
    int expected = CookieAction.MODE_EXACTLY_ONE; 
    int result   = instance.mode(); 
     
    assertEquals(expected, result); 
}
 
Example #4
Source File: RemoveFilterAction.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
protected int mode() {
    return CookieAction.MODE_ALL;
}
 
Example #5
Source File: MoveFilterUpAction.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
protected int mode() {
    return CookieAction.MODE_EXACTLY_ONE;
}
 
Example #6
Source File: SaveAsAction.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
protected int mode() {
    return CookieAction.MODE_SOME;
}
 
Example #7
Source File: JSMinifyClipboard.java    From minifierbeans with Apache License 2.0 4 votes vote down vote up
@Override
protected final int mode() {
    return CookieAction.MODE_EXACTLY_ONE;
}
 
Example #8
Source File: SelectBytecodesAction.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
protected int mode() {
    return CookieAction.MODE_EXACTLY_ONE;
}
 
Example #9
Source File: DiffGraphAction.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
protected int mode() {
    return CookieAction.MODE_EXACTLY_ONE;
}
 
Example #10
Source File: SaveAsAction.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
protected int mode() {
    return CookieAction.MODE_SOME;
}
 
Example #11
Source File: MoveFilterDownAction.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
protected int mode() {
    return CookieAction.MODE_EXACTLY_ONE;
}
 
Example #12
Source File: MoveFilterUpAction.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
protected int mode() {
    return CookieAction.MODE_EXACTLY_ONE;
}
 
Example #13
Source File: RemoveFilterAction.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
protected int mode() {
    return CookieAction.MODE_ALL;
}
 
Example #14
Source File: RunEGTaskConfiguration.java    From BART with MIT License 4 votes vote down vote up
@Override
protected int mode() {
    //MODE_EXACTLY_ONE
    return CookieAction.MODE_ANY;
}
 
Example #15
Source File: HTMLMinifyClipboard.java    From minifierbeans with Apache License 2.0 4 votes vote down vote up
@Override
protected final int mode() {
    return CookieAction.MODE_EXACTLY_ONE;
}
 
Example #16
Source File: SelectBytecodesAction.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
protected int mode() {
    return CookieAction.MODE_EXACTLY_ONE;
}
 
Example #17
Source File: MoveFilterUpAction.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
protected int mode() {
    return CookieAction.MODE_EXACTLY_ONE;
}
 
Example #18
Source File: MoveFilterDownAction.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
protected int mode() {
    return CookieAction.MODE_EXACTLY_ONE;
}
 
Example #19
Source File: SaveAsAction.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
protected int mode() {
    return CookieAction.MODE_SOME;
}
 
Example #20
Source File: DiffGraphAction.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
protected int mode() {
    return CookieAction.MODE_EXACTLY_ONE;
}
 
Example #21
Source File: SelectBytecodesAction.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
protected int mode() {
    return CookieAction.MODE_EXACTLY_ONE;
}
 
Example #22
Source File: RemoveFilterAction.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
@Override
protected int mode() {
    return CookieAction.MODE_ALL;
}
 
Example #23
Source File: MoveFilterUpAction.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
@Override
protected int mode() {
    return CookieAction.MODE_EXACTLY_ONE;
}
 
Example #24
Source File: MoveFilterDownAction.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
@Override
protected int mode() {
    return CookieAction.MODE_EXACTLY_ONE;
}
 
Example #25
Source File: SaveAsAction.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
protected int mode() {
    return CookieAction.MODE_SOME;
}
 
Example #26
Source File: CloneGraphAction.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
@Override
protected int mode() {
    return CookieAction.MODE_EXACTLY_ONE;
}
 
Example #27
Source File: DiffGraphAction.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
@Override
protected int mode() {
    return CookieAction.MODE_EXACTLY_ONE;
}
 
Example #28
Source File: SelectBytecodesAction.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
@Override
protected int mode() {
    return CookieAction.MODE_EXACTLY_ONE;
}
 
Example #29
Source File: RemoveFilterAction.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
protected int mode() {
    return CookieAction.MODE_ALL;
}
 
Example #30
Source File: MoveFilterUpAction.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
protected int mode() {
    return CookieAction.MODE_EXACTLY_ONE;
}