aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/service/gui/WindowID.java
blob: d87d7c7fdbf6ec5097cbbc117faff7e34641679b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
 * Jitsi, the OpenSource Java VoIP and Instant Messaging client.
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */
package net.java.sip.communicator.service.gui;

/**
 * The <tt>WindowID</tt> wraps a string which is meant to point to an
 * application dialog, like per example a "Configuration" dialog or
 * "Add contact" dialog.
 *
 * @author Yana Stamcheva
 */
public class WindowID{

    private String dialogName;

    /**
     * Creates a new WindowID.
     * @param dialogName the name of the dialog
     */
    public WindowID(String dialogName){
        this.dialogName = dialogName;
    }

    /**
     * Get the ID.
     *
     * @return the ID
     */
    public String getID(){
        return this.dialogName;
    }
}