Revision 1822 branches/gvSIG_CAD_Layout_version/applications/appgvSIG/src/com/iver/cit/gvsig/gui/layout/Popupmenu.java
Popupmenu.java | ||
---|---|---|
48 | 48 |
import java.awt.Point; |
49 | 49 |
import java.awt.event.ActionEvent; |
50 | 50 |
import java.awt.event.ActionListener; |
51 |
import java.io.IOException; |
|
51 | 52 |
|
52 | 53 |
import javax.swing.JMenuItem; |
53 | 54 |
import javax.swing.JPopupMenu; |
54 | 55 |
|
55 | 56 |
import com.iver.andami.PluginServices; |
57 |
import com.iver.cit.gvsig.fmap.drivers.DriverIOException; |
|
56 | 58 |
|
57 | 59 |
|
58 | 60 |
/** |
... | ... | |
120 | 122 |
}); |
121 | 123 |
m_behind.addActionListener(new ActionListener() { |
122 | 124 |
public void actionPerformed(ActionEvent e) { |
123 |
m_flg.behind(); |
|
125 |
try { |
|
126 |
m_flg.behind(); |
|
127 |
} catch (DriverIOException e1) { |
|
128 |
e1.printStackTrace(); |
|
129 |
} catch (IOException e1) { |
|
130 |
e1.printStackTrace(); |
|
131 |
} |
|
124 | 132 |
} |
125 | 133 |
}); |
126 | 134 |
m_before.addActionListener(new ActionListener() { |
127 | 135 |
public void actionPerformed(ActionEvent e) { |
128 |
m_flg.before(); |
|
136 |
try { |
|
137 |
m_flg.before(); |
|
138 |
} catch (DriverIOException e1) { |
|
139 |
e1.printStackTrace(); |
|
140 |
} catch (IOException e1) { |
|
141 |
e1.printStackTrace(); |
|
142 |
} |
|
129 | 143 |
} |
130 | 144 |
}); |
131 | 145 |
m_position.addActionListener(new ActionListener() { |
... | ... | |
135 | 149 |
}); |
136 | 150 |
m_simplify.addActionListener(new ActionListener() { |
137 | 151 |
public void actionPerformed(ActionEvent e) { |
138 |
m_flg.simplify(); |
|
152 |
try { |
|
153 |
m_flg.simplify(); |
|
154 |
} catch (DriverIOException e1) { |
|
155 |
e1.printStackTrace(); |
|
156 |
} catch (IOException e1) { |
|
157 |
e1.printStackTrace(); |
|
158 |
} |
|
139 | 159 |
} |
140 | 160 |
}); |
141 | 161 |
m_refresh.addActionListener(new ActionListener() { |
Also available in: Unified diff