📄 vijxtadialog.java
字号:
/* * Copyright (c) [2005] [Jeffrey Moore] * * Redistributions in source code form must reproduce the above copyright and * this condition. * * The contents of this file are subject to the Sun Project JXTA License * Version 1.1 (the "License"); you may not use this file except in compliance * with the License. A copy of the License is available at * http://www.jxta.org/jxta_license.html. * *//* * ViJxtaDialog.java * * Created on April 9, 2005, 12:46 PM */package net.jxta.myjxta.plugins.vijxta;import net.jxta.myjxta.MyJXTA;import net.jxta.myjxta.View;import net.jxta.myjxta.plugin.PluginPanel;import net.jxta.myjxta.ui.MyJXTAView;import net.jxta.myjxta.dialog.OneToOneCommandDialog;import net.jxta.myjxta.util.Group;import net.jxta.protocol.PipeAdvertisement;import net.jxta.util.JxtaBiDiPipe;import org.apache.log4j.Level;import org.apache.log4j.Logger;/** * Base dialog for ViJxta * @author Jeff Moore */public class ViJxtaDialog extends OneToOneCommandDialog { public static final String IMFREE_DIALOG_NAME = IMFREE + "VIJXTADialog"; public static String DIALOG_NAME = IMFREE_DIALOG_NAME; private static final Logger LOG = Logger.getLogger(ViJxtaDialog.class); public ViJxtaDialog(Group group, PipeAdvertisement pa, MyJXTA myJxta) { super(group, pa, myJxta); if (LOG.isEnabledFor (Level.INFO)) { LOG.info("new dialog for "+pa.getName ()); } } public PluginPanel getDialogPanel(View p_myJXTAView) { return new ViJxtaDialogPanel(p_myJXTAView, this); } public ViJxtaDialog(Group group, JxtaBiDiPipe pipe, MyJXTA myJxta) { super(group, pipe, myJxta); if (LOG.isEnabledFor (Level.INFO)) { LOG.info("new dialog for "+pipe.getPipeAdvertisement ().getName ()); } }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -